From: "Song Bao Hua (Barry Song)" <song.bao.hua@hisilicon.com>
To: Brice Goglin <Brice.Goglin@inria.fr>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Heiko Carstens <hca@linux.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Jonathan Cameron" <jonathan.cameron@huawei.com>,
Len Brown <len.brown@intel.com>,
Thomas Richter <tmricht@linux.ibm.com>,
Ian Rogers <irogers@google.com>
Subject: RE: [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes
Date: Sat, 4 Dec 2021 11:45:58 +0000 [thread overview]
Message-ID: <c63a4971458c49c7a0cb0a8ba48ceb2d@hisilicon.com> (raw)
In-Reply-To: <63384337-ba36-9b2a-c9ae-75e3f5ac02d7@inria.fr>
> -----Original Message-----
> From: Brice Goglin [mailto:Brice.Goglin@inria.fr]
> Sent: Saturday, December 4, 2021 10:48 PM
> To: Song Bao Hua (Barry Song) <song.bao.hua@hisilicon.com>; Greg Kroah-Hartman
> <gregkh@linuxfoundation.org>; Heiko Carstens <hca@linux.ibm.com>
> Cc: Peter Zijlstra <peterz@infradead.org>; Rafael J . Wysocki
> <rafael@kernel.org>; Andrew Morton <akpm@linux-foundation.org>;
> linux-kernel@vger.kernel.org; Jonathan Cameron <jonathan.cameron@huawei.com>;
> Len Brown <len.brown@intel.com>; Thomas Richter <tmricht@linux.ibm.com>; Ian
> Rogers <irogers@google.com>
> Subject: Re: [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes
>
> Le 04/12/2021 à 10:07, Song Bao Hua (Barry Song) a écrit :
> >
> > Could you give me one minute?
> >
> > +Brice
> >
> > I'd like to hear some feedbacks from hwloc if there
> > is a chance to break userspace and if userspace depends
> > on the existence of sysfs even though the topology
> > doesn't exist.
> >
> > If no, I feel it is safe to take.
> >
>
> Hello
>
> If the question is whether hwloc *requires* cluster/die/book/drawer
> sysfs files to exist, then the answer is no. We have to support old
> kernels without those files anyway.
Thanks for clarification, Brice. I saw hwloc is reading sysfs
drawer, book and cluster. But since it doesn't assume their
existence in sysfs, I have more confidence on this patchset
now.
Greg, please ignore my comment then :-)
>
> Brice
>
>
Thanks
Barry
prev parent reply other threads:[~2021-12-04 11:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-29 13:03 Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 1/3] topology/sysfs: export die attributes only if an architectures has support Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 2/3] topology/sysfs: export cluster " Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 3/3] topology/sysfs: rework book and drawer topology ifdefery Heiko Carstens
2021-11-29 14:03 ` [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes Peter Zijlstra
2021-12-02 14:22 ` Heiko Carstens
2021-12-02 14:26 ` Greg Kroah-Hartman
2021-12-04 9:07 ` Song Bao Hua (Barry Song)
2021-12-04 9:48 ` Brice Goglin
2021-12-04 11:45 ` Song Bao Hua (Barry Song) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c63a4971458c49c7a0cb0a8ba48ceb2d@hisilicon.com \
--to=song.bao.hua@hisilicon.com \
--cc=Brice.Goglin@inria.fr \
--cc=akpm@linux-foundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=hca@linux.ibm.com \
--cc=irogers@google.com \
--cc=jonathan.cameron@huawei.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=tmricht@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®