# Re: \[PATCH v1 1/2\] cma: factor out minimum alignment requirement

- From: Zi Yan \<ziy@nvidia.com\>
- Date: 2022-02-14 17:59:51 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/02/1670681
- Thread: https://ratatoskr.run/linuxppc-dev/2022/02/1670662/t.md

```text
On 14 Feb 2022, at 12:41, David Hildenbrand wrote:

> Let's factor out determining the minimum alignment requirement for CMA
> and add a helpful comment.
>
> No functional change intended.
>
> Signed-off-by: David Hildenbrand <redacted>
> ---
>  arch/powerpc/include/asm/fadump-internal.h |  5 -----
>  arch/powerpc/kernel/fadump.c               |  2 +-
>  drivers/of/of_reserved_mem.c               |  9 +++------
>  include/linux/cma.h                        |  9 +++++++++
>  kernel/dma/contiguous.c                    |  4 +---
>  mm/cma.c                                   | 20 +++++---------------
>  6 files changed, 19 insertions(+), 30 deletions(-)

LGTM. Thanks. Reviewed-by: Zi Yan [ref]


--
Best Regards,
Yan, Zi
```

## Attachments

- [signature.asc](https://ratatoskr.run/linuxppc-dev/2022/02/1670681/attachment/0) (application/pgp-signature, 854 bytes)
