From: Narayana Murty N <nnmlinux@linux.ibm.com>
To: Utkarsh Verma <uverma@linux.ibm.com>,
BALATON Zoltan <balaton@eik.bme.hu>
Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, aik@amd.com,
avnish@linux.ibm.com, pbonzini@redhat.com, th.huth@posteo.eu,
sbhat@linux.ibm.com, harshpb@linux.ibm.com,
amachhiw@linux.ibm.com, rathc@linux.ibm.com, philmd@linaro.org,
npiggin@gmail.com, marcandre.lureau@redhat.com, fam@euphon.net,
alex.bennee@linaro.org, richard.henderson@linaro.org
Subject: Re: [RFC PATCH v2 8/8] ppc/spapr: implement vscsi-report-luns call-method for PAPR vSCSI
Date: Wed, 2 Dec 2026 19:32:13 +0530 [thread overview]
Message-ID: <002d224d-fe45-4435-bd77-54e6933fba5c@linux.ibm.com> (raw)
In-Reply-To: <e189ed9f-e2af-4e3e-8baa-7b1f1c9311ac@linux.ibm.com>
Hi
On 08/10/26 2:55 PM, Utkarsh Verma wrote:
>
>
> On 10/8/26 12:01 AM, BALATON Zoltan wrote:
>> On Fri, 2 Oct 2026, uverma@linux.ibm.com wrote:
>>> From: Utkarsh Verma <uverma@linux.ibm.com>
>>>
>>> GRUB (grub-core/disk/ieee1275/ofdisk.c) calls "vscsi-report-luns" on
>>> any PAPR virtual SCSI controller ihandle to enumerate attached LUNs
>>> before attempting to boot from disk. Without this method VOF returns
>>> PROM_ERROR and GRUB cannot find vSCSI disks.
>>>
>>> Add vof_vscsi_report_luns() to build the LUN response table in guest
>>> memory and wire it into vof_call_method().
>>
>> These should go to spapr_vof.c too as they are spapr specific.
>>
>> Regards,
>> BALATON Zoltan
>>
> Sure, will move all this implementation to spapr_vof.c and just add a
> vscsi_report_luns kind of callback function in VofMachineIfClass and
> just call that hook from here.
I agree with moving the implementation to spapr_vof.c.
Instead of introducing a callback specific to vscsi-report-luns,
would it make sense to introduce a generic machine-specific
call-method hook in VofMachineIfClass?
This would allow the machine implementation to handle its own
firmware-specific methods without extending the generic VOF
interface for each new method.
Thanks,
Narayana Murty.
>
> Regards,
> Utkarsh
>
next prev parent reply other threads:[~2026-12-02 14:03 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 5:25 [RFC PATCH v2 0/8] ppc/spapr: VOF disk image (qcow2) boot support uverma
2026-10-02 5:25 ` [RFC PATCH v2 1/8] ppc/spapr: add PReP boot partition detection uverma
2026-12-02 13:25 ` Narayana Murty N
2026-10-02 5:25 ` [RFC PATCH v2 2/8] hw/loader: add load_elf_ram_sym_buf() for in-memory ELF loading uverma
2026-10-06 8:10 ` Utkarsh Verma
2026-10-02 5:25 ` [RFC PATCH v2 3/8] ppc/spapr: add baseline VOF disk boot support uverma
2026-12-02 13:52 ` Narayana Murty N
2026-10-02 5:25 ` [RFC PATCH v2 4/8] ppc/spapr: add VTY backend support to OF read/write/open services uverma
2026-10-07 14:35 ` BALATON Zoltan
2026-10-08 9:17 ` Utkarsh Verma
2026-10-02 5:25 ` [RFC PATCH v2 5/8] ppc/spapr: add block device backend to VOF open/read/write/seek services uverma
2026-10-07 18:20 ` BALATON Zoltan
2026-10-08 9:24 ` Utkarsh Verma
2026-10-08 12:42 ` BALATON Zoltan
2026-12-02 13:59 ` Narayana Murty N
2026-12-02 14:00 ` Narayana Murty N
2026-10-02 5:25 ` [RFC PATCH v2 6/8] spapr_vscsi: add VOF disk nodes to the device tree uverma
2026-10-02 5:25 ` [RFC PATCH v2 7/8] ppc/spapr: strip OF path argument suffix in path_offset uverma
2026-10-02 5:25 ` [RFC PATCH v2 8/8] ppc/spapr: implement vscsi-report-luns call-method for PAPR vSCSI uverma
2026-10-07 18:31 ` BALATON Zoltan
2026-10-08 9:25 ` Utkarsh Verma
2026-12-02 14:02 ` Narayana Murty N [this message]
2026-12-02 14:03 ` Narayana Murty N
2026-10-06 16:49 ` [RFC PATCH v2 0/8] ppc/spapr: VOF disk image (qcow2) boot support Avnish Chouhan
2026-12-02 14:07 ` Narayana Murty N
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=002d224d-fe45-4435-bd77-54e6933fba5c@linux.ibm.com \
--to=nnmlinux@linux.ibm.com \
--cc=aik@amd.com \
--cc=alex.bennee@linaro.org \
--cc=amachhiw@linux.ibm.com \
--cc=avnish@linux.ibm.com \
--cc=balaton@eik.bme.hu \
--cc=fam@euphon.net \
--cc=harshpb@linux.ibm.com \
--cc=marcandre.lureau@redhat.com \
--cc=npiggin@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=rathc@linux.ibm.com \
--cc=richard.henderson@linaro.org \
--cc=sbhat@linux.ibm.com \
--cc=th.huth@posteo.eu \
--cc=uverma@linux.ibm.com \
/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.