All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>,
	Oleksii Moisieiev <Oleksii_Moisieiev@epam.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Juergen Gross" <jgross@suse.com>,
	"Julien Grall" <julien@xen.org>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
	"Grygorii Strashko" <grygorii_strashko@epam.com>
Subject: Re: [RFC PATCH v4 5/8] xen/domctl: extend XEN_DOMCTL_assign_device to handle not only iommu
Date: Thu, 22 May 2025 08:18:35 +0200	[thread overview]
Message-ID: <862c0fe6-8204-4c85-92f2-388d44e01af3@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2505211715210.147219@ubuntu-linux-20-04-desktop>

On 22.05.2025 02:25, Stefano Stabellini wrote:
> On Mon, 19 May 2025, Oleksii Moisieiev wrote:
>> +        ret = dt_find_node_by_gpath(domctl->u.assign_device.u.dt.path,
>> +                                    domctl->u.assign_device.u.dt.size, &dev);
>> +        if ( ret )
>> +            return ret;
>> +
>> +        ret = sci_assign_dt_device(d, dev);
>> +        if ( ret )
>> +            break;
>> +
>> +        break;
>> +    default:
>> +        /* do not fail here as call is chained with iommu handling */
> 
> It looks like this should be an error

The way the hooking is done at the call site, I think it can't be an error
here. But I previously questioned the way that hooking is done.

Jan


  reply	other threads:[~2025-05-22  6:18 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19 15:50 [RFC PATCH v4 0/8] xen/arm: scmi: introduce SCI SCMI SMC multi-agent support Oleksii Moisieiev
2025-05-19 15:50 ` [RFC PATCH v4 2/8] xen/arm: scmi-smc: update to be used under sci subsystem Oleksii Moisieiev
2025-05-19 23:29   ` Stefano Stabellini
2025-05-19 15:50 ` [RFC PATCH v4 3/8] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent Oleksii Moisieiev
2025-05-20  0:18   ` Stefano Stabellini
2025-05-19 15:50 ` [RFC PATCH v4 1/8] xen/arm: add generic SCI subsystem Oleksii Moisieiev
2025-05-19 23:45   ` Stefano Stabellini
2025-05-19 15:50 ` [RFC PATCH v4 5/8] xen/domctl: extend XEN_DOMCTL_assign_device to handle not only iommu Oleksii Moisieiev
2025-05-19 18:54   ` Jan Beulich
2025-05-22  0:25   ` Stefano Stabellini
2025-05-22  6:18     ` Jan Beulich [this message]
2025-06-12 11:42     ` Oleksii Moisieiev
2025-06-12 13:10       ` Grygorii Strashko
2025-06-18  0:04       ` Stefano Stabellini
2025-06-19 16:15         ` Oleksii Moisieiev
2025-06-22 21:30           ` Stefano Stabellini
2025-06-24  8:42             ` Oleksii Moisieiev
2025-06-24  8:47               ` Jan Beulich
2025-06-24  8:48                 ` Oleksii Moisieiev
2025-06-23  7:15           ` Jan Beulich
2025-06-23  7:28             ` Oleksii Moisieiev
2025-06-25 19:56             ` Oleksii Moisieiev
2025-06-26  6:10               ` Jan Beulich
2025-06-26 13:07                 ` Oleksii Moisieiev
2025-06-26 14:41                   ` Jan Beulich
2025-06-26 15:01                     ` Oleksii Moisieiev
2025-05-19 15:50 ` [RFC PATCH v4 6/8] xen/arm: scmi: introduce SCI SCMI SMC multi-agent driver Oleksii Moisieiev
2025-05-23 20:06   ` Stefano Stabellini
2025-06-02  7:17     ` Bertrand Marquis
2025-06-12 12:03       ` Oleksii Moisieiev
2025-06-12 12:10       ` Grygorii Strashko
2025-06-17 23:38         ` Stefano Stabellini
2025-06-18  7:22           ` Julien Grall
2025-06-19 16:15             ` Oleksii Moisieiev
2025-06-22 21:50               ` Stefano Stabellini
2025-06-19 16:15           ` Oleksii Moisieiev
2025-06-05 22:44     ` Julien Grall
2025-06-12 12:03     ` Oleksii Moisieiev
2025-06-17 23:22       ` Stefano Stabellini
2025-06-17 23:56         ` Stefano Stabellini
2025-06-19 16:15         ` Oleksii Moisieiev
2025-06-22 22:15           ` Stefano Stabellini
2025-06-23  8:06             ` Julien Grall
2025-06-23 19:27               ` Stefano Stabellini
2025-06-23 20:38                 ` Julien Grall
2025-06-23 20:42                   ` Stefano Stabellini
2025-06-23 21:58                     ` Julien Grall
2025-06-25 19:47             ` Oleksii Moisieiev
2025-06-18  7:28   ` Julien Grall
2025-06-19 16:15     ` Oleksii Moisieiev
2025-05-19 15:50 ` [RFC PATCH v4 4/8] docs: arm: add docs for SCMI over SMC calls forwarding driver Oleksii Moisieiev
2025-05-19 15:50 ` [RFC PATCH v4 7/8] docs: arm: add SCI SCMI SMC multi-agent driver docs Oleksii Moisieiev
2025-05-19 15:50 ` [RFC PATCH v4 8/8] docs: arm: proposal to add separate SCMI node for Xen agent Oleksii Moisieiev
2025-05-23 20:19   ` Stefano Stabellini
2025-06-12 12:03     ` Oleksii Moisieiev
2025-06-18  0:35       ` Stefano Stabellini
2025-06-19 16:15         ` [RFC PATCH v4 8/8] docs: armproposa: l " Oleksii Moisieiev
2025-06-22 21:57           ` Stefano Stabellini
2025-06-23  8:02             ` Julien Grall
2025-06-25 19:47               ` Oleksii Moisieiev
2025-06-25 20:32                 ` Julien Grall
2025-06-29 15:41                   ` Oleksii Moisieiev
2025-06-29 18:34                     ` Julien Grall
2025-06-30 11:57                       ` Oleksii Moisieiev
2025-06-30 12:13                         ` Julien Grall
2025-06-30 22:33                           ` Stefano Stabellini
2025-06-05 22:40 ` [RFC PATCH v4 0/8] xen/arm: scmi: introduce SCI SCMI SMC multi-agent support Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=862c0fe6-8204-4c85-92f2-388d44e01af3@suse.com \
    --to=jbeulich@suse.com \
    --cc=Oleksii_Moisieiev@epam.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=bertrand.marquis@arm.com \
    --cc=grygorii_strashko@epam.com \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.