lkml.org 
[lkml]   [2015]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/16] MIPS: advertise MSA support via HWCAP when present
    Date
    If MSA is supported by both the hardware & the kernel then advertise
    that support to userland via the AT_HWCAP aux vector.

    Signed-off-by: Paul Burton <paul.burton@imgtec.com>
    ---

    arch/mips/kernel/cpu-probe.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
    index 168a5d3..15e9efc 100644
    --- a/arch/mips/kernel/cpu-probe.c
    +++ b/arch/mips/kernel/cpu-probe.c
    @@ -1496,6 +1496,7 @@ void cpu_probe(void)
    c->msa_id = cpu_get_msa_id();
    WARN(c->msa_id & MSA_IR_WRPF,
    "Vector register partitioning unimplemented!");
    + elf_hwcap |= HWCAP_MIPS_MSA;
    }

    cpu_probe_vmbits(c);
    --
    2.4.4


    \
     
     \ /
      Last update: 2015-07-10 17:21    [W:2.266 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site