[PATCH] watchdog: Drop GD_FLG_WDT_READY as it's not used any more

2022-11-17 Thread Stefan Roese
Since commit c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic framework") GD_FLG_WDT_READY has become write-only. This patch now removes this flag completely. The vacant spot in gd_flags is filled with the newly introduced GD_FLG_CYCLIC_RUNNING flag. Suggested-by: Rasmus Vil

[PATCH] Prevent buffer overflow on USB control endpoint

2022-11-17 Thread Szymon Heidrich
Assure that the control endpoint buffer of size USB_BUFSIZ (4096) can not be overflown during handling of USB control transfer requests with wLength greater than USB_BUFSIZ. Signed-off-by: Szymon Heidrich --- drivers/usb/gadget/composite.c | 11 +++ 1 file changed, 11 insertions(+) diff

Re: [PATCH v2 2/2] tools: mkimage: add new image type "flat_dt_legacy"

2022-11-17 Thread Marc Kleine-Budde
On 17.11.2022 00:01:19, Sean Anderson wrote: > On 11/16/22 05:49, Marc Kleine-Budde wrote: > > On 31.10.2022 15:51:21, Marc Kleine-Budde wrote: > > > If the user select the image type "flat_dt" a FIT image will be build. > > > This breaks the legacy use case of putting a Flat Device Tree into a > >

Re: [PATCH] Prevent buffer overflow on USB control endpoint

2022-11-17 Thread Fabio Estevam
[Adding Lukasz and Marek] On Thu, Nov 17, 2022 at 6:50 AM Szymon Heidrich wrote: > > Assure that the control endpoint buffer of size USB_BUFSIZ (4096) > can not be overflown during handling of USB control transfer > requests with wLength greater than USB_BUFSIZ. > > Signed-off-by: Szymon Heidrich

[PATCH] Subject: [patch]SPI: GD SPI: Add Gigadevice SPI NOR part numbers

2022-11-17 Thread Victor lim
added gigadevice in the defconfig file and ID in the ids.c file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/zynq_cse_qspi_defconfig | 1 + drivers/mtd/spi/spi-nor-ids.c | 137 +++--- 3 files changed, 94 insertio

[PATCH 1/1] doc: in cmp man-page replace 'tuples' by 'values'

2022-11-17 Thread Heinrich Schuchardt
The word tuples might be misleading. Suggested-by: Simon Glass Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/cmp.rst | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/usage/cmd/cmp.rst b/doc/usage/cmd/cmp.rst index 241320d328..8d196ee578 100644 --- a/do

Re: [PATCH v2 2/2] tools: mkimage: add new image type "flat_dt_legacy"

2022-11-17 Thread Sean Anderson
On 11/17/22 06:30, Marc Kleine-Budde wrote: On 17.11.2022 00:01:19, Sean Anderson wrote: On 11/16/22 05:49, Marc Kleine-Budde wrote: On 31.10.2022 15:51:21, Marc Kleine-Budde wrote: If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of puttin

Re: [PATCH 1/1] doc: in cmp man-page replace 'tuples' by 'values'

2022-11-17 Thread Simon Glass
On Thu, 17 Nov 2022 at 05:45, Heinrich Schuchardt wrote: > > The word tuples might be misleading. > > Suggested-by: Simon Glass > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/cmp.rst | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass >

[PATCH] Enforce buffer boundaries on RNDIS USB Gadget

2022-11-17 Thread Szymon Heidrich
Prevent access to arbitrary memory locations in gen_ndis_set_resp via manipulation of buf->InformationBufferOffset. Lack of validation of BufOffset could be exploited to dump arbitrary memory contents via NDIS packet filter. Signed-off-by: Szymon Heidrich --- drivers/usb/gadget/rndis.c | 9 +

Re: [PATCH v4 1/1] u-boot-initial-env: rework make target

2022-11-17 Thread Francesco Dolcini
On Tue, Nov 08, 2022 at 06:09:11PM +0100, Pali Rohár wrote: > On Tuesday 08 November 2022 09:52:22 Max Krummenacher wrote: > > From: Max Krummenacher > > > > With LTO enabled the U-Boot initial environment is no longer stored > > in an easy accessible section in env/common.o. I.e. the section nam

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-11-17 Thread Sean Anderson
On 10/26/22 12:01, Sean Anderson wrote: > On 10/26/22 11:58, Sean Anderson wrote: >> On 10/25/22 20:52, Bin Meng wrote: >>> Hi Sean, >>> >>> On Wed, Oct 26, 2022 at 7:35 AM Simon Glass wrote: Hi, On Mon, 24 Oct 2022 at 22:57, Stefan Roese wrote: > > On 24.10.22 18:4

Re: [PATCH] image: fit: Fix not verifying data configuration

2022-11-17 Thread Sean Anderson
On 10/12/22 12:28, Sean Anderson wrote: > On 10/12/22 08:59, Simon Glass wrote: >> Hi Sean, >> >> On Tue, 11 Oct 2022 at 17:25, Sean Anderson wrote: >>> >>> When reading data from a FIT image, we must verify the configuration we >>> get it from. This is because when we have a key with required = "

[PATCH] phy: add driver for Intel XWAY PHY

2022-11-17 Thread Tim Harvey
Add a driver for the Intel XWAY GbE PHY: - configure RGMII using dt phy-mode and standard delay properties - use genphy_config Signed-off-by: Tim Harvey --- drivers/net/phy/Kconfig | 5 drivers/net/phy/Makefile | 1 + drivers/net/phy/intel_xway.c | 48 ++

Re: [RESEND PATCH v2 0/3] net: fm: Add support for loading firmware from filesystem

2022-11-17 Thread Sean Anderson
On 8/14/22 16:48, Ramon Fried wrote: > On Sat, Aug 13, 2022 at 9:15 AM Sean Anderson wrote: >> >> On 4/22/22 1:30 PM, Sean Anderson wrote: >> > This adds support for loading Fman firmware from a filesystem using the >> > firmware loader subsystem. It was originally part of [1], but has been >> > s

Re: [PATCH] freescale: Remove Rajesh Bhagat MAINTAINERS

2022-11-17 Thread Sean Anderson
On 11/1/22 10:17, Tom Rini wrote: > On Fri, Oct 21, 2022 at 01:34:04PM -0400, Tom Rini wrote: >> On Tue, Oct 18, 2022 at 02:15:47PM -0400, Sean Anderson wrote: >> > When sending out this email, I noticed that Ashish's (LS1088 board >> > maintainer) email also bounces. >> > >> > --Sean >> > >> > O

Re: [PATCH v9 5/5] eficonfig: add "Show Signature Database" menu entry

2022-11-17 Thread Ilias Apalodimas
Hi Kojima-san > +/** > + * prepare_signature_list_menu() - create the signature list menu entry > + * > + * @efimenu: pointer to the efimenu structure > + * @varname: pointer to the variable name > + * @db: pointer to the variable raw data > + * @db_size: variable data size > + * @fun

Re: [PATCH v9 5/5] eficonfig: add "Show Signature Database" menu entry

2022-11-17 Thread Heinrich Schuchardt
On 11/17/22 22:49, Ilias Apalodimas wrote: Hi Kojima-san +/** + * prepare_signature_list_menu() - create the signature list menu entry + * + * @efimenu: pointer to the efimenu structure + * @varname: pointer to the variable name + * @db:pointer to the variable raw data + * @

Re: [PATCH v9 4/5] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-11-17 Thread Heinrich Schuchardt
On 11/16/22 11:28, Masahisa Kojima wrote: This commit adds the menu-driven UEFI Secure Boot Key enrollment interface. User can enroll PK, KEK, db and dbx by selecting file. Only the signed EFI Signature List(s) with an authenticated header, typically '.auth' file, is accepted. To clear the PK, K

Re: [PATCH v9 0/5] eficonfig: add UEFI Secure Boot key maintenance interface

2022-11-17 Thread Heinrich Schuchardt
On 11/16/22 11:28, Masahisa Kojima wrote: This series adds the UEFI Secure Boot key maintenance interface to the eficonfig command. User can enroll PK, KEK, db and dbx. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/eficonfig_sbkey

Re: [PATCH v9 5/5] eficonfig: add "Show Signature Database" menu entry

2022-11-17 Thread Masahisa Kojima
Hi Ilias, Heinrich, On Fri, 18 Nov 2022 at 07:06, Heinrich Schuchardt wrote: > > On 11/17/22 22:49, Ilias Apalodimas wrote: > > Hi Kojima-san > > > >> +/** > >> + * prepare_signature_list_menu() - create the signature list menu entry > >> + * > >> + * @efimenu:pointer to the efimenu struc

Re: [PATCH v9 5/5] eficonfig: add "Show Signature Database" menu entry

2022-11-17 Thread Masahisa Kojima
On Fri, 18 Nov 2022 at 11:18, Masahisa Kojima wrote: > > Hi Ilias, Heinrich, > > On Fri, 18 Nov 2022 at 07:06, Heinrich Schuchardt wrote: > > > > On 11/17/22 22:49, Ilias Apalodimas wrote: > > > Hi Kojima-san > > > > > >> +/** > > >> + * prepare_signature_list_menu() - create the signature list m

Re: [PATCH] fdt: Fix bounds check in devfdt_get_addr_index

2022-11-17 Thread Samuel Holland
Hi Simon, On 11/7/22 17:35, Simon Glass wrote: > Hi Samuel, > > On Mon, 31 Oct 2022 at 13:27, Simon Glass wrote: >> >> On Sun, 30 Oct 2022 at 21:41, Samuel Holland wrote: >>> >>> reg must contain enough cells for the entire next address/size pair >>> after skipping `index` pairs. The previous c

[PATCH] pinctrl: sunxi: Add P2WI and RSB pinmuxes

2022-11-17 Thread Samuel Holland
P2WI and RSB are used to communicate with a PMIC. Most SoCs have only one possible pinmux. F1C100s has two possibilities, with different mux values, so omit it until some board needs one of them. Signed-off-by: Samuel Holland --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 7 +++ 1 file changed

[PATCH v2] pinctrl: sunxi: Add P2WI and RSB pinmuxes

2022-11-17 Thread Samuel Holland
P2WI and RSB are used to communicate with a PMIC. Most SoCs have only one possible pinmux. F1C100s has two possibilities, with different mux values, so omit it until some board needs one of them. Signed-off-by: Samuel Holland --- Changes in v2: - Fix pin list comment for A80 entry drivers/pin