mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ernst, Justin" <justin.ernst@hpe.com>
To: Hans de Goede <hdegoede@redhat.com>,
	Borislav Petkov <bp@alien8.de>, "Ingo Molnar" <mingo@redhat.com>,
	Mark Gross <mgross@linux.intel.com>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Wahl, Steve" <steve.wahl@hpe.com>,
	"x86@kernel.org" <x86@kernel.org>
Cc: Andy Shevchenko <andy@infradead.org>,
	Darren Hart <dvhart@infradead.org>,
	"Sivanich, Dimitri" <dimitri.sivanich@hpe.com>,
	"H . Peter Anvin" <hpa@zytor.com>,
	"Anderson, Russ" <russ.anderson@hpe.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"platform-driver-x86@vger.kernel.org" 
	<platform-driver-x86@vger.kernel.org>,
	Cezary Rojewski <cezary.rojewski@intel.com>,
	Ilya Dryomov <idryomov@gmail.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	Vaibhav Jain <vaibhav@linux.ibm.com>
Subject: RE: [PATCH 0/5] Add uv_sysfs platform driver
Date: Wed, 18 Nov 2020 16:07:56 +0000	[thread overview]
Message-ID: <AT5PR8401MB1300DCD22C7191DE4FEA8A8A87E10@AT5PR8401MB1300.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <99d26b0e-efd7-a32d-7be0-607c98ac2569@redhat.com>

> Hi,
> 
> On 11/17/20 9:42 PM, Justin Ernst wrote:
> > Introduce a new platform driver to gather topology information from UV systems
> > and expose that information via a sysfs interface at /sys/firmware/sgi_uv/.
> >
> > Justin Ernst (5):
> >   x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface
> >   x86/platform/uv: Add and export uv_bios_* functions
> >   x86/platform/uv: Add new uv_sysfs platform driver
> >   x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/
> >   x86/platform/uv: Update MAINTAINERS for uv_sysfs driver
> 
> So patch 1/1 drops the existing
> 
> /sys/firmware/sgi_uv/coherence_id
> /sys/firmware/sgi_uv/partition_id
> 
> sysfs API, then according to patch 4/5 patch 3/5 reintroduces
> the /sys/firmware/sgi_uv/partition_id API, but the /sys/firmware/sgi_uv/coherence_id
> file is gone for ever ?
> 
> I'm not sure what userspace bits (may) depend on this but without more info
> this looks like a clear violation of the do not break userspace APIs rule.
> 
> So, based on this, I have to nack this series in its current state.
> 
> Now if there is a strong believe there are 0 (not a few, but _zero_) users
> out there who rely on the /sys/firmware/sgi_uv/coherence_id file then this
> might be ok. But then there needs to be a technical analysis of why this is
> ok in the commit message of the patch dropping this sysfs file.
> 
> Also the commit message of patch 1/5 should mention that
> /sys/firmware/sgi_uv/partition_id will be re-introduced later through
> another driver.

Hello Hans,

I will resubmit these patches without the API breakage, reintroducing the coherence_id file in the new driver.

Thank you for taking the time to look over my patch set.

> 
> Regards,
> 
> Hans


      reply	other threads:[~2020-11-18 16:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 20:42 Justin Ernst
2020-11-17 20:42 ` [PATCH 1/5] x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface Justin Ernst
2020-11-17 20:42 ` [PATCH 2/5] x86/platform/uv: Add and export uv_bios_* functions Justin Ernst
2020-11-17 20:42 ` [PATCH 3/5] x86/platform/uv: Add new uv_sysfs platform driver Justin Ernst
2020-11-17 20:42 ` [PATCH 4/5] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/ Justin Ernst
2020-11-17 20:42 ` [PATCH 5/5] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver Justin Ernst
2020-11-18 11:00 ` [PATCH 0/5] Add uv_sysfs platform driver Hans de Goede
2020-11-18 16:07   ` Ernst, Justin [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=AT5PR8401MB1300DCD22C7191DE4FEA8A8A87E10@AT5PR8401MB1300.NAMPRD84.PROD.OUTLOOK.COM \
    --to=justin.ernst@hpe.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andy@infradead.org \
    --cc=bp@alien8.de \
    --cc=cezary.rojewski@intel.com \
    --cc=dimitri.sivanich@hpe.com \
    --cc=dvhart@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=hpa@zytor.com \
    --cc=idryomov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=mgross@linux.intel.com \
    --cc=mingo@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=russ.anderson@hpe.com \
    --cc=steve.wahl@hpe.com \
    --cc=tglx@linutronix.de \
    --cc=vaibhav@linux.ibm.com \
    --cc=x86@kernel.org \
    /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®