lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[038/151] x86: SGI UV: Fix BAU initialization
    2.6.32-stable review patch.  If anyone has any objections, please let us know.

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

    From: Cliff Wickman <cpw@sgi.com>

    commit e38e2af1c57c3eb5211331a5b4fcaae0c4a2a918 upstream.

    A memory mapped register that affects the SGI UV Broadcast
    Assist Unit's interrupt handling may sometimes be unintialized.

    Remove the condition on its initialization, as that condition
    can be randomly satisfied by a hardware reset.

    Signed-off-by: Cliff Wickman <cpw@sgi.com>
    LKML-Reference: <E1NBGB9-0005nU-Dp@eag09.americas.sgi.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/kernel/tlb_uv.c | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    --- a/arch/x86/kernel/tlb_uv.c
    +++ b/arch/x86/kernel/tlb_uv.c
    @@ -817,10 +817,8 @@ static int __init uv_init_blade(int blad
    */
    apicid = blade_to_first_apicid(blade);
    pa = uv_read_global_mmr64(pnode, UVH_BAU_DATA_CONFIG);
    - if ((pa & 0xff) != UV_BAU_MESSAGE) {
    - uv_write_global_mmr64(pnode, UVH_BAU_DATA_CONFIG,
    + uv_write_global_mmr64(pnode, UVH_BAU_DATA_CONFIG,
    ((apicid << 32) | UV_BAU_MESSAGE));
    - }
    return 0;
    }




    \
     
     \ /
      Last update: 2009-12-17 05:43    [W:0.025 / U:30.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site