From patchwork Tue Mar 23 01:02:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1456937 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GqUpKfE+; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F4Cr42SYHz9sWH for ; Tue, 23 Mar 2021 12:06:44 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4F4Cr41QlYz3cbn for ; Tue, 23 Mar 2021 12:06:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GqUpKfE+; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1034; helo=mail-pj1-x1034.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GqUpKfE+; dkim-atps=neutral Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4F4CmY3ZGSz30G8 for ; Tue, 23 Mar 2021 12:03:41 +1100 (AEDT) Received: by mail-pj1-x1034.google.com with SMTP id a22-20020a17090aa516b02900c1215e9b33so11432945pjq.5 for ; Mon, 22 Mar 2021 18:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ig9Ay39viYeapYXuSo6uIf6+TrFfALVUiHXjNAwZBl8=; b=GqUpKfE+k22T4VuGRSYX0R8lhDX2hGuJ3WusYa9g7r+0QVceCKe+50oXzHwBFtHtAE LqGc0gr5Dq6bNNd5MqKAyLHf0BH4wjzuLRuRRyXiLLi5i0rn79LTVcUUKD5CcQsoNHHY mla30zWznzsNZifbJVVLhYQMv1/RlJ2SNXIslyA9ZvyRJb/brRf5gOFp4Sqe7ciDoTDO ocoNhpUAqSCJLBX7skBuYJw9rIYfbvrLCk7bINNC+sboEhDvxOKRnKHCC/5Z1JOYZFAr s67qHCwO35XtN7dT4VWMhTcxV5AFe3SsgyhEdovqQHuOPWytUjFLUSsQcd2lXaZRYPWn 67Mw== 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=ig9Ay39viYeapYXuSo6uIf6+TrFfALVUiHXjNAwZBl8=; b=YNx4QHNhUGDYZnEvRK1oBOCV2bg62iM0x3jJn23lkpoI5okntFGyFSdk0vLZGa32cF LuEutQ6m0Os6jbNbcekA3MDxs7gglU6ekuGcoOha+JAuO8AHwOgryps74AStEuue7vGo rElCHok/7MCMSFCHVq95tl+uxBclu9RIdmHG2aSo3ZYoyKwpmJNkdo/T3e6+hm+NPg6T ur7KReNaS6e4IhUeqnaj6bbTbEaHtTXHa7tPcvVhEFWV2+xOQLxwQQ/zH79HJnpgEwhy L1PYKDiYgRTjgR/Yj4s6OobRl1/mmatVoNTHP1DH6/QjHlpu3DLXDvz6/O3BMsglDTNM LKiA== X-Gm-Message-State: AOAM530LE0L3xTYFvQOU5ga5k7TdZCDcdRuhCfKOIJmkOlWWqB96NR3z CZvPMvv9JkoLhDwJ1f++jyE= X-Google-Smtp-Source: ABdhPJy/wcnQr9WSn52efZDkznWF4y+UCQZKiwB7oVTMlEKIXMj/jyW39aHj/uAxRgSrYzYStwZ+uA== X-Received: by 2002:a17:90a:2b4a:: with SMTP id y10mr1750162pjc.143.1616461419241; Mon, 22 Mar 2021 18:03:39 -0700 (PDT) Received: from bobo.ibm.com ([58.84.78.96]) by smtp.gmail.com with ESMTPSA id e7sm14491894pfc.88.2021.03.22.18.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 18:03:38 -0700 (PDT) From: Nicholas Piggin To: kvm-ppc@vger.kernel.org Subject: [PATCH v4 07/46] KVM: PPC: Book3S HV: Fix CONFIG_SPAPR_TCE_IOMMU=n default hcalls Date: Tue, 23 Mar 2021 11:02:26 +1000 Message-Id: <20210323010305.1045293-8-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20210323010305.1045293-1-npiggin@gmail.com> References: <20210323010305.1045293-1-npiggin@gmail.com> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , Daniel Axtens Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" This config option causes the warning in init_default_hcalls to fire because the TCE handlers are in the default hcall list but not implemented. Reviewed-by: Daniel Axtens Signed-off-by: Nicholas Piggin Acked-by: Paul Mackerras --- arch/powerpc/kvm/book3s_hv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 7cfaabab2c20..7bb4222729b0 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c @@ -5401,8 +5401,10 @@ static unsigned int default_hcall_list[] = { H_READ, H_PROTECT, H_BULK_REMOVE, +#ifdef CONFIG_SPAPR_TCE_IOMMU H_GET_TCE, H_PUT_TCE, +#endif H_SET_DABR, H_SET_XDABR, H_CEDE,