[0/5] x86/platform/uv: Move UV procfs leaves to sysfs
mbox series

Message ID 20201125172907.240996-1-mike.travis@hpe.com
Headers show
Series
  • x86/platform/uv: Move UV procfs leaves to sysfs
Related show

Message

Mike Travis Nov. 25, 2020, 5:29 p.m. UTC
Duplicate the current UV procfs leaves to the uv_sysfs driver so they show
up under /sys/firmware/sgi_uv.  Show a 'deprecated' warning message if
any of the old /proc/sgi_uv leaves are used.

These patches depend on the prior set sent by Justin Ernst <justin.ernst@hpe.com>
	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

Mike Travis (5):
  x86/platform/uv: Add kernel interfaces for obtaining system info.
  x86/platform/uv: Add sysfs leaves to replace those in procfs
  x86/platform/uv: Add sysfs hubless leaves
  x86/platform/uv: Add deprecated messages to /proc info leaves
  x86/platform/uv: Update sysfs document file

 .../ABI/testing/sysfs-firmware-sgi_uv         | 16 +++++
 arch/x86/include/asm/uv/bios.h                |  2 +
 arch/x86/kernel/apic/x2apic_uv_x.c            | 38 +++++++++-
 drivers/platform/x86/uv_sysfs.c               | 70 ++++++++++++++++++-
 4 files changed, 123 insertions(+), 3 deletions(-)

Comments

Hans de Goede Nov. 26, 2020, 10:44 a.m. UTC | #1
Hi,

On 11/25/20 6:29 PM, Mike Travis wrote:
> 
> Duplicate the current UV procfs leaves to the uv_sysfs driver so they show
> up under /sys/firmware/sgi_uv.  Show a 'deprecated' warning message if
> any of the old /proc/sgi_uv leaves are used.
> 
> These patches depend on the prior set sent by Justin Ernst <justin.ernst@hpe.com>
> 	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
> 
> Mike Travis (5):
>   x86/platform/uv: Add kernel interfaces for obtaining system info.
>   x86/platform/uv: Add sysfs leaves to replace those in procfs
>   x86/platform/uv: Add sysfs hubless leaves
>   x86/platform/uv: Add deprecated messages to /proc info leaves
>   x86/platform/uv: Update sysfs document file
> 
>  .../ABI/testing/sysfs-firmware-sgi_uv         | 16 +++++
>  arch/x86/include/asm/uv/bios.h                |  2 +
>  arch/x86/kernel/apic/x2apic_uv_x.c            | 38 +++++++++-
>  drivers/platform/x86/uv_sysfs.c               | 70 ++++++++++++++++++-
>  4 files changed, 123 insertions(+), 3 deletions(-)

This series depends on the:

[PATCH v3 0/5] x86/platform/uv: Add uv_sysfs platform driver

Series, next time when such a thing is the case, please add a note
about this to the cover letter.

Like with the "[PATCH v3 0/5] x86/platform/uv: Add uv_sysfs platform driver" series,
this series too should be merged in its entirety through the x86/tip tree (once the
other series is merged). Please also add this info to the cover letter.

I've one remark to patch 4 (which I send in a reply to that). So a v2 is going
to be necessary. Please include the above bits in the v2 cover-letter.

Regards,

Hans
Mike Travis Nov. 27, 2020, 2:41 p.m. UTC | #2
On 11/26/2020 2:44 AM, Hans de Goede wrote:
> Hi,
> 
> On 11/25/20 6:29 PM, Mike Travis wrote:
>>
>> Duplicate the current UV procfs leaves to the uv_sysfs driver so they show
>> up under /sys/firmware/sgi_uv.  Show a 'deprecated' warning message if
>> any of the old /proc/sgi_uv leaves are used.
>>
>> These patches depend on the prior set sent by Justin Ernst <justin.ernst@hpe.com>
>> 	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
>>
>> Mike Travis (5):
>>    x86/platform/uv: Add kernel interfaces for obtaining system info.
>>    x86/platform/uv: Add sysfs leaves to replace those in procfs
>>    x86/platform/uv: Add sysfs hubless leaves
>>    x86/platform/uv: Add deprecated messages to /proc info leaves
>>    x86/platform/uv: Update sysfs document file
>>
>>   .../ABI/testing/sysfs-firmware-sgi_uv         | 16 +++++
>>   arch/x86/include/asm/uv/bios.h                |  2 +
>>   arch/x86/kernel/apic/x2apic_uv_x.c            | 38 +++++++++-
>>   drivers/platform/x86/uv_sysfs.c               | 70 ++++++++++++++++++-
>>   4 files changed, 123 insertions(+), 3 deletions(-)
> 
> This series depends on the:
> 
> [PATCH v3 0/5] x86/platform/uv: Add uv_sysfs platform driver
> 
> Series, next time when such a thing is the case, please add a note
> about this to the cover letter.
> 
> Like with the "[PATCH v3 0/5] x86/platform/uv: Add uv_sysfs platform driver" series,
> this series too should be merged in its entirety through the x86/tip tree (once the
> other series is merged). Please also add this info to the cover letter.
> 
> I've one remark to patch 4 (which I send in a reply to that). So a v2 is going
> to be necessary. Please include the above bits in the v2 cover-letter.

I was just about to send a notice that Justin changed the underlying 
patch that these depend on.  (I was gone late Wednesday and all day 
yesterday).  That will be done later today, thanks!

> 
> Regards,
> 
> Hans
>