Re: [PATCH] mmc: rpmb: Fix driver routing memory alignment with tmp buffer

2021-06-22 Thread Jaehoon Chung
Hi, On 6/22/21 4:24 PM, litchi.pi wrote: > Hello, > Does anyone have a feedback on that fix ? > I think the location of the fix is important to be discussed too as it needs > to be generic but not overlap with existing checks. > Have a nice day, Reviewed-by: Jaehoon Chung Best Regards, Jaehoon

Re: [PATCH] mmc: rpmb: Fix driver routing memory alignment with tmp buffer

2021-06-22 Thread litchi.pi
Hello, Does anyone have a feedback on that fix ? I think the location of the fix is important to be discussed too as it needs to be generic but not overlap with existing checks. Have a nice day, Timothée Cercueil ‐‐‐ Original Message ‐‐‐ On Tuesday, June 15th, 2021 at 10:53 AM, Timothée

[PATCH] mmc: rpmb: Fix driver routing memory alignment with tmp buffer

2021-06-15 Thread Timothée Cercueil
From: litchipi Fix mmc_rpmb_route_frames() implementation to comply with most MMC drivers that expect some alignment of MMC data frames in memory. When called from drivers/tee/optee/rpmb.c, the address passed is not aligned properly. OP-TEE OS inserts a 6-byte header before a raw RPMB frame whic