Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp142208iog; Tue, 28 Jun 2022 18:34:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t9KWI53E7WBHAI1gmg0s9uRZYLX13B90uC+cKAG3Qc9e/CTjyTVNU80wpJH+dzbm7kIOuc X-Received: by 2002:a63:90c7:0:b0:40d:3c0d:33f4 with SMTP id a190-20020a6390c7000000b0040d3c0d33f4mr778619pge.334.1656466459477; Tue, 28 Jun 2022 18:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656466459; cv=none; d=google.com; s=arc-20160816; b=e+x0QRrQFKyDyPsoKC916dUQ4E1mUlGd09D5NQCPwDlm3IIsgrFs+hS6ZMQtVKXJIG IT935S5BHfHgIsxOIsH3RSJDUF7eFx+gT0wc8aA/XNOFqPAR6Ks/ZADfaykvFgJsQN5w FlaseFxVJ9ZOK0TVyTYIShyXtj8cMsbOZurnAWLQIrndoSJBVowZdyvDb5N4LfnhtNU6 cPbUtPYvC+lPrMXVDzuRvfs7+iFBr7qqg8Dq91Wk9QrGkdbGU6jg4fBFqDX/Bc4DLFax Rj/QTPMPKqkowHlUhHzBhYpsUAGpujye6t+PuzE5hH85p3JXCDpn6DKeC/T41kvbzqJy coVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=eoMiQ+XctJ6UfiQ6z30G/ZWBr3RiiBxWRO4iwhooTpM=; b=ffBGiqziN1YQLT2sgidYGGWt2mFuBHcIWwh9gm86QFXgmL1GXPjJ+YhbLX9MrrxtAs GSF/UGKFIv05wFai2XmJbByRXXe011zV39uEoHDVqlCRGsK6cBVNKvPaCDeyW6KQhu23 TV+5/It28bf7g4vXwsARDWRvxch3oPiHxqgl1IO8X1Qw01cBzTLLYQGqaWC6Fi8ndImo H4E9UZ17GveibkSA7NjN8dMN8ncmV86TDVjhxGp3LHHbQ4bVfvnasPG4S76Af6SCbNrT JUpX1VENSmRmhciXMV0GHMDSNx+X72MlTlOeWQbesDoCAmBZxojAl7QsLKgtQYsxv2H0 eAgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hiakdTfX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a170902e74500b0016a158edd50si25110045plf.430.2022.06.28.18.34.07; Tue, 28 Jun 2022 18:34:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hiakdTfX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230157AbiF2A6Z (ORCPT + 99 others); Tue, 28 Jun 2022 20:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbiF2A6X (ORCPT ); Tue, 28 Jun 2022 20:58:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6120CE2C; Tue, 28 Jun 2022 17:58:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D61EFB8210B; Wed, 29 Jun 2022 00:58:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E470C341C8; Wed, 29 Jun 2022 00:58:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656464299; bh=qzXzyU3Yxwkc5XoKYIl4dSB/mDLg7UqRnK4AC6snhZQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=hiakdTfXzYVHnt8rotaaK4/4vf9Jm1h+sYAUrz+zMLPSM5E4rWUFyo8rGX5PESKLl SY2grO9EbqiR2Nh8X1DlSWeFnUzx1cg+HuylAwTsj3sr/+ORIBdOpNsXMOnWmuN6ka e2KJOMM1+ScuOsUPDAC1TZ/o0/sRKF5JLy0VULpTw8abuMurRFrQ2sdxT5B5uo3PDr DXaHPlaEBpEPp5jGAs1Zib5nV/ajkGe5CzC/WOwT8Mrm5V0CYmaFpYEomoQw4Cf14U D6FpTXAQNTrIUIZxZWmpBkwKNqx6a/kMQOdKaXi3gnqvGIHJkYKlz1LMjrtMKpRGng Lgc0rh6qy+uLA== Date: Tue, 28 Jun 2022 17:58:17 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: Juergen Gross cc: xen-devel@lists.xenproject.org, x86@kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-arch@vger.kernel.org, Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "Michael S. Tsirkin" , Jason Wang , Stefano Stabellini , Oleksandr Tyshchenko , Arnd Bergmann , Russell King , Boris Ostrovsky , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 0/3] virtio: support requiring restricted access per device In-Reply-To: <20220622063838.8854-1-jgross@suse.com> Message-ID: References: <20220622063838.8854-1-jgross@suse.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Jun 2022, Juergen Gross wrote: > Instead of an all or nothing approach add support for requiring > restricted memory access per device. > > Changes in V3: > - new patches 1 + 2 > - basically complete rework of patch 3 > > Juergen Gross (3): > virtio: replace restricted mem access flag with callback > kernel: remove platform_has() infrastructure > xen: don't require virtio with grants for non-PV guests On the whole series: Reviewed-by: Stefano Stabellini > MAINTAINERS | 8 -------- > arch/arm/xen/enlighten.c | 4 +++- > arch/s390/mm/init.c | 4 ++-- > arch/x86/mm/mem_encrypt_amd.c | 4 ++-- > arch/x86/xen/enlighten_hvm.c | 4 +++- > arch/x86/xen/enlighten_pv.c | 5 ++++- > drivers/virtio/Kconfig | 4 ++++ > drivers/virtio/Makefile | 1 + > drivers/virtio/virtio.c | 4 ++-- > drivers/virtio/virtio_anchor.c | 18 +++++++++++++++++ > drivers/xen/Kconfig | 9 +++++++++ > drivers/xen/grant-dma-ops.c | 10 ++++++++++ > include/asm-generic/Kbuild | 1 - > include/asm-generic/platform-feature.h | 8 -------- > include/linux/platform-feature.h | 19 ------------------ > include/linux/virtio_anchor.h | 19 ++++++++++++++++++ > include/xen/xen-ops.h | 6 ++++++ > include/xen/xen.h | 8 -------- > kernel/Makefile | 2 +- > kernel/platform-feature.c | 27 -------------------------- > 20 files changed, 84 insertions(+), 81 deletions(-) > create mode 100644 drivers/virtio/virtio_anchor.c > delete mode 100644 include/asm-generic/platform-feature.h > delete mode 100644 include/linux/platform-feature.h > create mode 100644 include/linux/virtio_anchor.h > delete mode 100644 kernel/platform-feature.c > > -- > 2.35.3 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >