From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B41C91B81CA for ; Tue, 31 Mar 2026 00:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774915418; cv=none; b=DjXc26SyIt/6gGYAVYEchfIePQ50Eqtri0lV9yrkhIvTsWyhG8IQz3o3IDUn8Tt5xBiXV37md6IPm1E12XbkXmSzbuLcYSfAs1BNmz+E4MjjfWNWZuVSe8r1w+BbbFk5VEQAwtwH1RvDHXCuKDIIzSQE61Zni/aGrW/xwcD38fM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774915418; c=relaxed/simple; bh=tGFV2VhgTREgrfP98G0uJ3HUP/CSGaSbu+qGayezE0E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=olZ+Ax+2ZX4P6Dm+zB0anbiXdHHzvio27Bl/+j+Gc3/TUFU53+4keZDH79WL0WYmI71xLGx1aeimfEuA/2zevp0KhhAJQPf9MuX/Y+1Fz+9nsdge+mtnqpqLP4stClqwFppFdnyN8DvK95fW3LUX8DY750QMmd3EaUj88jsFqbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=SLP4FRdH; arc=none smtp.client-ip=209.85.222.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="SLP4FRdH" Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-8d006a80ccbso647924185a.2 for ; Mon, 30 Mar 2026 17:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1774915416; x=1775520216; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=W4YBgDlQG7t09O0fcPskt9PfuzfmSkfNvE01lxkkeEk=; b=SLP4FRdHz+CzxQ6VGVwelbz2oEWoQ1X35DiIGfJpcj0QPxlYn/KmJAsUuNzt6fcjDS oWFof3bAvc5j9KdXtQI9f0VMQa0DvcYaweoG2FV3kW+pV2IW7exO/w0Jq5JoXb7RzBFU +adMRpEIOxmBYmoJ6Cd4CIPGogUaGjpgg9R7KlEUEusODFVhLu9PmurFQGEwwH568in0 /c3nKwBolvQhoYhiQw+G+W9H4e+vTwj4jenX2n+3SNc/Hx90+MZzdERumY/6y3+1RkKq xHRskO965ayYetBnW41UBqBIEHmT4XK4G3bUOJVLeZZjQms3kAdDJ6ChpuO093uiFxnf Q5Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774915416; x=1775520216; h=in-reply-to:content-disposition: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; bh=W4YBgDlQG7t09O0fcPskt9PfuzfmSkfNvE01lxkkeEk=; b=pwGhDYzHQ4A+X01kyUiany03hangqqIP3PPR1oiZssJEG1Z3IgQ0s4uucar9SCqurw D7mQD014Ya2NiOfBotEwoYZHiWViQFUDLU2uFbdG3p1iTDCC9aLGEN97EYx91C6hbfBs JVBdPjoNRYogM5bElo+plZ2kOc2PI6GrVmO5TbfeSH4dfOIdV3VLITCHEmvDlTrh9uK+ eTHF+w6NO5uKXv31YlzXGfvMhKt7sckVeiYmWptN87VawMGc7dtQ0N6GmSg18aTiUx3C MmwCmJgVXMbk2T0QcP6jzeGxRrsowop3LCVCEBNEwEUpqtDvq3BmTCaS3PBrVf9R6CXj ivBg== X-Forwarded-Encrypted: i=1; AJvYcCUtcqeJgM6ypCroc3RFWbGcqv2b96shlNgXN9Jj9/MiUOwZOjuW0KK7jP8xyf25L6W9q6Y=@vger.kernel.org X-Gm-Message-State: AOJu0YyFd8s4MRf6nhH26JApU7c/6QyCG6KIay9d7BRsLajVe7cG47kM EoGmNy/N6QB2snCce1CzB51LMTbzrHhDFQSCbprBbnd9WMQB2jHZEqCzLv4ZKm9z9Ys= X-Gm-Gg: ATEYQzx6ppMCv6tmEmPUWpp+kXa90I3cdfs75ba2bQysrkYUagCLBpKKVU/1LGfNiPI a0I1F0B9sK8RzHj1jc5105rS4zcfvpgNtjjvmhjz2QnhK+sZ3Dj+0RP6M366EL9jqRdKHp8V8D9 6xfbkMXf29s/d0dHT7mnmyOZFe64TIXQ4udK/+qx9jF1+ToSs/3u9cVBiKok+nPozaMJN6AKF0/ 10/kZsnzE/RBLcSodyeKGkGjSt9Vkk4KAuB8Hr85gNLoqBrV9KRGrOK3Xmm9mWFBY6Y5BZUXbmo QPqfnHPDc4hChSr4YFmaAKMZwsAWwJbRWezKao+wAYLUrE+sFLgdYDfNWw/jvNctaPYvEVUO4EV H2Iqu+Debk2/USQ1xyNQMpzwsQy9AMo3TVuE6PI8K3aO/Rxj23gdt+VE3INPpMngM4XfMezDp/5 8NRq1murPPhsedPSc8z8ijF3NncB6t6YsSjvhoeNPrhnGf/dCR6uueGuPC1eL5Zazm87CKuA== X-Received: by 2002:a05:620a:4482:b0:8ca:fe5c:ea6d with SMTP id af79cd13be357-8d01c842aa8mr1753223385a.59.1774915415598; Mon, 30 Mar 2026 17:03:35 -0700 (PDT) Received: from ziepe.ca (mctnnbsa70w-159-2-73-22.dhcp-dynamic.fibreop.nb.bellaliant.net. [159.2.73.22]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8d02806a37bsm712637385a.34.2026.03.30.17.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 17:03:34 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1w7MZy-00000005rSd-0n0u; Mon, 30 Mar 2026 21:03:34 -0300 Date: Mon, 30 Mar 2026 21:03:34 -0300 From: Jason Gunthorpe To: Alex Williamson Cc: Niklas Schnelle , Farhan Ali , Julian Ruess , wintera@linux.ibm.com, ts@linux.ibm.com, oberpar@linux.ibm.com, gbayer@linux.ibm.com, Yishai Hadas , Shameer Kolothum , Kevin Tian , mjrosato@linux.ibm.com, raspl@linux.ibm.com, hca@linux.ibm.com, agordeev@linux.ibm.com, gor@linux.ibm.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v8 2/3] vfio/ism: Implement vfio_pci driver for ISM devices Message-ID: <20260331000334.GI246076@ziepe.ca> References: <20260325-vfio_pci_ism-v8-0-ddc504cde914@linux.ibm.com> <20260325-vfio_pci_ism-v8-2-ddc504cde914@linux.ibm.com> <4096cb9d402b1aabc9667d450221cb0922e78d90.camel@linux.ibm.com> <3d6457b9-715a-4cbb-9c69-d8a7e7473c89@linux.ibm.com> <64e3158a441c79c55febead9aac956c31f034fb9.camel@linux.ibm.com> <20260330093646.03b0455f@shazbot.org> <20260330155651.GD246076@ziepe.ca> <20260330120945.023b2295@shazbot.org> <20260330181645.GE246076@ziepe.ca> <20260330123925.713edac4@shazbot.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260330123925.713edac4@shazbot.org> On Mon, Mar 30, 2026 at 12:39:25PM -0600, Alex Williamson wrote: > Yes, that would be the ideal balance of enabling larger BARs while > retaining compatibility for existing devices. Sounds like we'll > continue down the variant driver path for this one-off device for > now. It remains fairly self contained so long as we don't add more > regions for vfio-pci-core to manage. > > This could be a good project if someone is looking though, especially > if it had a build-time config option to set the minimum region size so > we can exercise it before we hit 1TB BARs. Thanks, Well, it took claude an hour to vibe code a draft from a four sentence prompt.. I see many things that need changing/cleaning in here, but the patch strategy and general idea looks sound. I guess another day of effort would probably get things into something presentable. We are not so far away - maybe the variant driver path is not necessary? https://github.com/jgunthorpe/linux/commits/vfio_maple_tree/ Jason