[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ9a7VgMFXTh19eQa5_yX2Ss8Eur8zRxBSyZJbr68ybJSW_hYg@mail.gmail.com>
Date: Mon, 16 Jan 2023 12:29:13 +0000
From: Mike Leach <mike.leach@...aro.org>
To: Christoph Hellwig <hch@...radead.org>
Cc: linux-arm-kernel@...ts.infradead.org, coresight@...ts.linaro.org,
linux-kernel@...r.kernel.org, mathieu.poirier@...aro.org,
suzuki.poulose@....com, acme@...nel.org, james.clark@....com
Subject: Re: [PATCH v5 4/6] coresight: configfs: Modify config files to allow
userspace use
I'll rework this in the next set.
Thanks for the review
Mike
On Tue, 27 Dec 2022 at 17:10, Christoph Hellwig <hch@...radead.org> wrote:
>
> On Mon, Dec 19, 2022 at 11:46:36PM +0000, Mike Leach wrote:
> > Update coresight-config.h and the coresight-config-file.c & .h
> > to allow use in userspace programs.
> >
> > Use __KERNEL__ defines to filter out driver only structures and
> > elements so that user space programs can use the descriptor structures.
> >
> > Abstract memory allocation in coresight-config-file.c to allow read
> > file functions to be run in userspace and kernel drivers.
>
> That's now how kernel code is written.
--
Mike Leach
Principal Engineer, ARM Ltd.
Manchester Design Centre. UK
Powered by blists - more mailing lists