From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793098262; b=RQLwd1e0ufH527Cn2CF1fPt26XKwCvW2IrB4wsR0U/5JMqPEbYuBEqERutKi3mlCZCCi ZCBBfw1SjH9K8p8F8MaVOrKb1WVUsZ786yL6LBbSySkO1nOSkl+yY+q91Dcg1+XfNPUn6 cmfwI40nX4kTm2L8Z3KdLIMwcw0n3l00X0a+yS1LIX0+MfGXt7wask4vuIPosBJ5F0HTk g+ja3lRCEw+W8OSEX1njHNY9HUARiqoQKfSFB7fzOgFHjyBB1gjnURpkSQ0+l1mUB11cE tc9v78MpKIWEZxHS94CEKk68osvKHeTfKmda/u8omkIzoJVwEsksIu+xGQJ0LC52R5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793098262; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:In-Reply-To:X-Mimecast-Spam-Score:X-Mimecast-MFC-PROC-ID: X-Mimecast-Originator:Content-Type:Content-Disposition; bh=AwIRDSVIZlaoTPRqqTyp6BwANPNi3GUs2aLH5r38dzI=; b=rCXeEt4HfvTN7Egl4TPWGwMeMYqPTHGpgjA6R2t1Qz9IjlSec28QCpo16FnAkLrq0+Xv BSr+k6M20MFmLQER6X+ahAqo1PkHkSB8PovcDrSaIxysWQ0ZzTE4fRkvTC/a55kQAavwK WL/kpqmgM5HhmAf6zw8GCa+ISOW4b4+LWWX2m8xpXrorPKWBfW8gwBDE8qmZxk4Kieeid Fv8Rdn6YSpl7FJf/DFUo7xt28dFSJQ1EfiyPy84dcKrpFNc4PMY4rQX1FjZiyC3dHzxyR MRZQmdcwGGa3jyQ6n1+hSgEYQWXogpy4Yp/jeTIFoD0dmXtwpUyKpgRzryih5ZducAw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=TQkNZj9O; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 A373660A381E for ; Tue, 27 Oct 2026 10:51:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A373660A381E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com 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=TQkNZj9O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793098260; 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=AwIRDSVIZlaoTPRqqTyp6BwANPNi3GUs2aLH5r38dzI=; b=TQkNZj9O0Y3ZyqJrXYOSE4P97vCi8KTidUQuegXO/I4JE+7UL4jpHuDuRyecsVbdo+5o2u +JOEt29k2bwKNrIu/QBhSODrx/8AO17kXDut4CvW4UN8uiI5Th0aC0cSOzP488i2eFPIU2 jkCsY55LsKlZUGncZQ1MDZfWLOD2C4A= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-UT0bYEIANlW0aBcOnveo1w-1; Tue, 27 Oct 2026 06:50:57 -0400 X-MC-Unique: UT0bYEIANlW0aBcOnveo1w-1 X-Mimecast-MFC-AGG-ID: UT0bYEIANlW0aBcOnveo1w_1793098256 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4a17741243eso29840055e9.0 for ; Tue, 27 Oct 2026 03:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793098256; x=1793703056; 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=AwIRDSVIZlaoTPRqqTyp6BwANPNi3GUs2aLH5r38dzI=; b=1I6mw0Us5F2s5y5I42wNPclDHT+tLLaI48MrbSs5A5rzL1X40TY/HAAVu2xQl3lVYy BFtAC6crQrVudWnqi1Zhw8EERpsC1m88WIdRIeNsYyGAoVO0yXObrGf0wTUqYdpnduqz OhsiAuU3Bp5nyauCV1yEj/kiXbQbCRNCdFLie70ni8W4fZp7BSmyTo1GFzGQ8G6uWNbH S0kglhaNnCWM0VxEQXo6OdAJIGF2Vt5x99yUqEHakyAS6/OnwAiWwfr4che7Ueh97Nw8 kzFRFrmBQ3+7hdT1X+CufSMNHESpLhzsXdvdwN46vO0I+5KjaXF0nQuBR3nyZZOPEPZw PJpA== X-Forwarded-Encrypted: i=1; AKwUvBx3f2GtB1//k5ABGXBY1qPBLsB7EVpf1LJ/ltZoZIGtJ2APO1vY5HE/Po37qlGvHMYHLeNWYs9h8EUVnIZWPg==@lists.linux.dev X-Gm-Message-State: AFq9FYK/SoIK1WRKOih6JHkb/fcMVP1t5twlvQXvqE0qPIfLNehUD0eq 1QHzo2dXwQ38bUCOts/slilTeWB6nCzGyr/SlRY22jY4ShZicQVCxeVYD8Zt/ZDQ46rjY6FDafw sn5kyUSmBokZP8WYRsb8YqJI4Ux8dN2l0QIx5PmMM7ELqJ16xKUkbDCZk9JZiWz1bsSCR X-Gm-Gg: AYBFou1MVZ8eUrEYlw0Dtza0k/rxdTxlU7OeyYmFE80WRoiXz776GWNBTNGxG/y24O5 y1dv50Qatz6q56a05O86pkVcfI36uCE4r2KP2vfhq1n7ZhnCNSus/TnlK8h2XN/Mn7SY9zUHrF9 Cb6HNjWOVnjo6FZ7mmnmQiblpz6hry8C6YXIixoGBY1hjGAy1doV2bPr5BaAGJA15MR4VFxvpeT XZ5NEbp/iqrmoxlr3JGMs6VnI7CFaeFCuDBermerQUVBltZR55B6I1cdXnd6HK7Bnh7N5IIQJr1 VCxIsOdjPM1B2QXCnEB5d91/uhDmT0r1cGyGiybdQgy7/EdGa74NBysMdi7EsU/Epd8= X-Received: by 2002:a05:600c:4e0e:b0:4a2:397:73f6 with SMTP id 5b1f17b1804b1-4a35ac9d227mr178192065e9.8.1793098255882; Tue, 27 Oct 2026 03:50:55 -0700 (PDT) X-Received: by 2002:a05:600c:4e0e:b0:4a2:397:73f6 with SMTP id 5b1f17b1804b1-4a35ac9d227mr178191625e9.8.1793098255318; Tue, 27 Oct 2026 03:50:55 -0700 (PDT) Received: from redhat.com ([2a0d:6fc0:1536:fc00:b838:383:1c7:6e81]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a35a06da5fsm171269355e9.3.2026.10.27.03.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2026 03:50:54 -0700 (PDT) Date: Tue, 27 Oct 2026 06:50:51 -0400 From: "Michael S. Tsirkin" To: Francesco Valla Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Haixu Cui , Jason Wang , Viresh Kumar , Xuan Zhuo , Eugenio =?iso-8859-1?Q?P=E9rez?= , Mathieu Poirier , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux.dev Subject: Re: [PATCH v2 0/2] Add devicetree bindings for spi-virtio Message-ID: <20261027065001-mutt-send-email-mst@kernel.org> References: <20261027-spi-virtio-bindings-v2-0-67927b24b9d4@valla.it> X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 In-Reply-To: <20261027-spi-virtio-bindings-v2-0-67927b24b9d4@valla.it> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: vHCs1gfWLrDJM4-XaUBAi7_rXW-xLN6fCJ04fLc0n3I_1793098256 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 27, 2026 at 08:26:32AM +0100, Francesco Valla wrote: > When a virtio transport exposes a non-discoverable bus, the devicetree > can be used to declare its child devices (if any) and/or other > properties. To allow for that, the virtio framework searches for a node > with a suitable compatible in virtio_device_of_init() when registering > a device [1]; such compatible takes the form "virtio,deviceXX", where > XX is the hexadecimal representation of the virtio device ID as defined > by the virtio specification. > > This patchset thus does not introduce a new functionality, but allows > proper validation of nodes tied to spi-virtio devices, aligning SPI to > what is already being done for e.g. I2C and GPIO virtio devices. > It was sent initially as part of a different patchset [2], but since it > complements a functionality that is de-facto already there and is useful > beyond that specific use case it was sent separately (also following the > maintainer's feedback there to separate it from remoteproc-specific > changes). > > This was tested both with virtio-mmio using qemu-system-aarch64 and with > remoteproc-virtio with a Zephyr backend (with relevant remoteproc-virtio > parts still not not upstreamed - see [2]). > > I added myself as reviewer for the spi-virtio driver to be CC'd on any > patch involving the new bindings. > > Thank you! > > Regards, > Francesco > > [1] https://elixir.bootlin.com/linux/v7.2.8/source/drivers/virtio/virtio.c#L488 > [2] https://lore.kernel.org/linux-remoteproc/20260916-remoteproc_virtio_map-v1-0-dac8c5eb4aa9@valla.it/ > > Signed-off-by: Francesco Valla > --- I hope this can be merged through the devicetree maintainers, I have no idea. MAINTAINERS changes needs an ack from existing maintainers, of course. > Changes in v2: > - Expanded the commit message to better explain the functionality and > the chosen compatible. > - Redundant pieces dropped from bindings. > - Link to v1: https://patch.msgid.link/20260929-spi-virtio-bindings-v1-0-6a0eef3213b3@valla.it > > To: Haixu Cui > To: Francesco Valla > To: Mark Brown > To: Rob Herring > To: Krzysztof Kozlowski > To: Conor Dooley > Cc: virtualization@lists.linux.dev > Cc: linux-spi@vger.kernel.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > > --- > Francesco Valla (2): > dt-bindings: spi: add spi-virtio > MAINTAINERS: add Francesco as spi-virtio reviewer > > .../devicetree/bindings/spi/spi-virtio.yaml | 46 ++++++++++++++++++++++ > MAINTAINERS | 2 + > 2 files changed, 48 insertions(+) > --- > base-commit: d135ab453a7400a34930bdda1ef4bdc8acfac80e > change-id: 20260927-spi-virtio-bindings-f4e350b2709a > > Best regards, > -- > Francesco Valla