lkml.org 
[lkml]   [2018]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 042/496] powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
    Date
    4.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Michael Ellerman <mpe@ellerman.id.au>

    commit c4bc36628d7f8b664657d8bd6ad1c44c177880b7 upstream.

    Add some additional values which have been defined for the
    H_GET_CPU_CHARACTERISTICS hypercall.

    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    arch/powerpc/include/asm/hvcall.h | 3 +++
    1 file changed, 3 insertions(+)

    --- a/arch/powerpc/include/asm/hvcall.h
    +++ b/arch/powerpc/include/asm/hvcall.h
    @@ -337,6 +337,9 @@
    #define H_CPU_CHAR_L1D_FLUSH_ORI30 (1ull << 61) // IBM bit 2
    #define H_CPU_CHAR_L1D_FLUSH_TRIG2 (1ull << 60) // IBM bit 3
    #define H_CPU_CHAR_L1D_THREAD_PRIV (1ull << 59) // IBM bit 4
    +#define H_CPU_CHAR_BRANCH_HINTS_HONORED (1ull << 58) // IBM bit 5
    +#define H_CPU_CHAR_THREAD_RECONFIG_CTRL (1ull << 57) // IBM bit 6
    +#define H_CPU_CHAR_COUNT_CACHE_DISABLED (1ull << 56) // IBM bit 7

    #define H_CPU_BEHAV_FAVOUR_SECURITY (1ull << 63) // IBM bit 0
    #define H_CPU_BEHAV_L1D_FLUSH_PR (1ull << 62) // IBM bit 1

    \
     
     \ /
      Last update: 2018-05-28 12:43    [W:5.058 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site