Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1795646rbb; Tue, 27 Feb 2024 01:02:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVeEI2xciOnnSktQouv6OyVGKzPTyTR6RK95b9RSs4K4VNGBuIisfkYfSQW8/1KoAQGFPkPZZ3HBiyAc48A/yQUGzI1IHRSCYrY4FUVHA== X-Google-Smtp-Source: AGHT+IHBFYpyboaEGTzfAmIJgwkjL/1TC7c+FnrKbT8KiHuYHlGYfOhcQCqRqhx7G+L28lCyRd/u X-Received: by 2002:a17:90a:bf13:b0:299:3482:d162 with SMTP id c19-20020a17090abf1300b002993482d162mr11788767pjs.12.1709024551680; Tue, 27 Feb 2024 01:02:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709024551; cv=pass; d=google.com; s=arc-20160816; b=Q2jrhHdpVoFSFkk/STnEg9HWtAb0wU8uAAOSS5JrlLI8h68f6OSrNEJhTzG/LX3Fx/ ZelShHfC8rKOKhmYH4zb92dmVbU9eDuYNnC7J+L9YtA5P7YO9YYOFgHa1MAUnaJG/rAA Bku+OAI16Y6KmLNCX6lGlN0zihVcgN/sxbmWFTWVoKz+v0NF2nso3LkYscYZPpbUKdCJ RhW3bh/Ehc2uH+x05YdjBQqYFOWy4qqsVvtgx6uUrpZYX4exhf2aguoJMNTlrBQpUMq5 hgdHF79llUkXtwokhDB2tePrsiRvkDU+R4jUNKcTwr8CzIrHd5anLVBQ5mhDra27I1Le x5lA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=B88acvmk3x+zIRZR32kMKESL53/0EUlRhoWm47p8/0I=; fh=Ngas0XEbwwGOyl6lgT5xze5Vy293DMscEvzhvVt91yU=; b=XWt52ZcFUVnyWe0jKKsiU96VBHjd2LRvohwNefzs+/W45d4tms1pZx0/UorgQE+46O JIZzNCdHdd6F1cdqHYr1Y9FAm5EmwJlZngjcurQlcGZxqFQQxksgS261RkPP+nyZq4zY l4vCCOcZAFrDT0O+2ZPIW5Sh4xyP8PEsMR7DaEZURcjE1OzASop/A7ihNVayyJn513t0 5CXbkOgNXR5Ng7ZHBTF/M76jAKSxicUyQNJ9Yu66VK8Mk961cOPEOlEnXnRoznXbbPUH maYNRraFo1LEyySC3pBwTDpC1jPx2q5yFEWToDBT46q+Wa4M6oJpP67sfF0//VBhiJL0 5aAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=co+35iFF; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-82887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id li13-20020a17090b48cd00b0029aa020272asi5094344pjb.3.2024.02.27.01.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 01:02:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=co+35iFF; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-82887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 085E4B22959 for ; Tue, 27 Feb 2024 08:49:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44E80130E3B; Tue, 27 Feb 2024 08:49:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="co+35iFF" Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 897C312FB34 for ; Tue, 27 Feb 2024 08:49:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709023770; cv=none; b=MrHQTBDXoWpJTMKoSjYwU68gRD1YBm9l6UpCKU9FMqq2Bsy8Y0sOsXFD9gyWWhp6qtQeRTGxlOVT/f025BPDjcxnl691MSlCD5moKXdI+rlaxoiYUsqj3SEeYAiMep2TuGn3Ax+sLdNM7ZAA662BexyeG1F6d58NyaWLM5gNIBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709023770; c=relaxed/simple; bh=c2aw4Hw3anU8sRB0mw812/BpQbNSsLNusQqyDnPMQ+M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uQg5TQzy4pn72Z5bvabcUPJw+yUVPI11vRyqSe4VprUU2QcUj5nPhCIzCx6gO3L2NBStzC+pddZ+LADu2PU7TQivNFfx82cPi+6gGJegMCawnSf1h6yjrWl0PtO1H4i8XvteqKyEPPN74T2/fcXEwlxk3saPAa5eKdOCBn1KOEQ= 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=co+35iFF; arc=none smtp.client-ip=91.218.175.180 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 Date: Tue, 27 Feb 2024 08:49:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709023766; 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=B88acvmk3x+zIRZR32kMKESL53/0EUlRhoWm47p8/0I=; b=co+35iFFA/D2wKUXn7nYHD6NVdDySS+UuNx5G2ngPxXIyl0msY/tX6gEHpymCPeo+6sFQo WesPXGCplfJLDUVn6T0s2Fbj7Vi/qFridYIFJGgAwfFFvVX5IA3TIXXjnTHJB9qOTOkwB9 OZ6IXWi9a57oPkJFIWNi73/h0BPEt2Y= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Ankit Agrawal Cc: "wangjinchao@xfusion.com" , "shahuang@redhat.com" , "catalin.marinas@arm.com" , "ryan.roberts@arm.com" , "stefanha@redhat.com" , "yi.l.liu@intel.com" , "david@redhat.com" , Jason Gunthorpe , "lpieralisi@kernel.org" , "gshan@redhat.com" , "brauner@kernel.org" , "rananta@google.com" , "alex.williamson@redhat.com" , "suzuki.poulose@arm.com" , "kevin.tian@intel.com" , "surenb@google.com" , "ricarkol@google.com" , "linus.walleij@linaro.org" , "james.morse@arm.com" , "ardb@kernel.org" , "will@kernel.org" , "akpm@linux-foundation.org" , "maz@kernel.org" , "bhe@redhat.com" , "reinette.chatre@intel.com" , "yuzenghui@huawei.com" , "andreyknvl@gmail.com" , "linux-mm@kvack.org" , "mark.rutland@arm.com" , Dan Williams , Andy Currid , Alistair Popple , Matt Ochs , "linux-kernel@vger.kernel.org" , Aniket Agashe , Neo Jia , "kvm@vger.kernel.org" , John Hubbard , "kvmarm@lists.linux.dev" , Zhi Wang , Kirti Wankhede , Vikram Sethi , "linux-arm-kernel@lists.infradead.org" , "Tarun Gupta (SW-GPU)" Subject: Re: [PATCH v9 0/4] KVM: arm64: Allow the VM to select DEVICE_* and NORMAL_NC for IO memory Message-ID: References: <20240224150546.368-1-ankita@nvidia.com> <170899100569.1405597.5047894183843333522.b4-ty@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Migadu-Flow: FLOW_OUT On Tue, Feb 27, 2024 at 08:45:38AM +0000, Ankit Agrawal wrote: > >> > >> Currently, KVM for ARM64 maps at stage 2 memory that is considered device > >> with DEVICE_nGnRE memory attributes; this setting overrides (per > >> ARM architecture [1]) any device MMIO mapping present at stage 1, > >> resulting in a set-up whereby a guest operating system cannot > >> determine device MMIO mapping memory attributes on its own but > >> it is always overridden by the KVM stage 2 default. > >> > >> [...] > > > > High time to get this cooking in -next. Looks like there aren't any > > conflicts w/ VFIO, but if that changes I've pushed a topic branch to: > > > >? https://git.kernel.org/pub/scm/linux/kernel/git/oupton/linux.git/log/?h=kvm-arm64/vfio-normal-nc > > > > Applied to kvmarm/next, thanks! > > Thanks Oliver for your efforts. Pardon my naivety, but what would the > sequence of steps that this series go through next before landing in an > rc branch? Also, what is the earliest branch this is supposed to land > assuming all goes well? We should see this showing up in linux-next imminently. Assuming there are no issues there, your changes will be sent out as part of the kvmarm pull request for 6.9. At least in kvmarm, /next is used for patches that'll land in the next merge window and /fixes is for bugfixes that need to go in the current release cycle. -- Thanks, Oliver