[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJDAHvbRSm_UYgx0fE7o2dJqcBfBbcFR4DrnVydkwfxGo0O4Rg@mail.gmail.com>
Date: Mon, 11 Mar 2024 18:10:47 +0800
From: Howard Yen <howardyen@...gle.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: gregkh@...uxfoundation.org, rafael@...nel.org, mathias.nyman@...el.com,
hch@....de, m.szyprowski@...sung.com, robin.murphy@....com,
petr.tesarik.ext@...wei.com, broonie@...nel.org, james@...iv.tech,
james.clark@....com, masahiroy@...nel.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, iommu@...ts.linux.dev
Subject: Re: [PATCH v5 0/2] Add support for multiple coherent memory regions
On Mon, Mar 11, 2024 at 6:03 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
>
> On Mon, Mar 11, 2024 at 09:49:45AM +0000, Howard Yen wrote:
> > In the system I'm working on, there is an always-on subsystem which
> > includes a small size memory, and several functions need to run and
> > occupy the memory from the small memory if they need to run on the
> > always-on subsystem. These functions must allocate the memory from the
> > small memory region, so that they can get benefit from the always-on
> > subsystem. So the small memory is split for multiple functions which are
> > satisfied with their generic use cases. But in specific use cases, like
> > USB3 devices which support the stream trasnsfer or multiple devices
> > connect to the host, they required more memory than their pre-allocated
> > memory region. I tried to implement it in a generic way and propose this
> > patch to give it the ability to get the memory from the other larger
> > memory to solve the issue.
>
> > Changelog
> > --------------------------------------------
> > Changes in v5:
> > - Fix build break.
> > - Use of_property_count_u32_elems() instead of
> > of_property_count_elems_of_size().
>
> Have you tried to use --histogram diff algo?
Yes, I used the below command to create the patch v5.
`git format-patch --cover-letter --histogram -v5 51b70ff55`
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
--
Best Regards,
Howard
Powered by blists - more mailing lists