lkml.org 
[lkml]   [2018]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 146/410] alpha: fix reboot on Avanti platform
    3.16.57-rc1 review patch.  If anyone has any objections, please let me know.

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

    From: Mikulas Patocka <mpatocka@redhat.com>

    commit 55fc633c41a08ce9244ff5f528f420b16b1e04d6 upstream.

    We need to define NEED_SRM_SAVE_RESTORE on the Avanti, otherwise we get
    machine check exception when attempting to reboot the machine.

    Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
    Signed-off-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    arch/alpha/kernel/pci_impl.h | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/arch/alpha/kernel/pci_impl.h
    +++ b/arch/alpha/kernel/pci_impl.h
    @@ -143,7 +143,8 @@ struct pci_iommu_arena
    };

    #if defined(CONFIG_ALPHA_SRM) && \
    - (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA))
    + (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA) || \
    + defined(CONFIG_ALPHA_AVANTI))
    # define NEED_SRM_SAVE_RESTORE
    #else
    # undef NEED_SRM_SAVE_RESTORE
    \
     
     \ /
      Last update: 2018-06-07 16:59    [W:4.301 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site