Re: [RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-10-04 Thread Simon Glass
Hi Jonas, On Mon, 2 Oct 2023 at 13:29, Jonas Karlman wrote: > > On 2023-10-02 20:56, Simon Glass wrote: > > On Fri, 29 Sept 2023 at 17:07, Jonas Karlman wrote: > >> > >> The alignment hole caused by cmdidx in struct mmc_cmd cause strange > >> issues together with the peephole2 optimization on

Re: [RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-10-02 Thread Jonas Karlman
On 2023-10-02 20:56, Simon Glass wrote: > On Fri, 29 Sept 2023 at 17:07, Jonas Karlman wrote: >> >> The alignment hole caused by cmdidx in struct mmc_cmd cause strange >> issues together with the peephole2 optimization on Amlogic SoCs. >> Following was observed while working on SPL support for

Re: [RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-10-02 Thread Simon Glass
On Fri, 29 Sept 2023 at 17:07, Jonas Karlman wrote: > > The alignment hole caused by cmdidx in struct mmc_cmd cause strange > issues together with the peephole2 optimization on Amlogic SoCs. > Following was observed while working on SPL support for Amlogic SoCs. > > sd_get_capabilities() normally

Re: [RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-09-30 Thread Ferass El Hafidi
On Sat Sep 30, 2023 at 1:06 AM CEST, Jonas Karlman wrote: > The alignment hole caused by cmdidx in struct mmc_cmd cause strange > issues together with the peephole2 optimization on Amlogic SoCs. > Following was observed while working on SPL support for Amlogic SoCs. > > sd_get_capabilities()

[RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-09-29 Thread Jonas Karlman
The alignment hole caused by cmdidx in struct mmc_cmd cause strange issues together with the peephole2 optimization on Amlogic SoCs. Following was observed while working on SPL support for Amlogic SoCs. sd_get_capabilities() normally issue a CMD55 followed by a CMD51. However, on at least Amlogic