Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3250642pxk; Mon, 7 Sep 2020 07:33:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz77yxxdHVm3Hz11TGs+Tt/ayNV5sEsp8XVU74sN+ft3I6BlxuDnrqttbLqJK5F+tevw2au X-Received: by 2002:aa7:c0d3:: with SMTP id j19mr22651146edp.40.1599489205908; Mon, 07 Sep 2020 07:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599489205; cv=none; d=google.com; s=arc-20160816; b=Pv3TalYtTZ3HmItAizIXPABoShDyxYnhSfMZSdwq8yTG6yoLmRTYDQ1ggL5nOuM4JI DsFL5hKtcgmo7Tt5/lopxWn2n0Ta4y+s0USPT6hKETToY86Om9kGio9A1qUjhSYypOgG r1kpqfzIaeTT+GSPFEy6qq510+/yOK2VMsQ17UNsOVwamTQdKIBabBzakJyqXkQ7Z5DO JrKqE5ybDoSQulqfH3CA4BqMmr+zefagWAR0ff+MOvJoJw/UDzqK+jC6WxhFwVSlK+zY ctIhprpbycVjiDecBqbef9AcF2vlJvbhzOzbIWBjVs83LJEjYmaMeOFmB6FhYHHcq+pR SfeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=L9AvM1nt2ETtftMMn2CGpkt/0QBFnqkLy9ZctHBi4g8=; b=cNvhD+sb1jfPDku2Bv6FJEFIbGI+VffdEqhgHNfcT6QEC2AWG736oLbH0LZ0bZUuCu DIRRjFjI5TxYkOs83MKHFNqw3qUvsRDEab67KXScUFtABh1Hhgr7MeOXZKvuljeEwtPG qy719NL3iJAaEjXgEzlT04mIHjqQd4R2/EtBzoQsNeyUeDvW3w3lP4aRSW3vHdchpzBC HSsKwA7fX+QCPmm2K3vYBGzHsBzSIeSBo4gFGbNMHGAl+yBd1w9zPzVYjV7//KFwZibz RQPlyqFHjdlkvqUvpTAd2dxtEu18hCvLRMUHTgJ+Zqburzgr1/DdBBfliwHTTlVB2MLI dr6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ckECwtrM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y102si10534891ede.258.2020.09.07.07.33.03; Mon, 07 Sep 2020 07:33:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ckECwtrM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729856AbgIGO1X (ORCPT + 99 others); Mon, 7 Sep 2020 10:27:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:50276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729817AbgIGOWI (ORCPT ); Mon, 7 Sep 2020 10:22:08 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 4378821481; Mon, 7 Sep 2020 14:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599488527; bh=T0OLbhI3b6Sj7Jv2x6WXbH/uamfr/jukm5TLqaMkvf0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ckECwtrM3NnyvKb9RcZ1ux02kwtc167Z79WuPxdKnxHssx2/1+BjKoTkbZ79ETUQD AF79MIo3eY/rPd2Sx3VITyYhAAKu4XnTUkIQEphVwIfXDc3CcmBVNoFEswXaeCpvlR kND3li/EzcessCRkdQ4EDUDTI71ug77tl3J4TEvY= Date: Mon, 7 Sep 2020 10:22:06 -0400 From: Sasha Levin To: "H. Nikolaus Schaller" Cc: David Brazdil , Linux Kernel Mailing List , Marc Zyngier Subject: Re: [BUG]: KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe Message-ID: <20200907142206.GL8670@sasha-vm> References: <3750C774-62A4-4D02-8C07-6C98304F32F3@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <3750C774-62A4-4D02-8C07-6C98304F32F3@goldelico.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 07, 2020 at 03:29:40PM +0200, H. Nikolaus Schaller wrote: >Hi, >it seems as if your patch > >34f379956e9d7 ("KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe") >[ Upstream commit b38b298aa4397e2dc74a89b4dd3eac9e59b64c96 ] > >fails to compile in v5.8.7 for me (using an aarch64 gcc 4.9 cross-toolchain to try >to build a kernel for the PinePhone): > > CC arch/arm64/kvm/hyp/switch.o - due to target missing >arch/arm64/kvm/hyp/switch.c: In function 'hyp_panic': >arch/arm64/kvm/hyp/switch.c:904:2: error: impossible constraint in 'asm' > asm volatile("ldr %0, =%1" : "=r" (str_va) : "S" (__hyp_panic_string)); > ^ Does upstream build correctly for you? >I can find the commit b38b298aa4397e2dc74a89b4dd3eac9e59b64c96 in upstream >but not the affected file. There is also "KVM: arm64: Split hyp/switch.c to VHE/nVHE" >which does a cleanup and rename and v5.9-rc4 compiles fine. Right, it got moved around in upstream. -- Thanks, Sasha