[PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-11-20 Thread Sughosh Ganu
Add support for specifying the parameters needed for capsule generation through a config file, instead of passing them through command-line. Parameters for more than a single capsule file can be specified, resulting in generation of multiple capsules through a single invocation of the command.

[PATCH 4/4] test: capsule: Generate capsules through config file

2023-11-20 Thread Sughosh Ganu
Add logic to generate capsules through a config file while testing the EFI capsule update functionality. Capsule generation through config file is enabled on the sandbox variant. Signed-off-by: Sughosh Ganu --- test/py/tests/test_efi_capsule/capsule_gen_binman.dts | 2 ++

[PATCH 3/4] sandbox: capsule: Add a config file for generating capsules

2023-11-20 Thread Sughosh Ganu
Support has been added to the mkeficapsule tool to generate capsules by parsing the capsule parameters through a config file. Add a config file for generating capsules. These capsules will be used for testing the capsule update feature on sandbox platform. Enable generation of capsules through

[PATCH 2/4] doc: Document capsule generation through a config file

2023-11-20 Thread Sughosh Ganu
The UEFI capsule can now be generate by specifying the capsule parameters through a config file. Additionally, the capsules can be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- doc/develop/uefi/uefi.rst | 70

[PATCH 0/4] Generate capsules from config files

2023-11-20 Thread Sughosh Ganu
Add support for generating capsules through a config file. Multiple capsules can be generated through a single invocation of the mkeficapsule tool, where the capsule parameters are fetched from the config file. The format of the config file pretty similar to the one used by the capsule

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-20 Thread Hector Martin
On 2023/11/20 21:15, Marek Vasut wrote: > On 11/20/23 11:45, Hector Martin wrote: >> >> >> On 2023/11/20 11:09, Marek Vasut wrote: >>> On 11/20/23 00:17, Shantur Rathore wrote: On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote: > > On 10/27/23 01:16, Hector Martin wrote: >>

Re: [PATCH v2 03/12] cmd: bootefi: carve out EFI boot manager interface

2023-11-20 Thread AKASHI Takahiro
On Tue, Nov 21, 2023 at 04:38:12AM +0100, Heinrich Schuchardt wrote: > On 11/21/23 02:29, AKASHI Takahiro wrote: > > Carve EFI boot manager related code out of do_bootefi_image() in order > > to move boot manager specific code into library directory in the later > > commit. > > > > Signed-off-by:

Re: [PATCH v2 02/12] cmd: bootefi: re-organize do_bootefi()

2023-11-20 Thread AKASHI Takahiro
Hi Heinrich, On Tue, Nov 21, 2023 at 04:31:40AM +0100, Heinrich Schuchardt wrote: > On 11/21/23 02:29, AKASHI Takahiro wrote: > > Replicate some code and re-organize do_bootefi() into three cases, which > > will be carved out as independent functions in the next two commits. > > > >

Re: [PATCH v2 03/12] cmd: bootefi: carve out EFI boot manager interface

2023-11-20 Thread Heinrich Schuchardt
On 11/21/23 02:29, AKASHI Takahiro wrote: Carve EFI boot manager related code out of do_bootefi_image() in order to move boot manager specific code into library directory in the later commit. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 43 ---

Re: [PATCH v2 02/12] cmd: bootefi: re-organize do_bootefi()

2023-11-20 Thread Heinrich Schuchardt
On 11/21/23 02:29, AKASHI Takahiro wrote: Replicate some code and re-organize do_bootefi() into three cases, which will be carved out as independent functions in the next two commits. Signed-off-by: AKASHI Takahiro --- cmd/Kconfig | 15 ++-- cmd/bootefi.c| 82

[PATCH v3] smbios: arm64: Ensure table is written at a good address

2023-11-20 Thread Simon Glass
U-Boot typically sets up its malloc() pool near the top of memory. On ARM64 systems this can result in an SMBIOS table above 4GB which is not supported by SMBIOSv2. Work around this problem by automatically choosing an address below 4GB (but as high as possible), if needed. Tell efi_loader about

Pull request efi-2024-01-rc4

2023-11-20 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 24ca49b33af98d54d6cd2e845f071f6565345ffd: Prepare v2024.01-rc3 (2023-11-20 08:43:46 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2024-01-rc4 for you to fetch changes up to

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-20 Thread Simon Glass
Hi Shantur, On Sun, 19 Nov 2023 at 15:47, Shantur Rathore wrote: > > Hi Simon, > > On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote: > > > > When a USB device is unbound, it causes any bootflows attached to it to > > be removed, via a call to bootdev_clear_bootflows() from > >

Re: [PATCH 1/1] efi_loader: fix efi_show_tables()

2023-11-20 Thread Simon Glass
Hi Heinrich, On Mon, 20 Nov 2023 at 18:10, Heinrich Schuchardt wrote: > > Since commit 041840eeeb12 ("efi: Split out table-listing code into a new > file") the `efi tables` command prints random numbers instead of GUIDs. > %pUl expects a pointer to a GUID not to a string. > > Set maintainer for

Re: [PATCH v2 3/6] smbios: Use SMBIOS 3.0 to support an address above 4GB

2023-11-20 Thread Simon Glass
Hi Heinrich, On Mon, 20 Nov 2023 at 19:11, Heinrich Schuchardt wrote: > > On 10/15/23 04:45, Simon Glass wrote: > > When the SMBIOS table is written to an address above 4GB a 32-bit table > > address is not large enough. > > > > Use an SMBIOS3 table in that case. > > > > Note that we cannot use

Re: [PATCH v3 07/32] bootm: Simplify arguments for bootm_pre_load()

2023-11-20 Thread Simon Glass
Hi Ilias, On Mon, 20 Nov 2023 at 14:02, Ilias Apalodimas wrote: > > Hi Simon, > > On Sat, 18 Nov 2023 at 23:06, Simon Glass wrote: > > > > Move the argument decoding to the caller, to avoid needing to pass the > > command-line arguments. > > > > Add a function comment while we are here. > > > >

Re: [PATCH] libretech-cc: Populate SMBIOS information

2023-11-20 Thread Simon Glass
On Mon, 20 Nov 2023 at 13:16, Tom Rini wrote: > > Enable CONFIG_SYSINFO_SMBIOS and populate the nodes so that Linux can > eventually display this information > > Signed-off-by: Tom Rini > --- > Posting this as this was the easiest platform for me to test some SMBIOS > related patches on and I

Re: [PATCH] drivers: misc: Kconfig: Fix SPL_FS_LOADER prompt

2023-11-20 Thread Simon Glass
On Mon, 20 Nov 2023 at 13:22, Alexander Gendin wrote: > > Both FS_LOADER and SPL_FS_LOADER have the same menu prompt. > To avoid confusion, make prompt for SPL_FS_LOADER different. > > Signed-off-by: Alexander Gendin > --- > drivers/misc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/2] global: Clean up arch/*/dts/Makefile

2023-11-20 Thread Simon Glass
Hi Tom, On Sun, 19 Nov 2023 at 13:28, Tom Rini wrote: > > On Sun, Nov 19, 2023 at 12:09:07PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 17 Nov 2023 at 15:52, Tom Rini wrote: > > > > > > With commit 3609e1dc ("dts: automatically build necessary .dtb files") > > > we now have logic

Re: [PATCH 0/5] smbios: Deal with tables beyond 4GB

2023-11-20 Thread Simon Glass
Hi Heinrich, On Mon, 20 Nov 2023 at 18:20, Heinrich Schuchardt wrote: > > On 10/8/23 23:36, Simon Glass wrote: > > When the malloc() region extends beyond 4GB on ARM we may end up with > > an SMBIOS table in that region. > > > > Add support for writing an SMBIOS3 table, which supports a 64-bit >

Re: [PATCH 2/3] configs: keystone2: Do not include hardware.h

2023-11-20 Thread Simon Glass
Hi Tom, On Mon, 20 Nov 2023 at 08:26, Tom Rini wrote: > > On Mon, Nov 20, 2023 at 08:49:32AM -0600, Andrew Davis wrote: > > On 11/17/23 4:40 PM, Tom Rini wrote: > > > On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote: > > > > > > > This is a hacky way to have this file included in all

Re: [PATCH] lib/Kconfig: Correct typo about SYSINFO_SMBIOS in help message

2023-11-20 Thread Simon Glass
On Mon, 20 Nov 2023 at 13:17, Tom Rini wrote: > > The correct symbol to enable to have SMBIOS populate fields based on the > device tree is SYSINFO_SMBIOS and not SMBIOS_SYSINFO. > > Signed-off-by: Tom Rini > --- > lib/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-11-20 Thread Simon Glass
Hi, On Mon, 13 Nov 2023 at 11:09, Chiu, Chasel wrote: > > > Hi Ard, > > Please see my reply below inline. > > Thanks, > Chasel > > > > -Original Message- > > From: Ard Biesheuvel > > Sent: Saturday, November 11, 2023 3:04 AM > > To: Chiu, Chasel > > Cc: Simon Glass ;

Re: [PATCH v2 3/6] smbios: Use SMBIOS 3.0 to support an address above 4GB

2023-11-20 Thread Heinrich Schuchardt
On 10/15/23 04:45, Simon Glass wrote: When the SMBIOS table is written to an address above 4GB a 32-bit table address is not large enough. Use an SMBIOS3 table in that case. Note that we cannot use efi_allocate_pages() since this function has nothing to do with EFI. There is no equivalent

[PATCH v2 5/5] sandbox: Drop video-sync in serial driver

2023-11-20 Thread Simon Glass
With sandbox, when U-Boot is waiting for input it syncs the video display, since presumably the user has finished typing. Now that cyclic is used for video syncing, we can drop this. Cyclic will automatically call the video_idle() function when idle. Signed-off-by: Simon Glass --- Changes in

[PATCH v2 4/5] sandbox: Increase cyclic CPU-time limit

2023-11-20 Thread Simon Glass
Now that sandbox is using cyclic for video, it trips the 1us time limit. Updating the sandbox display often takes 20ms or more. Increase the limit to 100ms to avoid a warning. Signed-off-by: Simon Glass --- (no changes since v1) common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 3/5] video: Use cyclic to handle video sync

2023-11-20 Thread Simon Glass
At present U-Boot flushes the cache after every character written to ths display. This makes the command-line slower, to the point that pasting in long strings can fail. Add a cyclic function to sync the display every 10ms. Enable this by default. Allow much longer times for sandbox, since the

[PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-11-20 Thread Simon Glass
The cyclic subsystem is currently enabled either in all build phases or none. For tools this should not be enabled, but since lib/shc256.c and other files include watchdog.h in the host build, we must make sure that it is not enabled there. Add an SPL symbol so that there is more control of this.

[PATCH v2 2/5] video: Move last_sync to private data

2023-11-20 Thread Simon Glass
Rather than using a static variable, use the video device's private data to remember when the last video sync was completed. This allows each display to have its own sync and avoids using static data in SPL. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/video-uclass.c |

[PATCH v2 0/5] video: Improve syncing performance with cyclic

2023-11-20 Thread Simon Glass
Now that U-Boot has a background-processing feature, it is possible to reduce the amount of 'foreground' syncing of the display. At present this happens quite often. Foreground syncing blocks all other processing, sometimes for 10ms or more. When pasting commands into U-Boot over the UART, this

[PATCH v2 09/12] efi_loader: split unrelated code from efi_bootmgr.c

2023-11-20 Thread AKASHI Takahiro
Some code moved from cmd/bootefi.c is actually necessary only for "bootefi " command (starting an image manually loaded by a user using U-Boot load commands or other methods (like JTAG debugger). The code will never been opted out as unused code by a compiler which doesn't know how EFI boot

[PATCH v2 11/12] net: tftp: remove explicit efi configuration dependency

2023-11-20 Thread AKASHI Takahiro
Now it is clear that the feature actually depends on efi interfaces, not "bootefi" command. efi_set_bootdev() will automatically be nullified if necessary efi component is disabled. Signed-off-by: AKASHI Takahiro --- net/tftp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-)

[PATCH v2 10/12] efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR

2023-11-20 Thread AKASHI Takahiro
At this point, EFI boot manager interfaces is fully independent from bootefi command. So just rename the configuration parameter. Signed-off-by: AKASHI Takahiro --- boot/Makefile | 2 +- cmd/Kconfig | 4 ++-- cmd/efidebug.c | 4 ++-- lib/efi_loader/Kconfig | 2 +-

[PATCH v2 12/12] fs: remove explicit efi configuration dependency

2023-11-20 Thread AKASHI Takahiro
Now it is clear that the feature actually depends on efi interfaces, not "bootefi" command. efi_set_bootdev() will automatically be nullified if necessary efi component is disabled. Signed-off-by: AKASHI Takahiro --- fs/fs.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[PATCH v2 08/12] bootmeth: use efi_loader interfaces instead of bootefi command

2023-11-20 Thread AKASHI Takahiro
Now that efi_loader subsystem provides interfaces that are equivalent with bootefi command, we can replace command invocations with APIs. Signed-off-by: AKASHI Takahiro --- boot/Kconfig| 4 ++-- boot/Makefile | 2 +- boot/bootm_os.c | 31

[PATCH v2 04/12] cmd: bootefi: carve out binary execution interface

2023-11-20 Thread AKASHI Takahiro
Carve binary execution code out of do_bootefi_image() in order to move binary-execution specific code into library directory in the later commit. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 46 -- 1 file changed, 32 insertions(+), 14

[PATCH v2 07/12] cmd: efidebug: ease efi configuration dependency

2023-11-20 Thread AKASHI Takahiro
Now it is clear that the command actually depends on interfaces, not "bootefi bootmgr" command. Signed-off-by: AKASHI Takahiro --- cmd/efidebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 78ef16f4cb5c..e10fbf891a42 100644 ---

[PATCH v2 06/12] cmd: bootefi: move library interfaces under lib/efi_loader

2023-11-20 Thread AKASHI Takahiro
In the prior commits, interfaces for executing EFI binary and boot manager were carved out. Move them under efi_loader directory so that they can be called from other places without depending on bootefi command. Only efi_selftest-related code will be left in bootefi.c. Signed-off-by: AKASHI

[PATCH v2 05/12] cmd: bootefi: localize global device paths for efi_selftest

2023-11-20 Thread AKASHI Takahiro
Device paths allocated in bootefi_test_prepare() will be immediately consumed by do_efi_selftest() and there is no need to keep them for later use. Introduce test-specific varialbles to make it easier to move other bootmgr functions into library directory in the next commit. Signed-off-by: AKASHI

[PATCH v2 03/12] cmd: bootefi: carve out EFI boot manager interface

2023-11-20 Thread AKASHI Takahiro
Carve EFI boot manager related code out of do_bootefi_image() in order to move boot manager specific code into library directory in the later commit. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 43 --- 1 file changed, 24 insertions(+), 19

[PATCH v2 02/12] cmd: bootefi: re-organize do_bootefi()

2023-11-20 Thread AKASHI Takahiro
Replicate some code and re-organize do_bootefi() into three cases, which will be carved out as independent functions in the next two commits. Signed-off-by: AKASHI Takahiro --- cmd/Kconfig | 15 ++-- cmd/bootefi.c| 82 ++--

[PATCH v2 01/12] cmd: bootefi: unfold do_bootefi_image()

2023-11-20 Thread AKASHI Takahiro
Unfold do_bootefi_image() into do_bootefi() in order to make it easier to re-organize do_bootefi() in the next commit. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 101 ++ 1 file changed, 37 insertions(+), 64 deletions(-) diff --git

[PATCH v2 00/12] cmd: bootefi: refactor the code for bootmgr

2023-11-20 Thread AKASHI Takahiro
This patch set is motivated by the discussion[1] regarding CONFIG_BOOTEFI_BOOTMGR option. At the end, bootefi.c will be decomposed into two parts, one for providing the command itself and one for implementing helper functions. EFI_LOADER will now be available without CONFIG_CMDLINE or

Re: [PATCH 0/5] smbios: Deal with tables beyond 4GB

2023-11-20 Thread Heinrich Schuchardt
On 10/8/23 23:36, Simon Glass wrote: When the malloc() region extends beyond 4GB on ARM we may end up with an SMBIOS table in that region. Add support for writing an SMBIOS3 table, which supports a 64-bit address. Note that this problem does not happen on x86 since it requires the tables to be

[PATCH 1/1] efi_loader: fix efi_show_tables()

2023-11-20 Thread Heinrich Schuchardt
Since commit 041840eeeb12 ("efi: Split out table-listing code into a new file") the `efi tables` command prints random numbers instead of GUIDs. %pUl expects a pointer to a GUID not to a string. Set maintainer for file cmd/efi_comon.c. Fixes: 041840eeeb12 ("efi: Split out table-listing code into

[PATCH 1/1] efi_loader: generated SMBIOS table below 4 GiB

2023-11-20 Thread Heinrich Schuchardt
We currently use an outdated format 32-bit format for SMBIOS tables. So we must allocate SMBIOS tables below 4 GiB. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_smbios.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/efi_loader/efi_smbios.c

[PATCH] arm: mach-k3: J721e: Add xSPI boot mode

2023-11-20 Thread Reid Tonking
From: Vignesh Raghavendra J7200 ROM supports booting from xSPI compliant flash. Detect if ROM booted from xSPI bootmode and map that to BOOT_DEVICE_SPI Signed-off-by: Vignesh Raghavendra Signed-off-by: Pratyush Yadav --- arch/arm/mach-k3/include/mach/j721e_spl.h | 3 ++-

Re: [PATCH v3 07/32] bootm: Simplify arguments for bootm_pre_load()

2023-11-20 Thread Ilias Apalodimas
Hi Simon, On Sat, 18 Nov 2023 at 23:06, Simon Glass wrote: > > Move the argument decoding to the caller, to avoid needing to pass the > command-line arguments. > > Add a function comment while we are here. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > --- > > (no changes since v1)

Re: [PATCH 1/5] cyclic: Disable in SPL builds

2023-11-20 Thread Tom Rini
On Sun, Nov 19, 2023 at 11:23:41AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 19 Nov 2023 at 08:59, Tom Rini wrote: > > > > On Sun, Nov 19, 2023 at 07:46:39AM -0700, Simon Glass wrote: [snip] > > > diff --git a/include/cyclic.h b/include/cyclic.h > > > index 44ad3cb6b803..d3b368dd90df

Re: [PATCH v3 03/32] mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

2023-11-20 Thread Ilias Apalodimas
On Sat, 18 Nov 2023 at 23:05, Simon Glass wrote: > > The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef > condition from the code it calls. Use the same condition to avoid a > build warning if CONFIG_CMD_SAVEENV is disabled. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini

[PATCH] drivers: misc: Kconfig: Fix SPL_FS_LOADER prompt

2023-11-20 Thread Alexander Gendin
Both FS_LOADER and SPL_FS_LOADER have the same menu prompt. To avoid confusion, make prompt for SPL_FS_LOADER different. Signed-off-by: Alexander Gendin --- drivers/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index

[PATCH] lib/Kconfig: Correct typo about SYSINFO_SMBIOS in help message

2023-11-20 Thread Tom Rini
The correct symbol to enable to have SMBIOS populate fields based on the device tree is SYSINFO_SMBIOS and not SMBIOS_SYSINFO. Signed-off-by: Tom Rini --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index 19649517a39b..d47df6bb1cfa

[PATCH] libretech-cc: Populate SMBIOS information

2023-11-20 Thread Tom Rini
Enable CONFIG_SYSINFO_SMBIOS and populate the nodes so that Linux can eventually display this information Signed-off-by: Tom Rini --- Posting this as this was the easiest platform for me to test some SMBIOS related patches on and I needed to populate the nodes so I could check things in

Re: [PATCH 2/3] configs: keystone2: Do not include hardware.h

2023-11-20 Thread Tom Rini
On Mon, Nov 20, 2023 at 08:49:32AM -0600, Andrew Davis wrote: > On 11/17/23 4:40 PM, Tom Rini wrote: > > On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote: > > > > > This is a hacky way to have this file included in all source files that > > > include common.h, instead just include

Re: [PATCH 1/1] usb: USB_XHCI_PCI depends on PCI

2023-11-20 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Mon, 20 Nov 2023 15:56:36 +0100 > > Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in > > usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44): > undefined reference to `dm_pci_write_config32 > > Add the missing Kconfig dependency. > >

[PATCH 1/1] usb: USB_XHCI_PCI depends on PCI

2023-11-20 Thread Heinrich Schuchardt
Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44): undefined reference to `dm_pci_write_config32 Add the missing Kconfig dependency. Signed-off-by: Heinrich Schuchardt --- drivers/usb/host/Kconfig | 2 +- 1 file changed,

Re: [PATCH 2/3] configs: keystone2: Do not include hardware.h

2023-11-20 Thread Andrew Davis
On 11/17/23 4:40 PM, Tom Rini wrote: On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote: This is a hacky way to have this file included in all source files that include common.h, instead just include from the files that need it. Signed-off-by: Andrew Davis ---

[ANN] U-Boot v2024.01-rc3 released

2023-11-20 Thread Tom Rini
Hey all, It's release day and here is -rc3. I think I've been good about taking only fixes in to -master at this point an pushing everything else out fo -next. I'm going to do my best to continue that pattern, and there are a few fixes out there still that need to come in. In terms of a

Re: [PATCH] scsi: set dma direction to NONE for TEST UNIT READY

2023-11-20 Thread Tom Rini
On Mon, 13 Nov 2023 11:51:02 +0600, Nikita Yushchenko wrote: > SCSI device scan code was executing TEST UNIT READY command without > explicitly setting dma direction in struct scsi_cmd to NONE, so command > was passed to driver with dma direction set to DMA_FROM_DEVICE, > inherited from older

Re: [PATCH v3 2/2] cmd: acpi: fix acpi list command

2023-11-20 Thread Andy Shevchenko
On Mon, Nov 20, 2023 at 01:34:22PM +0100, Heinrich Schuchardt wrote: > On 11/20/23 12:28, Andy Shevchenko wrote: > > On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote: ... > > (Side question: Do you use --histogram when preparing patches? if no, try > > it.) > > Thanks for

Re: [PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file

2023-11-20 Thread Romain Naour
Hello Andrew, All, Le 17/11/2023 à 19:43, Andrew Davis a écrit : > On 11/17/23 8:27 AM, Romain Naour wrote: >> Hello Andrew, All, >> >> Le 03/11/2023 à 20:20, Andrew Davis a écrit : >>> On 11/3/23 2:06 PM, Nishanth Menon wrote: On 13:51-20231103, Andrew Davis wrote: > On 11/2/23 7:38 PM,

Re: [PATCH v3 2/2] cmd: acpi: fix acpi list command

2023-11-20 Thread Heinrich Schuchardt
On 11/20/23 12:28, Andy Shevchenko wrote: On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote: ACPI tables may comprise either RSDT, XSDT, or both. The current code fails to check the presence of the RSDT table before accessing it. This leads to an exception if the RSDT table is

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-20 Thread Marek Vasut
On 11/20/23 11:45, Hector Martin wrote: On 2023/11/20 11:09, Marek Vasut wrote: On 11/20/23 00:17, Shantur Rathore wrote: On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote: On 10/27/23 01:16, Hector Martin wrote: This series is the first of a few bundles of USB fixes we have been

Re: [PATCH v3 2/2] cmd: acpi: fix acpi list command

2023-11-20 Thread Andy Shevchenko
On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote: > ACPI tables may comprise either RSDT, XSDT, or both. The current code fails > to check the presence of the RSDT table before accessing it. This leads to > an exception if the RSDT table is not provided. > > The XSDT table

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-20 Thread Hector Martin
On 2023/11/20 11:09, Marek Vasut wrote: > On 11/20/23 00:17, Shantur Rathore wrote: >> On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote: >>> >>> On 10/27/23 01:16, Hector Martin wrote: This series is the first of a few bundles of USB fixes we have been carrying downstream on the

Re: [PATCH] starfive: visionfive2: add device tree overlay support

2023-11-20 Thread John Clark
device tree overlay support requires fdtoverlay_addr_r to be set before ~~ Invalid fdtoverlay_addr_r for loading overlays after ~ Retrieving file: /boot/overlay/rtc-ds3231.dtbo Signed-off-by: John Clark --- include/configs/starfive-visionfive2.h | 1 + 1 file changed, 1

Re: [PATCH v2 2/3] tpm: Convert sandbox-focussed tests to C

2023-11-20 Thread Ilias Apalodimas
Hi Simon, On Sat, Nov 11, 2023 at 05:43:37PM -0700, Simon Glass wrote: > Some of the Python tests are a pain because they don't reset the TPM > state before each test. Driver model tests do this, so convert the > tests to C. The python tests restart u-boot though. The problem is a bit different

Re: [PATCH v1 2/2] imx: spl_imx_romapi: fix emmc fast boot mode case

2023-11-20 Thread Marcel Ziswiler
On Fri, 2023-11-17 at 14:42 -0500, Tom Rini wrote: > On Thu, Oct 26, 2023 at 09:32:20AM +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > This fixes a regression in the eMMC fast boot mode case where the buffer > > was missing 464 bytes. > > > > The code figures out how many