From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 911B73D669D for ; Fri, 26 Jun 2026 15:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782487748; cv=none; b=J1NhFWataYfNgbvmBgA1mGJco1J4DuU088UAM2hmLhPRrjxrIv3OI6TZtWvS4hBOn4HvEhV4jVPSZxD8zGouR5UAZhAPEyQHlhmbWEuYeJeXG052AihhHwBbRZ5YsapEOrcRABn0xAcLJLpVIiBv1VImMDkkxtDfTdcyUXV5s/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782487748; c=relaxed/simple; bh=Wy502H7G6EG5DDUhaqL8ZH31eQuVJEouI4PSOxFgm0M=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=AqFwXvrGh1jFkls0XBRWcdq11egauw5Cukm6tO0UvRgM1ZaJAubugQqqoSQnmojTmMSYf5hsmc3k0vVzPovkUyuwJtn50IliKJ5qsjh+T4PfV29XKqG71v100aH6M6YOj7YK94aP6PlXzsUX+YRO585fIFoWvLYbgt0D6Y0ivZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=wIhePOhy; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="wIhePOhy" Precedence: bulk X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1782487742; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A9yV2d4U6Iq5tvwMQAZTQglaDvuPvKN3XGu5+n1GLLQ=; b=wIhePOhyn6G6N5ff0edE/tWPIL0KMu4yLFZwEwWoqZZHrBK6tCDf3vdBAO8t9df+oI6kuQ xLnpFgOEs4zA46/+kNEFwdQe2/mKKSiElfQZLqTo8viWrcXcy9xwbuopsxn4/7w4KV94aW uCiQ2fhh93vV19Hi8UBA0NS234VnMPI= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 26 Jun 2026 15:28:43 +0000 Message-Id: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Brendan Jackman" To: "Takahiro Itazuri" , , Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v12 00/16] Direct Map Removal Support for guest_memfd References: <20260506080753.14517-1-itazur@amazon.com> In-Reply-To: <20260506080753.14517-1-itazur@amazon.com> X-Migadu-Flow: FLOW_OUT On Wed May 6, 2026 at 8:07 AM UTC, Takahiro Itazuri wrote: > Hi Lorenzo and Sean, > > Apologies for the delayed reply =E2=80=94 Nikita is leaving Amazon, and I= 'm > taking over this series going forward. Thanks for your patience. > > On Tue, Apr 21, 2026 at 01:40:00PM +0000, Lorenzo Stoakes wrote: >> Hm, given this touches a fair bit of mm, I wonder if we shouldn't try to= do this >> through the mm tree? > > On Tue, Apr 21, 2026 at 04:36:00PM +0000, Sean Christopherson wrote: >> Yeah, when the time comes, the mm pieces definitely need to go through t= he mm >> tree. Ideally, I think this would be merged in two separate parts, with= all mm >> changes going through the mm tree, and then the KVM changes through the = KVM tree >> using a stable topic branch/tag from Andrew. > > Thanks for the guidance. The split makes sense to me; I'm planning to > follow this approach with patches 1-6 (mm) going through the mm tree > and patches 7-16 (KVM) through the KVM tree on top of a stable > branch/tag from mm. I'll confirm the exact boundary and coordination > details as I prepare the repost. > > On Tue, Apr 21, 2026 at 01:40:00PM +0000, Lorenzo Stoakes wrote: >> In any case, we definitely need a rebase on something not-next :) if not= mm then >> Linus's tree at least maybe? >> >> I'm seeing a lot of conflicts against mm-unstable, it can't b4 shazam ev= en patch >> 1 and in Linus's tree it's failing at an mm patch (mm: introduce >> AS_NO_DIRECT_MAP). > Just as an FYI, I am gonna look at trying to move this forward a bit while Takahiro ramps up on taking over (I spoke to him about this off list). My ulterior motive is that this would give me an excuse to add ALLOC_UNMAPPED (formerly __GFP_UNMAPPED) and the mermap [0] which unblocks various security nonsense including ASI [1]. (But also, this feature is a good idea). [0] https://lore.kernel.org/all/20260320-page_alloc-unmapped-v2-0-28bf1bd54= f41@google.com/ [1] https://linuxasi.dev From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C412C43327 for ; Fri, 26 Jun 2026 15:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Subject:Cc:To: From:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qvG27sDR5xf7B+fXpA+sd8RIyySlSBVJaG8xCQZcH5A=; b=Lo0ApOGwMhFfVl TyXQ1Que3djZu+lTY57SSQpNbamLLa+3tEmHH6RB1vvEp6ZTYKQoekSqiGrNT491z8PPIn/O8FtHl 8/Pcp/QjQQRyHFSN8/Zt4A0RZ0orW4hCYhFh5H4SN8/WDRM2HrToB1zaeU8q6GFWYQ5MMCkSAH/QF M+oGtJwdiAI4FYMvj4Q3f6SQwMJBPLxb7dakpxoV49VxNpCmkbfKyuwyCByxjQ8lZXrZfFHREzVXo cvEGzi0nlZW9cD7jwV9yWrtbEx/OthIjH8bWGZyeN5Gwd03stpMkRLT6PUrAutxT1160u0q/iqFTs 0Y8maZc90Cqo/sLoYCFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd8Ua-0000000BYDa-2CCH; Fri, 26 Jun 2026 15:29:20 +0000 Received: from out-179.mta1.migadu.com ([95.215.58.179]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd8UX-0000000BYCA-2Yr7 for linux-riscv@lists.infradead.org; Fri, 26 Jun 2026 15:29:19 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1782487742; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A9yV2d4U6Iq5tvwMQAZTQglaDvuPvKN3XGu5+n1GLLQ=; b=wIhePOhyn6G6N5ff0edE/tWPIL0KMu4yLFZwEwWoqZZHrBK6tCDf3vdBAO8t9df+oI6kuQ xLnpFgOEs4zA46/+kNEFwdQe2/mKKSiElfQZLqTo8viWrcXcy9xwbuopsxn4/7w4KV94aW uCiQ2fhh93vV19Hi8UBA0NS234VnMPI= Date: Fri, 26 Jun 2026 15:28:43 +0000 Message-Id: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Brendan Jackman" To: "Takahiro Itazuri" , , Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v12 00/16] Direct Map Removal Support for guest_memfd References: <20260506080753.14517-1-itazur@amazon.com> In-Reply-To: <20260506080753.14517-1-itazur@amazon.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260626_082917_807901_E8B31046 X-CRM114-Status: GOOD ( 15.51 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org T24gV2VkIE1heSA2LCAyMDI2IGF0IDg6MDcgQU0gVVRDLCBUYWthaGlybyBJdGF6dXJpIHdyb3Rl Ogo+IEhpIExvcmVuem8gYW5kIFNlYW4sCj4KPiBBcG9sb2dpZXMgZm9yIHRoZSBkZWxheWVkIHJl cGx5IOKAlCBOaWtpdGEgaXMgbGVhdmluZyBBbWF6b24sIGFuZCBJJ20KPiB0YWtpbmcgb3ZlciB0 aGlzIHNlcmllcyBnb2luZyBmb3J3YXJkLiBUaGFua3MgZm9yIHlvdXIgcGF0aWVuY2UuCj4KPiBP biBUdWUsIEFwciAyMSwgMjAyNiBhdCAwMTo0MDowMFBNICswMDAwLCBMb3JlbnpvIFN0b2FrZX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