Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3442174imu; Sun, 11 Nov 2018 15:11:23 -0800 (PST) X-Google-Smtp-Source: AJdET5f9gGOv9QlbuwCvPRnENPIJKYMcdzkpxJo9pVcSLg1TqKCtAdWfwceJwd8ROKG/ayHuCPhr X-Received: by 2002:a17:902:be07:: with SMTP id r7-v6mr17594641pls.137.1541977883651; Sun, 11 Nov 2018 15:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977883; cv=none; d=google.com; s=arc-20160816; b=ABu3HsbH5JXi9wVZp388Yodh1WyTev5/BjuYG6u7j7rOmfHUORJtp/pGg4VgrNnlkU ZTCQdjlsWX14jKTeZjYpRHU11ZDOmTyrl03MJnpdoElMIG3Kx7UKZP11m3qiwHN3AgRh npje6tNdmPeL0qh3yF/RAi4MX4VMu550HJi2C35aHe5Ox2vR1DFy0nEebWpL3l+gDpc/ AfTb9IYcaOsYVsS9IHw0gvqzwMm03sPA2Mxtz5CYn5juT+MXIBiuXvr5ZAMtTVXaW2fZ ntnVVYK8lSrmymYxSe6Qo2ilJAHlQ5VY6wudCdN5o/FK4nv+9AGzpgI42ian6wD3OwOk dWdQ== 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=Vjx+dyEAAhdtWuX5yDSXv9pTKbsTLprMXbtMQSFNqTA=; b=DnDAhuXC+vVApQM4o0cW7zKNa0oLXLTMzz8Pn8Otn4IeZu7Fq+ns4ohsXodOsiSMC+ f9dAXVmmxdFEG/difcuhxMp+H/PLycPCeCad15TCWaluUxT3IAKUj1FCVtOykwazudml MFydbMGtPhntmDZ6f8PDC9gqcSgbwilJ1QlX/hYS4KvUOp1xTFe8NP3wzNyRDJJkURPD oDirbtVwiZj8l8ONtOXDSmwkMWAsOea5P4Pcfc6n3cqv6zCM3+v2zy7uAGxZhowZq1zb OncvIJkf4FNl7GaG1K/LX6Ha2luCwhPPG4WzmW/Hqa5hgX3VmsOGXc2ltfAS8hnAykbD zcMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="jn/cZg7V"; 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 g137-v6si18065537pfb.34.2018.11.11.15.11.08; Sun, 11 Nov 2018 15:11:23 -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="jn/cZg7V"; 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 S2390267AbeKLJA4 (ORCPT + 99 others); Mon, 12 Nov 2018 04:00:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:50552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390149AbeKLIV6 (ORCPT ); Mon, 12 Nov 2018 03:21:58 -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 78F6E208A3; Sun, 11 Nov 2018 22:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975521; bh=xaeX8yJ6ZevKhBvQmhi0mnZ9D23dK96h4Q3iGWNszlI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jn/cZg7VBt8Gk6Ed7HE3O1vF3olB9RCaQzVbUzu8aygdzo+2PqVJkhTJbowuVmijb MG8eiIqoQjWsRBGUc7TjauQvdLrqZ/eu1cX9/WXe3JDqI4OS2kV/yzgvHmk7ukR4Q5 ZBznQjQWtFDetEnuF4wtyRzK2kIdis5PTq3bRlMc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller Subject: [PATCH 4.14 013/222] parisc: Fix exported address of os_hpmc handler Date: Sun, 11 Nov 2018 14:21:50 -0800 Message-Id: <20181111221649.219164509@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@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.14-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: