From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DFC0C47253 for ; Thu, 30 Apr 2020 14:49:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C3912074A for ; Thu, 30 Apr 2020 14:49:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DGkgyiQ0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726574AbgD3Osz (ORCPT ); Thu, 30 Apr 2020 10:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726381AbgD3Osv (ORCPT ); Thu, 30 Apr 2020 10:48:51 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB6EC035494 for ; Thu, 30 Apr 2020 07:48:51 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id d17so7240436wrg.11 for ; Thu, 30 Apr 2020 07:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=DGkgyiQ0NginXnf8otO/F358XbxPMWkiqajyOjWp3qrwhI3IjJ5VxpWltUxTWpeYhi EzYTPLQUJPaT54+Gtq8bQ/kq/LVPXUUOLOkSY4quVOuInKuAhg+If+fiiQWZrk8sg4/2 wucgIlbFqPSMeVyM7Tcx67kTqaT8iYVNoc7mQXwSN0bIG9PAdu2aOyVCUs1RYJDOp7G5 J6bYFSMfSCNjHyHht0n7BO/pvp6s1HqaBb0j+1ewoIQxJMbwGe4MmXheqZK06lVBoxN9 Ih1WCF5C/x/zOa0VU71rHZ7tBJxntN008fOtfonZDN0KIx0kOZdvJ4PzQkI7mNQBaWUq yiAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=l/o3wB620k1D3BIYrZzn6uoNA17Qi5ROtVwL6yU0Tcz1cR6apUSY8BCAQyjNi+yNRw CkNJ0qVn1mmWvspc7MYYccqx0DnJBEf9epcwyE9s4gSeLBTqt/RuQgDHL9OeegiXZZt0 dJbZG+Gb1k8o7Vfw8VCX2T4fUDwkGW3Rvkm4kaQMwU7n3nOYIZaEEfEe5ozPB+/U7dMx NIkAGs/6OcdZzWT8txD5LnB7p4idGJQAYSeQrlgzlRcnUYzDxpADQxfE5i3mXG8LBAtO jwTlJvcQGNt5r5ZbJjN8y8E1WqQL7we/iSbmhf7AR6QMLKCNfasugNWT5rk4SHz4zy/p Jj7A== X-Gm-Message-State: AGi0PuYIvMYMehnlpSAp9aEIp5uNaVVALtyzCODjqnjsSErcJ0jCGNv8 KcS1v/7BfqBqY93vk6wlSiAUzg== X-Google-Smtp-Source: APiQypI092ppnnKBWs4+7y2ui5zUBh7qAbqhxW88bEw98VWLvJPs/WkNEiKJyOlPkCmjk7ivxSWnJQ== X-Received: by 2002:adf:e445:: with SMTP id t5mr4244456wrm.223.1588258129829; Thu, 30 Apr 2020 07:48:49 -0700 (PDT) Received: from localhost ([2a01:4b00:8523:2d03:d4b6:9828:8bd2:ce6f]) by smtp.gmail.com with ESMTPSA id b66sm12780787wmh.12.2020.04.30.07.48.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2020 07:48:48 -0700 (PDT) From: David Brazdil To: Catalin Marinas , James Morse , Julien Thierry , Marc Zyngier , Suzuki K Poulose , Will Deacon Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Brazdil Subject: [PATCH 03/15] arm64: kvm: Fix symbol dependency in __hyp_call_panic_nvhe Date: Thu, 30 Apr 2020 15:48:19 +0100 Message-Id: <20200430144831.59194-4-dbrazdil@google.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200430144831.59194-1-dbrazdil@google.com> References: <20200430144831.59194-1-dbrazdil@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __hyp_call_panic_nvhe contains inline assembly which did not declare its dependency on the __hyp_panic_string symbol. Signed-off-by: David Brazdil --- arch/arm64/kvm/hyp/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c index 8a1e81a400e0..7a7c08029d81 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c @@ -836,7 +836,7 @@ static void __hyp_text __hyp_call_panic_nvhe(u64 spsr, u64 elr, u64 par, * making sure it is a kernel address and not a PC-relative * reference. */ - asm volatile("ldr %0, =__hyp_panic_string" : "=r" (str_va)); + asm volatile("ldr %0, =%1" : "=r" (str_va) : "S" (__hyp_panic_string)); __hyp_do_panic(str_va, spsr, elr, -- 2.26.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8618EC4724C for ; Thu, 30 Apr 2020 14:48:55 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 3E8B22074A for ; Thu, 30 Apr 2020 14:48:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="DGkgyiQ0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E8B22074A Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id DDC5E4B3A2; Thu, 30 Apr 2020 10:48:54 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@google.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fyicbcKsj1Pq; Thu, 30 Apr 2020 10:48:53 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id CFA354B511; Thu, 30 Apr 2020 10:48:53 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 256D74B500 for ; Thu, 30 Apr 2020 10:48:52 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7qBYnw02QeWU for ; Thu, 30 Apr 2020 10:48:51 -0400 (EDT) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id EEDE54B412 for ; Thu, 30 Apr 2020 10:48:50 -0400 (EDT) Received: by mail-wr1-f67.google.com with SMTP id f13so7223839wrm.13 for ; Thu, 30 Apr 2020 07:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=DGkgyiQ0NginXnf8otO/F358XbxPMWkiqajyOjWp3qrwhI3IjJ5VxpWltUxTWpeYhi EzYTPLQUJPaT54+Gtq8bQ/kq/LVPXUUOLOkSY4quVOuInKuAhg+If+fiiQWZrk8sg4/2 wucgIlbFqPSMeVyM7Tcx67kTqaT8iYVNoc7mQXwSN0bIG9PAdu2aOyVCUs1RYJDOp7G5 J6bYFSMfSCNjHyHht0n7BO/pvp6s1HqaBb0j+1ewoIQxJMbwGe4MmXheqZK06lVBoxN9 Ih1WCF5C/x/zOa0VU71rHZ7tBJxntN008fOtfonZDN0KIx0kOZdvJ4PzQkI7mNQBaWUq yiAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=ZjKX5DkX5i7mkNfDHmEy/BvqVXNNLBSX8m0vwhJRIZWqwQid1yivJ6V6eiC4THYUOj UMyntJiJKUQ9NNCarLp1R+af8fL0A+mzkdaHDU5W+Ke0KGdBdsJzCySG258ADrlhaWZT GKq9ZbzVIxg4gxKhAHIw4/RB5n/sXwskfEMYgkiuBNQbtQryD+GxsnHFgFtANr5ZWtMU gK8qEUSs1w5B8RSnMNhtVMoDXFaEWNG7PIZorScwk51dD0ATIkW2Zzoc47S6EcSAZTM3 BDBbY0bpyom4OyYxhLLschSXesl79WGZsdewTmQnsvSWhqtbf5LOn1Dnl0mGqqNvskps HL7w== X-Gm-Message-State: AGi0Pua0dBOXvq8JHp/xzyNLg4Kp5n+jMatb37O+IgHAB1IjFi+64eGF 2vvZa+JzJwEcchHIS5QzUW1sww== X-Google-Smtp-Source: APiQypI092ppnnKBWs4+7y2ui5zUBh7qAbqhxW88bEw98VWLvJPs/WkNEiKJyOlPkCmjk7ivxSWnJQ== X-Received: by 2002:adf:e445:: with SMTP id t5mr4244456wrm.223.1588258129829; Thu, 30 Apr 2020 07:48:49 -0700 (PDT) Received: from localhost ([2a01:4b00:8523:2d03:d4b6:9828:8bd2:ce6f]) by smtp.gmail.com with ESMTPSA id b66sm12780787wmh.12.2020.04.30.07.48.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2020 07:48:48 -0700 (PDT) From: David Brazdil To: Catalin Marinas , James Morse , Julien Thierry , Marc Zyngier , Suzuki K Poulose , Will Deacon Subject: [PATCH 03/15] arm64: kvm: Fix symbol dependency in __hyp_call_panic_nvhe Date: Thu, 30 Apr 2020 15:48:19 +0100 Message-Id: <20200430144831.59194-4-dbrazdil@google.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200430144831.59194-1-dbrazdil@google.com> References: <20200430144831.59194-1-dbrazdil@google.com> MIME-Version: 1.0 Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu __hyp_call_panic_nvhe contains inline assembly which did not declare its dependency on the __hyp_panic_string symbol. Signed-off-by: David Brazdil --- arch/arm64/kvm/hyp/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c index 8a1e81a400e0..7a7c08029d81 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c @@ -836,7 +836,7 @@ static void __hyp_text __hyp_call_panic_nvhe(u64 spsr, u64 elr, u64 par, * making sure it is a kernel address and not a PC-relative * reference. */ - asm volatile("ldr %0, =__hyp_panic_string" : "=r" (str_va)); + asm volatile("ldr %0, =%1" : "=r" (str_va) : "S" (__hyp_panic_string)); __hyp_do_panic(str_va, spsr, elr, -- 2.26.1 _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5A81C4724C for ; Thu, 30 Apr 2020 14:57:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 872852076D for ; Thu, 30 Apr 2020 14:57:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W/ZZlUbK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jxpiI2e9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="DGkgyiQ0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 872852076D Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/7Y+2OI1mkcpa6T2zayMiOrepJQYSLKktSJEDu1n0Mg=; b=W/ZZlUbKVEK/kf eCBBxhSZveNuJICpCjLmMeOraTazOjIkoBRJpUF2EVZ3t2SHA9fRRALkhnQ7G2VMEwKhfA4CtrjM0 a9gJYm8Ua8F4BxA2LMgaJ8Z9Rtcuiwm5MviHKowPSNTxn0o9H3K0K1m7IK2vV3SbBiFewyIKSux7+ qbFdDQvdeq2g+VgvFAVu8soFa9yfqL4H9gg2y2z3GsFyxnKsiQlNeWmPCk13jjJUX2EBA7kfJlA4c cBJB3H+TkN6BCKu3giynT43b+5FFBQaHdKjODGOEez+wTEbmet0Ec3q3SkY9s0xfYZqcXFWeX7oaC sVkyLj+vxmf7M9oNvFeQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUAcW-000755-85; Thu, 30 Apr 2020 14:57:00 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUAbc-0005X5-Cr for linux-arm-kernel@bombadil.infradead.org; Thu, 30 Apr 2020 14:56:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=jxpiI2e9duTIrKodZlyECzFD/m fvqjs75ivyzUEi1BHc5V7mafNIhS8uPJ4MOH10Z7Fuk4vG8fZR5/4lWJOUsUe+HnDKq0J3ENfAcBT tk33qoykE32CLp+JCGXqO1StTxonrm96hADXPAjUD3dlgttwUnMwjGqgLCF0pZ1HOZFhG5W5fgWr5 i/ybWZPxXGS4T1I3oyMe+DYWNq9w58bXxKBvPw7UlOb2rGrvOSgU1UNhEfekuGvNYH+AvKWscwBT0 LeJct8zv19BFXVeMkFyW2jT5Z/N2wtnItVBB5e/Mw16bo9/N5fIYbvPMAzNEzeDBIpl6rjkKabdKq BfR4Nn4g==; Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUAUf-00025e-J9 for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2020 14:48:54 +0000 Received: by mail-wr1-x443.google.com with SMTP id k1so7286341wrx.4 for ; Thu, 30 Apr 2020 07:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=DGkgyiQ0NginXnf8otO/F358XbxPMWkiqajyOjWp3qrwhI3IjJ5VxpWltUxTWpeYhi EzYTPLQUJPaT54+Gtq8bQ/kq/LVPXUUOLOkSY4quVOuInKuAhg+If+fiiQWZrk8sg4/2 wucgIlbFqPSMeVyM7Tcx67kTqaT8iYVNoc7mQXwSN0bIG9PAdu2aOyVCUs1RYJDOp7G5 J6bYFSMfSCNjHyHht0n7BO/pvp6s1HqaBb0j+1ewoIQxJMbwGe4MmXheqZK06lVBoxN9 Ih1WCF5C/x/zOa0VU71rHZ7tBJxntN008fOtfonZDN0KIx0kOZdvJ4PzQkI7mNQBaWUq yiAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W2dOZedYL4JDAAn5nSlmNV+ZjvfKthEjodtzNjqCunU=; b=ms4VJcf9PVC6cegFlshfw1OGlP+ffaTbZiye4xqzWhokqZ25O7QFA3im0s9KjS3i5s 1gcgsHwTjcYiygj4GVLWztbtfYPDuTLpO4f5MTA9kOyvORGAjEqOwQS8g1FuRQAniSMU 6mSb3PZxN6FpF1sN2uDUVh3Gs+RtAwgAF1vgEHfQrReLZ0u5INEgszHwwVsM1hwU8jPz IHuL67b3ZJYwjt0GlGvSNsAdhVwPQC33wcJ8iWNtvXkJhVrZxYWEW+ddKht973ERp5O+ BrAgVK7hrZWL+VryJZau3WznKhqf3AZvKG8sJqmvHu3D2mHgbxXCcghqLDSjX3TUESxq YCoQ== X-Gm-Message-State: AGi0PuZnkHD6bEcmp0xyvyqQkiTcCRY2RjkMpQn6C5Fkl5tdXmrFnPM6 RwQxvTIkdr+M2ZlrlUr7tuwM2A== X-Google-Smtp-Source: APiQypI092ppnnKBWs4+7y2ui5zUBh7qAbqhxW88bEw98VWLvJPs/WkNEiKJyOlPkCmjk7ivxSWnJQ== X-Received: by 2002:adf:e445:: with SMTP id t5mr4244456wrm.223.1588258129829; Thu, 30 Apr 2020 07:48:49 -0700 (PDT) Received: from localhost ([2a01:4b00:8523:2d03:d4b6:9828:8bd2:ce6f]) by smtp.gmail.com with ESMTPSA id b66sm12780787wmh.12.2020.04.30.07.48.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2020 07:48:48 -0700 (PDT) From: David Brazdil To: Catalin Marinas , James Morse , Julien Thierry , Marc Zyngier , Suzuki K Poulose , Will Deacon Subject: [PATCH 03/15] arm64: kvm: Fix symbol dependency in __hyp_call_panic_nvhe Date: Thu, 30 Apr 2020 15:48:19 +0100 Message-Id: <20200430144831.59194-4-dbrazdil@google.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200430144831.59194-1-dbrazdil@google.com> References: <20200430144831.59194-1-dbrazdil@google.com> MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Brazdil , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org __hyp_call_panic_nvhe contains inline assembly which did not declare its dependency on the __hyp_panic_string symbol. Signed-off-by: David Brazdil --- arch/arm64/kvm/hyp/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c index 8a1e81a400e0..7a7c08029d81 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c @@ -836,7 +836,7 @@ static void __hyp_text __hyp_call_panic_nvhe(u64 spsr, u64 elr, u64 par, * making sure it is a kernel address and not a PC-relative * reference. */ - asm volatile("ldr %0, =__hyp_panic_string" : "=r" (str_va)); + asm volatile("ldr %0, =%1" : "=r" (str_va) : "S" (__hyp_panic_string)); __hyp_do_panic(str_va, spsr, elr, -- 2.26.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel