Received: by 10.192.165.156 with SMTP id m28csp296793imm; Tue, 17 Apr 2018 10:15:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Up4LB8YFeFoq4r7Cl+N9XDIomjGe+kLZvvLTp4gmmofvP4vDyKmChTQDe8nQ6RWWufHcb X-Received: by 2002:a17:902:6b86:: with SMTP id p6-v6mr2889310plk.32.1523985342446; Tue, 17 Apr 2018 10:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523985342; cv=none; d=google.com; s=arc-20160816; b=sh+t31+vrGI3qsP2jnSuoPq07yQjswI8f2rGTQ3urQ5Sd4BxPZ1t0UJOWTCWmN9lKk qo6Wf5TMAqnuri6nm3TIrqYcgqVI3pV+6v5zpdcECfPaGRGCkh987GP3Ag5gi1nAOKJ+ B3dUvRb5GP2K/IrHzb/BTckG1ZLdwrTOCivGrkC4sesEDZ6fMOftalRx9QdGhdhIGhvI 1WtsyC2Nc3msAEltK48Qyybmw65feRDIuvQZVLH4nXl88eydlOQ6G41H4ujSr6iM6J0c HRCdlspF0P1+2O4ZMxPeW0Pm1Qb3z/UNHT2GWkqeD/xqOS9gUZm1mqbF45crpCOMN0X3 3mUQ== 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=6+rU9AIL2K8+rMFPasm0L62BtbwHsxp6YkDMk9gjuVM=; b=M4waJa5a6lhfpvcnvhwVV2cQjQ/V2qaD/yxPofyjrBEBT2wHHAfK2S5Uu1BjAqVox1 ZKjQcnYfoP4TnS59vX4m6TElJ/n6ApPdIxKXqPbXf+ZlZ7FNh92ZfzTLZNRiJ89mg5nD LzM0+nviHVku2ahK8H9384SUR2/0vkA7YaccMTl0ioyjZ5Z2nLmTfBH0eb05t9yfkzmQ cY17vSE8wyRIK+OrLQNGIp388tgYAy/x93kroRAUhncOhGBa46SdP6XTOFIxyDJ3RojC RuYaFQPK7siAsxwBLop1Ch2/VMNjZ4xrspL4zVp+g6oxP9xpsF3nAqdFUmEJoHefPcSD ct/g== 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 e188si13292677pfe.103.2018.04.17.10.15.28; Tue, 17 Apr 2018 10:15:42 -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 S1753463AbeDQRMe (ORCPT + 99 others); Tue, 17 Apr 2018 13:12:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60068 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829AbeDQQAS (ORCPT ); Tue, 17 Apr 2018 12:00:18 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A20C6D6A; Tue, 17 Apr 2018 16:00:17 +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.16 16/68] parisc: Fix HPMC handler by increasing size to multiple of 16 bytes Date: Tue, 17 Apr 2018 17:57:29 +0200 Message-Id: <20180417155749.993691531@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155749.341779147@linuxfoundation.org> References: <20180417155749.341779147@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.16-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