Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2866769ybk; Mon, 18 May 2020 09:48:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaHtSQ6mvHB5iyuWB3pM3AG3fR0dYv4Olpd/EIPvRaeCOmdc8BA5Lhe1+jPuqerBkLf+nn X-Received: by 2002:aa7:c543:: with SMTP id s3mr88163edr.328.1589820532848; Mon, 18 May 2020 09:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589820532; cv=none; d=google.com; s=arc-20160816; b=Uu7hmf5bUoLVi57eiU8TROG6jrfIhKGxOHxshx0SPxDx6zgYae1vVUFt29k6JqVx6I OpR16tt1XZegJzJk+/SUVKGaWqQ+Pf+qDu4OpJkNOhlKdO2mEaDkcMRWjW73aNqF9Qsm SZJ/oIxO4p4JpuMRP48uSrCbGL4vLYTQ5X0MjOivheulwlHiTMXez/AtMZdyKoJX5EM+ HAx2QghK55NwA+gdqwyY4OUNsQOlfa8Wua1vHK58mHfVP2JomqCdcA8yP0V8cnBZhmYs iuJLapxdX0UtxVjkWkco5a4IP1K8TLsLdc3iWendny12In5Rv0AGHuDtDGwQ726oLiSY zRqw== 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:date:from :dkim-signature; bh=mrOVKHVJapH6kF5qReOp0wglPtw6uXIPRlbofv8HkOI=; b=TxxM6t6bSuCXItH9rdy/mYO1bUZhuHLeoAfmolclZxKBw2/LCx01B+7ddZr4ZekMEm ZIxhOK1/s60daSWM8g0KrSLStPy8xyh7cyEvW58CBw0MlGbmSTig3+7ra0RxTr/oywx7 AeA66xXvNmpyCTN6BEJgMC3RKQ8ag992Om7BeMlUfnXSLquCQnmzlFf+cMVgbOXZHJAE mK6SLQuSj8cwj8r9YuBI4y2maQGvwUxV9TmBaKjhCADnI4cvr2KgBw/ktV1eoLjdLezq quidYd05MiA8jktbxVCHCWG3P0JiNBB2kNpB8FQt7SHhZ9CHmHaGFMhyQ2W2ViYRDCQm Bt+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="nSW/zmI+"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si6919114edb.561.2020.05.18.09.48.29; Mon, 18 May 2020 09:48:52 -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=@google.com header.s=20161025 header.b="nSW/zmI+"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728491AbgERQoQ (ORCPT + 99 others); Mon, 18 May 2020 12:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726958AbgERQoP (ORCPT ); Mon, 18 May 2020 12:44:15 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6344BC061A0C for ; Mon, 18 May 2020 09:44:15 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id w64so224133wmg.4 for ; Mon, 18 May 2020 09:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mrOVKHVJapH6kF5qReOp0wglPtw6uXIPRlbofv8HkOI=; b=nSW/zmI+oIKzyOLNG6etkGbyYqHBBsA2N8whXlXs5aLplRWbKVRVZJuGjkipitkMFd JpDvh6n1I6fl6OnyDNwsPT/olbSNWIvVDkOpC9T4/wi31U2gZWWAb9vaKvbqwiXWSzRE /OCEBdRmoFd+eNbb5XCzC9mXeGwdFmBqmUkmzBgIlhfo5zWNUwJ7+xhAVSwwqpiTwxhR YbwDxXTWPeNSRUpgsH2ZgBcUrvqn70knzY40sUTMnYGSikYPo9uylu89drqXy985LCES jwguU3GVWDkHvHwoJhoQ2HH/fA+IMRHX4PXEy9HH7+Dn53Y38W//jL36zKm6iMSn9XTQ JH1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mrOVKHVJapH6kF5qReOp0wglPtw6uXIPRlbofv8HkOI=; b=Kn1n78eQo28yZLpKgqt5ZUPvWLQQrcclsAILMYD7vW5qsPtwuEm9J1rx3+K7XSIas4 eYaVgInIS0uTSTJDI/OYunrmxHwgrYGe8Qwj5MTg7X9fqCDAEjx/8czJMFPi7IYEACry NwS7D93dsF3k38PJt4p9vEMWDvb4n4ScW50nxt2Ai6fJ2fWvS/0lNHPY1V6QTNaXVVk9 6aj2BmXSOEn0ER/Nndmv3i/ASK4II2ZAHZN6Y+Qgymi1NTtMzNECrPnCSu8xEfOqgGRh 1l8GwmOW77s3TkE58yfTu9g+xpdrVjcJp66qu7f3nEj9OGam3frrjOSa4xWJEmQ7QfDZ IzpA== X-Gm-Message-State: AOAM530E/Q0s9//m8tGR31yTZAnDhV6xaeM84FG1oDgIZ1PY373ELuH5 sHW56mLHP092BhSSBN9CZ37wvA== X-Received: by 2002:a1c:2e4d:: with SMTP id u74mr230711wmu.145.1589820253760; Mon, 18 May 2020 09:44:13 -0700 (PDT) Received: from dbrazdil-macbookpro.roam.corp.google.com ([2a01:4b00:8523:2d03:4431:2de6:16f:7f90]) by smtp.gmail.com with ESMTPSA id e21sm125834wme.34.2020.05.18.09.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2020 09:44:13 -0700 (PDT) From: David Brazdil X-Google-Original-From: David Brazdil Date: Mon, 18 May 2020 17:44:12 +0100 To: Andrew Scull Cc: David Brazdil , Catalin Marinas , James Morse , Julien Thierry , Marc Zyngier , Suzuki K Poulose , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/14] arm64: kvm: Split hyp/switch.c to VHE/nVHE Message-ID: <20200518164412.coycmliijagaaw4m@dbrazdil-macbookpro.roam.corp.google.com> References: <20200515105841.73532-1-dbrazdil@google.com> <20200515105841.73532-8-dbrazdil@google.com> <20200518152851.GA147668@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200518152851.GA147668@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2020 at 04:28:51PM +0100, Andrew Scull wrote: > On Fri, May 15, 2020 at 11:58:34AM +0100, David Brazdil wrote: > > +__kvm_nvhe_sve_load_state = sve_load_state; > > +__kvm_nvhe_sve_save_state = sve_save_state; > > Building without CONFIG_ARM64_VHE leads to a linker error due to the SVE > functions being referenced in this list. This is caused by > CONFIG_ARM64_VHE disabling CONFIG_ARM64_SVE and, in turn, preventing the > generation of those symbols. There aren't any references from code, just > this file. > > It can be resolved by having the SVE symbol aliases depend on > CONFIG_ARM64_SVE. Thanks, will fix the linker script in v3.