Philippe On Mon, Jul 20, 2026 at 2:49 PM Philippe Mathieu-Daudé <[email protected]> wrote: > > Hi, > > On 14/7/26 09:56, Subrahmanya Lingappa wrote: > > Add a meson option and config probe for librpmi so RISC-V machines can > > opt into RPMI support when the library is available. Keep the dependency > > optional so default builds without librpmi continue to work. > > > > Signed-off-by: Subrahmanya Lingappa <[email protected]> > > --- > > Kconfig.host | 3 +++ > > meson.build | 14 ++++++++++++++ > > meson_options.txt | 2 ++ > > scripts/meson-buildoptions.sh | 3 +++ > > 4 files changed, 22 insertions(+) > > > > ignored = [ 'TARGET_XML_FILES', 'TARGET_ABI_DIR' ] > > @@ -4971,6 +4984,7 @@ summary_info += {'TPM support': have_tpm} > > summary_info += {'IGVM support': igvm} > > summary_info += {'libssh support': libssh} > > summary_info += {'lzo support': lzo} > > +summary_info += {'librpmi support': librpmi} > > "rpmi support"? > > > summary_info += {'snappy support': snappy} > > summary_info += {'bzip2 support': libbzip2} > > summary_info += {'lzfse support': liblzfse} > > diff --git a/meson_options.txt b/meson_options.txt > > index a07cb47d35..9f773a7886 100644 > > --- a/meson_options.txt > > +++ b/meson_options.txt > > @@ -204,6 +204,8 @@ option('lzfse', type : 'feature', value : 'auto', > > description: 'lzfse support for DMG images') > > option('lzo', type : 'feature', value : 'auto', > > description: 'lzo compression support') > > +option('librpmi', type : 'feature', value : 'auto', > > + description: 'RISC-V RPMI support') > > Either "RISC-V PMI" or "RPMI". > > > option('pvg', type: 'feature', value: 'auto', > > description: 'macOS paravirtualized graphics support') > > option('rbd', type : 'feature', value : 'auto', > > diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh > > index c003985047..e8a20068e7 100644 > > --- a/scripts/meson-buildoptions.sh > > +++ b/scripts/meson-buildoptions.sh > > @@ -140,6 +140,7 @@ meson_options_help() { > > printf "%s\n" ' libkeyutils Linux keyutils support' > > printf "%s\n" ' libnfs libnfs block device driver' > > printf "%s\n" ' libpmem libpmem support' > > + printf "%s\n" ' librpmi RISC-V RPMI support' > > Ditto, "RPMI support", otherwise: > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > > > printf "%s\n" ' libssh ssh block device support' > > printf "%s\n" ' libudev Use libudev to enumerate host devices' > > printf "%s\n" ' libusb libusb support for USB passthrough' > > @@ -376,6 +377,8 @@ _meson_option_parse() { > > --disable-libnfs) printf "%s" -Dlibnfs=disabled ;; > > --enable-libpmem) printf "%s" -Dlibpmem=enabled ;; > > --disable-libpmem) printf "%s" -Dlibpmem=disabled ;; > > + --enable-librpmi) printf "%s" -Dlibrpmi=enabled ;; > > + --disable-librpmi) printf "%s" -Dlibrpmi=disabled ;; > > --enable-libssh) printf "%s" -Dlibssh=enabled ;; > > --disable-libssh) printf "%s" -Dlibssh=disabled ;; > > --enable-libudev) printf "%s" -Dlibudev=enabled ;; >
Fixed in v4. I changed the user-facing Meson option/help/summary text to "RPMI support" instead of "RISC-V RPMI support". Thanks, Subbu
