Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3489635imu; Sun, 11 Nov 2018 16:15:50 -0800 (PST) X-Google-Smtp-Source: AJdET5cvbS/lNec3x8ZiqoLBebhMc0fUDwUu9uU0G6SdMq+OfcZbXhopIngrIACAm3TtPvpKaEBS X-Received: by 2002:a63:9041:: with SMTP id a62mr15303762pge.163.1541981750419; Sun, 11 Nov 2018 16:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541981750; cv=none; d=google.com; s=arc-20160816; b=IqtBK4K42nJGH6IjTwoqRdY5wxHehVh1WrMV1NKiLevLBcCneK3JcPZGNAP5SDV/6E Ws+471y6UbWa4KsMusylxxKAqx7ftllwHjOMMx3qpDdA61TpgQyd9QlOQJ+1MyuogYPw BZlPaANA1XjpFxK7hn6WfRJ/Dr8sVQ0NBnj3hlBZM0d7UlBLfq1miEWx0k2ueCHRqYTW eJ/ZeIe+9dM3uj3M2PLDvlCtEzPR+LeO34p6YuFIIC/yepXeTRHltc/cuWAtKCaxyN1L 6gibesOeAlMz/zJu1rQfrSoDz3OD1usdMWjJg7HF3JdrdgC3JE42zkYPKrmsjAQLplCV u+jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tD/kU5/O2Ja0acALyn/3FYo8yW5ebspVwzsAKyFYp8Y=; b=UvLsSNpZGywb+cHRXmIrTmI6Iifb6GwLB1mn7RDfjLJ1Ghf9EZsSTvASh5MHvVTg4z 3HpCtXGcGW1PbOhWid7iJm+oeDvoQvsAp04nCtVGa6nGY0SB2wsUIxqUlpzYOTeBYT/E esaSdMfu2mMeMSaKoY8bgnUm4TIVaEosrasmDT33U1hukeV8b9dEVDR6duw4kgfGZxa3 I2o7hoO4dXioOAA53bYl1K4VWaNf5f51J6jKeWFTfbQ4IlfLZiDjXLS2AmvK4D9uYaQm YQZhvKQ8iQa2rMP/rG22apcq64S4uDPlhfkZLBf9YDPpmyFC3IFfP4/6rKGAcjKlbqOc CpmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="X/vvUnv4"; 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 o1-v6si15210198plk.304.2018.11.11.16.15.35; Sun, 11 Nov 2018 16:15:50 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b="X/vvUnv4"; 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 S1730905AbeKLKFe (ORCPT + 99 others); Mon, 12 Nov 2018 05:05:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:59922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730158AbeKLIRK (ORCPT ); Mon, 12 Nov 2018 03:17:10 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 46FD021582; Sun, 11 Nov 2018 22:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975235; bh=tbcq+0Jv4FoLSmYXhIXksccB4rFX/n1m083RcRZXPEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X/vvUnv48PEftTlnO2wv7rHAxWiCS1bloYRTQCEn4qj6KWnFw+QYv49HLOf8h/E/S Ve74NJxj1AUk7iigsnJXqeH/5SGPlAQlanzt4urrc3U1W0xPLjfytzPY6Ii9ERZZL3 ZsAyI+hF41tYyYfA+51D5H4D3TVAE0qCSjdB9STM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller Subject: [PATCH 4.19 033/361] parisc: Fix exported address of os_hpmc handler Date: Sun, 11 Nov 2018 14:16:20 -0800 Message-Id: <20181111221624.350148118@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Helge Deller commit 99a3ae51d557d8e38a7aece65678a31f9db215ee upstream. In the C-code we need to put the physical address of the hpmc handler in the interrupt vector table (IVA) in order to get HPMCs working. Since on parisc64 function pointers are indirect (in fact they are function descriptors) we instead export the address as variable and not as function. This reverts a small part of commit f39cce654f9a ("parisc: Add cfi_startproc and cfi_endproc to assembly code"). Signed-off-by: Helge Deller Cc: [4.9+] Signed-off-by: Greg Kroah-Hartman --- arch/parisc/kernel/hpmc.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -85,7 +85,7 @@ END(hpmc_pim_data) .import intr_save, code .align 16 -ENTRY_CFI(os_hpmc) +ENTRY(os_hpmc) .os_hpmc: /* @@ -302,7 +302,6 @@ os_hpmc_6: b . nop .align 16 /* make function length multiple of 16 bytes */ -ENDPROC_CFI(os_hpmc) .os_hpmc_end: