-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic merge of 'next-test' into merge-test (2023-12-11 23:30)
- Loading branch information
Showing
23 changed files
with
1,595 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,6 +349,10 @@ Code Seq# Include File Comments | |
<mailto:[email protected]> | ||
0xB1 00-1F PPPoX | ||
<mailto:[email protected]> | ||
0xB2 00 arch/powerpc/include/uapi/asm/papr-vpd.h powerpc/pseries VPD API | ||
<mailto:linuxppc-dev> | ||
0xB2 01-02 arch/powerpc/include/uapi/asm/papr-sysparm.h powerpc/pseries system parameter API | ||
<mailto:linuxppc-dev> | ||
0xB3 00 linux/mmc/ioctl.h | ||
0xB4 00-0F linux/gpio.h <mailto:[email protected]> | ||
0xB5 00-0F uapi/linux/rpmsg.h <mailto:[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12234,21 +12234,21 @@ S: Orphan | |
F: arch/powerpc/platforms/40x/ | ||
F: arch/powerpc/platforms/44x/ | ||
|
||
LINUX FOR POWERPC EMBEDDED PPC83XX AND PPC85XX | ||
LINUX FOR POWERPC EMBEDDED PPC85XX | ||
M: Scott Wood <[email protected]> | ||
L: [email protected] | ||
S: Odd fixes | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git | ||
F: Documentation/devicetree/bindings/cache/freescale-l2cache.txt | ||
F: Documentation/devicetree/bindings/powerpc/fsl/ | ||
F: arch/powerpc/platforms/83xx/ | ||
F: arch/powerpc/platforms/85xx/ | ||
|
||
LINUX FOR POWERPC EMBEDDED PPC8XX | ||
LINUX FOR POWERPC EMBEDDED PPC8XX AND PPC83XX | ||
M: Christophe Leroy <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: arch/powerpc/platforms/8xx/ | ||
F: arch/powerpc/platforms/83xx/ | ||
|
||
LINUX KERNEL DUMP TEST MODULE (LKDTM) | ||
M: Kees Cook <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef _UAPI_PAPR_MISCDEV_H_ | ||
#define _UAPI_PAPR_MISCDEV_H_ | ||
|
||
enum { | ||
PAPR_MISCDEV_IOC_ID = 0xb2, | ||
}; | ||
|
||
#endif /* _UAPI_PAPR_MISCDEV_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef _UAPI_PAPR_SYSPARM_H_ | ||
#define _UAPI_PAPR_SYSPARM_H_ | ||
|
||
#include <linux/types.h> | ||
#include <asm/ioctl.h> | ||
#include <asm/papr-miscdev.h> | ||
|
||
enum { | ||
PAPR_SYSPARM_MAX_INPUT = 1024, | ||
PAPR_SYSPARM_MAX_OUTPUT = 4000, | ||
}; | ||
|
||
struct papr_sysparm_io_block { | ||
__u32 parameter; | ||
__u16 length; | ||
char data[PAPR_SYSPARM_MAX_OUTPUT]; | ||
}; | ||
|
||
/** | ||
* PAPR_SYSPARM_IOC_GET - Retrieve the value of a PAPR system parameter. | ||
* | ||
* Uses _IOWR because of one corner case: Retrieving the value of the | ||
* "OS Service Entitlement Status" parameter (60) requires the caller | ||
* to supply input data (a date string) in the buffer passed to | ||
* firmware. So the @length and @data of the incoming | ||
* papr_sysparm_io_block are always used to initialize the work area | ||
* supplied to ibm,get-system-parameter. No other parameters are known | ||
* to parameterize the result this way, and callers are encouraged | ||
* (but not required) to zero-initialize @length and @data in the | ||
* common case. | ||
* | ||
* On error the contents of the ioblock are indeterminate. | ||
* | ||
* Return: | ||
* 0: Success; @length is the length of valid data in @data, not to exceed @PAPR_SYSPARM_MAX_OUTPUT. | ||
* -EIO: Platform error. (-1) | ||
* -EINVAL: Incorrect data length or format. (-9999) | ||
* -EPERM: The calling partition is not allowed to access this parameter. (-9002) | ||
* -EOPNOTSUPP: Parameter not supported on this platform (-3) | ||
*/ | ||
#define PAPR_SYSPARM_IOC_GET _IOWR(PAPR_MISCDEV_IOC_ID, 1, struct papr_sysparm_io_block) | ||
|
||
/** | ||
* PAPR_SYSPARM_IOC_SET - Update the value of a PAPR system parameter. | ||
* | ||
* The contents of the ioblock are unchanged regardless of success. | ||
* | ||
* Return: | ||
* 0: Success; the parameter has been updated. | ||
* -EIO: Platform error. (-1) | ||
* -EINVAL: Incorrect data length or format. (-9999) | ||
* -EPERM: The calling partition is not allowed to access this parameter. (-9002) | ||
* -EOPNOTSUPP: Parameter not supported on this platform (-3) | ||
*/ | ||
#define PAPR_SYSPARM_IOC_SET _IOW(PAPR_MISCDEV_IOC_ID, 2, struct papr_sysparm_io_block) | ||
|
||
#endif /* _UAPI_PAPR_SYSPARM_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef _UAPI_PAPR_VPD_H_ | ||
#define _UAPI_PAPR_VPD_H_ | ||
|
||
#include <asm/ioctl.h> | ||
#include <asm/papr-miscdev.h> | ||
|
||
struct papr_location_code { | ||
/* | ||
* PAPR+ v2.13 12.3.2.4 Converged Location Code Rules - Length | ||
* Restrictions. 79 characters plus nul. | ||
*/ | ||
char str[80]; | ||
}; | ||
|
||
/* | ||
* ioctl for /dev/papr-vpd. Returns a VPD handle fd corresponding to | ||
* the location code. | ||
*/ | ||
#define PAPR_VPD_IOC_CREATE_HANDLE _IOW(PAPR_MISCDEV_IOC_ID, 0, struct papr_location_code) | ||
|
||
#endif /* _UAPI_PAPR_VPD_H_ */ |
Oops, something went wrong.