Received: by 10.192.165.156 with SMTP id m28csp274397imm; Tue, 17 Apr 2018 09:56:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49lEvIjENss6P+GyeriSUXHj5JOLBxQPQ6Hm9YvOR9o7DV9uUEsyZ/TCxc6c4cR4PrTjasX X-Received: by 2002:a17:902:102c:: with SMTP id b41-v6mr2810384pla.39.1523984207641; Tue, 17 Apr 2018 09:56:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523984207; cv=none; d=google.com; s=arc-20160816; b=yugrvolPuKO5pywZ1ZCjMcbYnC5FvuLv4i7/ZPaHjL4rA5mv6PnJZKVikkrRR3Ofov fPYEsACA5zBD94izHRkYCwOWxcU/FET+iP+G2slEnfz51BhL5g1BbrP6Wohrurlc+L7q oC6FCb28G2VIF16uy18kk8CHHgClTaL+jPSBhfbbMXu8GxHYmgh6rOSf3xHH4/OHRW+M bcTZpQgck72kzQL7/jYy55f1QF6G1N0cxVtjQ+ToT4wK1mbXXj9+4cbFniTS4L5k1bRu bFknZC8wvleSvr2bsIui/ZjIWTV1U1tupTszkDq6gdeJlpaWHUXay+zL6N/6WYB8HdLh 5qgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3kMZ/1Z4OVhaZRVpCvhR1X7myHCM1Ei0UDNuoRaZDIc=; b=CKHEKs/qTloGCiCnTir0Pg0EozV50tGglHGYCTmTAXO/3lnc4p2TDCvjKM0aJ0sC/F gkK9RLZQo/c27QdeP5d9tH1sv4WAcwM58mWgmsbQ9T5youC7R6f9y3sViMAUHQbxOVCC +S3gPOzdYVPPF2p63+j+dYvxdSb6CbAmZ1MvDcBrroBhSDiG5DBOpMZQNtfM31DhnPuG l7QVm4RQ/U7wq0MTabkTB0BZhP96+EEWFpsjhyn7zN1QVao8RWJGHahBlmtcXvKCa5vu g5vr9ne7UpMNqtG5/P7rdaqiTxRFU+kBoRkQXRjXQ0ITnfDe7ysGRJcSnbE2SwGkAcbw qeIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si12120513pgu.563.2018.04.17.09.56.33; Tue, 17 Apr 2018 09:56:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754344AbeDQQDd (ORCPT + 99 others); Tue, 17 Apr 2018 12:03:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:32962 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754297AbeDQQDb (ORCPT ); Tue, 17 Apr 2018 12:03:31 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D53EFF06; Tue, 17 Apr 2018 16:03:30 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller Subject: [PATCH 4.15 16/53] parisc: Fix HPMC handler by increasing size to multiple of 16 bytes Date: Tue, 17 Apr 2018 17:58:41 +0200 Message-Id: <20180417155723.911973594@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155723.091120060@linuxfoundation.org> References: <20180417155723.091120060@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Helge Deller commit d5654e156bc4d68a87bbaa6d7e020baceddf6e68 upstream. Make sure that the HPMC (High Priority Machine Check) handler is 16-byte aligned and that it's length in the IVT is a multiple of 16 bytes. Otherwise PDC may decide not to call the HPMC crash handler. Signed-off-by: Helge Deller Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/parisc/kernel/hpmc.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -84,6 +84,7 @@ END(hpmc_pim_data) .text .import intr_save, code + .align 16 ENTRY_CFI(os_hpmc) .os_hpmc: @@ -300,12 +301,15 @@ os_hpmc_6: b . nop + .align 16 /* make function length multiple of 16 bytes */ ENDPROC_CFI(os_hpmc) .os_hpmc_end: __INITRODATA +.globl os_hpmc_size .align 4 - .export os_hpmc_size + .type os_hpmc_size, @object + .size os_hpmc_size, 4 os_hpmc_size: .word .os_hpmc_end-.os_hpmc