From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1C54606A31D for ; Tue, 20 Oct 2026 09:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KS3COTqU Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 38C3910E5AC; Tue, 20 Oct 2026 09:46:43 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F30310F3E3 for ; Tue, 20 Oct 2026 09:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792489596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rg/n5h2LZhb8d64uxndMAHWeaRWn+OTmWTZK6zmxraM=; b=KS3COTqUWQ3pRdxJr7H5QDCynu0AnWRjjOJ75l73FvBQTtLDUaNaLf8dvGajsV4mf06Cj/ pgB9ko/FYIVWw8EcNPs1wFuuiv0pzP+ceoDKoLhP309EdSslLIVuKwARvnGOMR3KareSJe 8OR6B/WmAh4KXIG5BSc/c24rvzToc2g= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-423-vmrMg9YhNq6k8N0kzbFGxg-1; Tue, 20 Oct 2026 09:46:35 +0000 X-MC-Unique: vmrMg9YhNq6k8N0kzbFGxg-1 X-Mimecast-MFC-AGG-ID: vmrMg9YhNq6k8N0kzbFGxg_1792489594 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4a1e295b702so23153125e9.2 for ; Tue, 20 Oct 2026 02:46:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792489594; x=1793094394; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Rg/n5h2LZhb8d64uxndMAHWeaRWn+OTmWTZK6zmxraM=; b=x4SX8VsoUtnf+2R/v5ebnVgo6jMmHjcMfg5sbzt3HdTvHR/tzEqvDb8PHtBM7j3l3+ BN1BiPAOfmsxrEe9MSsvaszyeZCQcl2Wi0VHuSDIIecYAuaPDcqSJiVvkTc+UZUTKVbN Cz22Bqxysu74mI0b2LKdHpDNwRuimFfV9Eq2ZpFI4Xowiy6IhVcA1OIZ3qP8XArnN1Fa kpm9hWnTPilLYdYY8T3JZZMsSXcWV/dk+6oYlCpPGX1cLC/eBKzKvV52DMxiJ+i/w6Rn ieBxtE0mlVf0e/SfOpQTxB4DzW1tsr42DG+ajDxuYINhy9j3gmEqDhH9bWGOWO0WacO4 SZAg== X-Forwarded-Encrypted: i=1; AKwUvBxAUQi3neJZNYy5mBwfaeT3b4Z2iSlID87HCRmCFFx0Y3nAgcaMRIVAm6k8vdol10zZBmGnrYgyq1A=@lists.freedesktop.org X-Gm-Message-State: AFq9FYKKI/tCR4moNM9QC00iJrpPGjRzTFWeClDAB3pia9ME+NLQhtJl S1xYm2DBhwqyFS9UPaJ7q5Q8XQUvFUXcCXySOqY9W2G1K19tmDgi1zkO3si0DewTVlSaVFO1VLN IOd07lLy3YhNyQVRkeljiTeD/bmsBcpb7hYFhZCYXNDqDRDUdx0XDgD3lspTbg0lk8OssZw== X-Gm-Gg: AYBFou35mECoO2otPo0bWDzXjQUMq+TktSxWWCzUselmLWXTrS2BvNM7MkJgLzCnwA3 w2m30DkiGu+9jhUos6hUHUd83BgQnmR1bf49bA7mxH2rxqiTdLTwRuuW2dGV0+ePKxxcRGDBv3O 55HGq+gNrOvtwtgIOY13CahjKR0WyXciGEMdD1hBv9poPItnWAzixnXeYWYtIthxlS+GKWRNVfV aUvwWlt69hiNdk0SCMx+Zhwk4urDgmIxF43TbQmi1tPWsCs64S9FhcKFVuX/G5LArFVhpGouaQh 0/TY0QCIvoR02QWXO3qOMdhVkNqiS5MlV+w7GfspxyXMPfN3CZQdvKxDTN6NL6E2DwZz7A== X-Received: by 2002:a05:600c:1d05:b0:4a1:bd69:526f with SMTP id 5b1f17b1804b1-4a1d75ab235mr205130985e9.4.1792489593875; Tue, 20 Oct 2026 02:46:33 -0700 (PDT) X-Received: by 2002:a05:600c:1d05:b0:4a1:bd69:526f with SMTP id 5b1f17b1804b1-4a1d75ab235mr205130435e9.4.1792489593344; Tue, 20 Oct 2026 02:46:33 -0700 (PDT) Received: from redhat.com ([2a0d:6fc0:3fd7:5300:3d6b:52a4:a23f:9d0b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1f2c9f301sm52047555e9.2.2026.10.20.02.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2026 02:46:32 -0700 (PDT) Date: Tue, 20 Oct 2026 05:46:29 -0400 From: "Michael S. Tsirkin" To: Linus Torvalds Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Simona Vetter , Borislav Petkov , Tom Lendacky , Joerg Roedel , "Nikunj A. Dadhania" , intel-gfx , dri-devel , the arch/x86 maintainers Subject: Re: Removing __get_user / __put_user for good Message-ID: <20261020054227-mutt-send-email-mst@kernel.org> References: <6ad07f8a.a0c71a5e.2d2efd.977a@mx.google.com> <20261018152358-mutt-send-email-mst@kernel.org> <20261018174250-mutt-send-email-mst@kernel.org> <376ef9d0-b03f-4f85-aee5-46cf20eb00ae@gmail.com> <20261020021924-mutt-send-email-mst@kernel.org> X-Archived-By: MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: X6nbzw2UF9r2dNRR9aNacBLZUcM3Z8huMicwBryvxMs_1792489594 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-gfx" X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Oct 19, 2026 at 09:25:02PM -1000, Linus Torvalds wrote: > Bah. I made this branch of mine public because I wanted Michael > Tsirkin to check the vhost part. > > But honestly, the i915 side and the coco/SEV patches are the much more > interesting ones. > > So this brings in some new victims^Hpeople for that git branch to comment on. > > It's all in > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > uaccess-cleanup > > I haven't dared actually boot it yet. > > Linus vpda seems to survive light testing in a VM for me. Tested-by: Michael S. Tsirkin It's still buggy if there is a swapout right before the access, just like it was previously, but hey. One splat less. An improvement. You might want: Fixes: 42823a871fd4 ("vringh: support VA with iotlb") with that, vdpa/vhost bits: Acked-by: Michael S. Tsirkin > On Mon, 19 Oct 2026 at 20:51, Linus Torvalds > wrote: > > > > I have a whole branch that removes __get_user() and __put_user() entirely. > > > > Somebody should check that I did it right. But I didn't want to do the > > pagefault_disable() around the vringh_notify() part, so it's not quite > > the same as yours. > > > > Let me just push it out. I was going to let it simmer, but your email > > made me go "I should just let more people look at it". > > > > Mind taking a look at the 'uaccess-cleanups' branch? > > > > It builds for me. That's all the testing it has gotten so far. Blush. > > > > Linus