Received: by 10.192.165.156 with SMTP id m28csp264203imm; Tue, 17 Apr 2018 09:45:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/igTwllx1nU9G0+aDM1fN5h1hWLctx5G6nmb+uIeqlp1PW8gaIFNEi2Gn7604ry00r2qDq X-Received: by 10.99.121.76 with SMTP id u73mr2398118pgc.380.1523983545601; Tue, 17 Apr 2018 09:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523983545; cv=none; d=google.com; s=arc-20160816; b=lEAwD3E3LCFsjq4Nz4olWjX9ycHTR7qsaLtFkgEN6CrSCRvtUOOkywQykU+oxRfsBT eJuI5ggU3xfZBnFgc9jiHJTvS3cb3vytLSJ21L2ikNdunciIUOpmgaul+j/La5TU5qxV tqyD3K994azX7fcCIHfR/wrQcpCQXFkKGsYgR5mzocja7fRJNw8PGESDHvxrwN5wqvWU fEBPt9EAZQCxOv88cpYbNZdcQBMJYWPBa+1EkxfFgmuHhl5BoSZivBIMkfZ6GZh5uNdX 2XoTl2bBZt1KfDYo5+zJexnw1IK6LtX5Io80aA/LJqBehFUYWXnxJJVW3JsKxsTWTgbZ +kZw== 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=GuPoM0Ex7VJOMHXlZvhTVOFU9VMwUjnynsKL5DI8VM0=; b=04sV79SozaJaKr8nGZleygxw5hNFqGHT8OW8yNWJl1eGjQ9tiA8Wr6SHjcy1vk/p8T FVSs+SwrCy73UAnPMj2Sblq+/3mL3iJRBFe4IHfsKdegvGvVjveV37RUNv3nER7E0vVh 0Q7nHyWrJWu+rESCG5LmWeeVlb2S9k9kFERKP2tzSrLfoQ7VRObsB7D6+gZS5er1QpuY ZNWtU6NRa5oKX8p4WqfwJ+V1DFC2b0thlPVVQAMFkZ7q6yeMCw+RkeFKUkX6Gu/Qz45R YmD5WJsqYKCFiD2enXyNHo61Z+qyiFFaO1khReml02ngzP2VYDmcD/QTssyAmvO05Y1Q 1scQ== 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 j21si13220311pfe.132.2018.04.17.09.45.31; Tue, 17 Apr 2018 09:45:45 -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 S1754859AbeDQQFx (ORCPT + 99 others); Tue, 17 Apr 2018 12:05:53 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34646 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754830AbeDQQFt (ORCPT ); Tue, 17 Apr 2018 12:05:49 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9077AE38; Tue, 17 Apr 2018 16:05:48 +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.14 11/49] parisc: Fix HPMC handler by increasing size to multiple of 16 bytes Date: Tue, 17 Apr 2018 17:58:50 +0200 Message-Id: <20180417155715.545576763@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155715.032245882@linuxfoundation.org> References: <20180417155715.032245882@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.14-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