Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2981904imu; Mon, 19 Nov 2018 08:57:40 -0800 (PST) X-Google-Smtp-Source: AJdET5fkEDxD8J9zcoTWTTP3Sld+ugIPgdM2tic7E6pSlHBqwiNEnz6a7Ccejjzg+XAqTYFIHAKn X-Received: by 2002:a17:902:4025:: with SMTP id b34-v6mr23367461pld.318.1542646660546; Mon, 19 Nov 2018 08:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542646660; cv=none; d=google.com; s=arc-20160816; b=t34XYAsY3PKugExHuL6CqmKV82n6QFo+FqIX1PxoX2im0lBkjWIf3+lWsKFTYvV+Wp tusyjgY9yyOcSQHPvngoqjhIH8pvCH03gKeEqlgNxP+bsHiM0VUOu1dI+nYGO2ksOPCS Rde43aPkh7Hyt6xwysnlDkcgh9+FSEtVCW0sZjNCS1Q1PxCulBsvUh7S64HMaA4Anyw1 FLXqhhRRpeS2iZqQQzm7yoeYCZZ+BitYtWXepb3jFOSbqIkgwGzH38uDZk9ddRRVSPTc l+OTdi+7CzLY23gV4lZyqoRGVVusCvhhCkk7KBBr8QC0VJJK0efcnTpqMB/4oPAbEExn 8VSQ== 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=yzyTBFimnrCBZMXs6ovEEEmk+heAKnLx5DWIfJYOysI=; b=CxIr76pvxTXcQdcqZywjb1PZbvGRjfjYTyzil9ZzYa9mT29NW/KDUJyVUpe5Hm9/8h rifA6pSIHtZhxnEaxNIbjolec8h3xiPWk7i6D9Ao0x9kEk9rg//Ss2IN6JQccjladFR1 /Cu7BpvydkkkZpBDjt+56wSiucDfRtluWHIvDQehHYbxSPxv+UVNSpHLRl44w+laoxge K0pqAEhUMNqwzgfdPS+6mtS6YzCkYgDs1p34Cg07Gz77i8LzZl4zEFWw3Rlht1W/Vwxi rfdoVABKt3tZ46ofp2KAPWtIBBiXEEFuX7KFecWYi4eUumuhMyZtJk+iqx8anQX20Jgy dkkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=etWjIHI9; 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 g12si30935670pgd.567.2018.11.19.08.57.25; Mon, 19 Nov 2018 08:57:40 -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=etWjIHI9; 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 S2404091AbeKTDTp (ORCPT + 99 others); Mon, 19 Nov 2018 22:19:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:58984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390607AbeKTDTo (ORCPT ); Mon, 19 Nov 2018 22:19:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 EA693208E3; Mon, 19 Nov 2018 16:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542646530; bh=6glhkUC3uBac3eA69A7euusnqTc9Ohhj/LHaMKs23wI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=etWjIHI9B9txpQg4yIBuRzqiwcyhXSSINN4MCIoRdLqnlpTKWebnrMGhEO2h3vfcw 9u3LdAAPj7zzp5Kzrbk3YxJpBlAdagdldtSNEWmnts9bwIDJ7Vyp5aKP7MlO6cjg5G 5uwH7eGqX0IvfNnaEjCtRS9yGkQngAi0EMXGJko0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller , Sasha Levin Subject: [PATCH 4.9 28/83] parisc: Fix exported address of os_hpmc handler Date: Mon, 19 Nov 2018 17:28:54 +0100 Message-Id: <20181119162618.055170007@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119162612.046511542@linuxfoundation.org> References: <20181119162612.046511542@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.9-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 99a3ae51d557d8e38a7aece65678a31f9db215ee ] 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: Sasha Levin --- arch/parisc/kernel/hpmc.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S index 407b3aa5aa07..e88f4e7f39f3 100644 --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -84,7 +84,7 @@ END(hpmc_pim_data) .import intr_save, code .align 16 -ENTRY_CFI(os_hpmc) +ENTRY(os_hpmc) .os_hpmc: /* @@ -301,7 +301,6 @@ os_hpmc_6: b . nop .align 16 /* make function length multiple of 16 bytes */ -ENDPROC_CFI(os_hpmc) .os_hpmc_end: -- 2.17.1