From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 527667C for ; Mon, 24 Apr 2023 02:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682304651; x=1713840651; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=GOMTZaSoUp256Vix08jhKCvQRsm1uFL2LGJQqar2An0=; b=JD9UzfxC4dXiSobFfO3muMIsLROnjC+bRXd+Kcd6ozk0SrVu0w4FntyI hPlTSXMVM52Bz1ldKPExrinNI1+Ob3GCnU2RXvITghVSqhJkmylfDrN9+ qtCPQkgRvFrCU+4rI+HbzlJjbjdsHyJT99seayK5aDBVsptTEgm8rlPJb QkgBSKk4bxGNWkstmMboSiwWxAPKUhSCaE7Ryq3c9ytYtDPEECmr8pPLL jkSiT+Yt4eDGzXqLyaITrILiKx/r4SplsGQJhfXo96rOClCGw7elsZ2Yh xDzJRIdsKgmc9jfFSp2aFblmIt7qfR1dExn2xz7W3CAr6lXbTIFRPzqVf w==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="348255079" X-IronPort-AV: E=Sophos;i="5.99,221,1677571200"; d="scan'208";a="348255079" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 19:50:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="723426123" X-IronPort-AV: E=Sophos;i="5.99,221,1677571200"; d="scan'208";a="723426123" Received: from allen-box.sh.intel.com (HELO [10.239.159.127]) ([10.239.159.127]) by orsmga008.jf.intel.com with ESMTP; 23 Apr 2023 19:50:48 -0700 Message-ID: Date: Mon, 24 Apr 2023 10:50:40 +0800 Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cc: baolu.lu@linux.intel.com, Robin Murphy , "kvm@vger.kernel.org" , "iommu@lists.linux.dev" Subject: Re: RMRR device on non-Intel platform Content-Language: en-US To: "Tian, Kevin" , Jason Gunthorpe , Alex Williamson References: <20230420081539.6bf301ad.alex.williamson@redhat.com> <6cce1c5d-ab50-41c4-6e62-661bc369d860@arm.com> <20230420084906.2e4cce42.alex.williamson@redhat.com> <20230420154933.1a79de4e.alex.williamson@redhat.com> From: Baolu Lu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/23/23 4:24 PM, Tian, Kevin wrote: >> From: Jason Gunthorpe >> Sent: Friday, April 21, 2023 8:05 PM >> >> So, after my domain error handling series, the core fix is pretty >> simple and universal. We should also remove all the redundant code in >> drivers - drivers should report the regions each devices needs >> properly and leave enforcement to the core code.. Lu/Kevin do you want >> to take this? >> > > this direction looks good to me. Looks good to me too. I will take this work after Jason's series lands. Best regards, baolu