client side user xattr (RFC8276) support
Subsystems (2)
cover client side user xattr (RFC8276) support
This patchset implements the client side for NFS user extended attributes, as defined in RFC8726.
This was originally posted as an RFC in:
https://patchwork.kernel.org/cover/11143565/
Patch 1 is shared with the server side patch, posted separately.
Most comments in there still apply, except that:
1. Client side caching is now included in this patch set.
2. As per the discussion, user extended attributes are enabled if the client and server support them (e.g. they support 4.2 and advertise the user extended attribute FATTR). There are no longer options to switch them off on either the client or the server.
3. The code is no longer conditioned on a config option.
4. The number of patches has been reduced somewhat by merging smaller, related ones.
The client side caching is implemented through a per-inode hash table, which is allocated on demand. See fs/nfs/nfs42xattr.c for details.
This has been tested as follows:
* Linux client and server:
* Test all corner cases (XATTR_SIZE_*)
* Test all failure cases (no xattr, setxattr with different or invalid flags, etc).
* Verify the content of xattrs across several operations.
* Use KASAN and KMEMLEAK for a longer mix of testruns to verify that there were no leaks (after unmounting the filesystem).
* Stress tested caching, trying to run the client out of memory.
* Tested against the FreeBSD-current implementation as well, which works (after I fixed 2 bugs in that implementation, which I'm sending out to them too).
* Not tested: RDMA (I couldn't get a setup going).
Frank van der Linden (13):
nfs,nfsd: NFSv4.2 extended attribute protocol definitions
nfs: add client side only definitions for user xattrs NFSv4.2: query the server for extended attribute support NFSv4.2: define limits and sizes for user xattr handling NFSv4.2: add client side XDR handling for extended attributes
nfs: define nfs_access_get_cached function
NFSv4.2: query the extended attribute access bits
nfs: modify update_changeattr to deal with regular files
nfs: define and use the NFS_INO_INVALID_XATTR flag
nfs: make the buf_to_pages_noslab function available to the nfs code NFSv4.2: add the extended attribute proc functions. NFSv4.2: hook in the user extended attribute handlers NFSv4.2: add client side xattr caching.
fs/nfs/Makefile | 1 + fs/nfs/client.c | 19 +- fs/nfs/dir.c | 24 +- fs/nfs/inode.c | 16 +- fs/nfs/internal.h | 28 ++ fs/nfs/nfs42.h | 24 + fs/nfs/nfs42proc.c | 248 ++++++++++ fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 442 ++++++++++++++++++ fs/nfs/nfs4_fs.h | 5 + fs/nfs/nfs4client.c | 31 ++ fs/nfs/nfs4proc.c | 248 ++++++++-- fs/nfs/nfs4super.c | 10 + fs/nfs/nfs4xdr.c | 29 ++ fs/nfs/nfstrace.h | 3 +- include/linux/nfs4.h | 25 + include/linux/nfs_fs.h | 12 + include/linux/nfs_fs_sb.h | 6 + include/linux/nfs_xdr.h | 60 ++- include/uapi/linux/nfs4.h | 3 + include/uapi/linux/nfs_fs.h | 1 + 21 files changed, 2276 insertions(+), 42 deletions(-) create mode 100644 fs/nfs/nfs42xattr.c
Signature · 1 line
2.16.6
PATCH 1/13 nfs,nfsd: NFSv4.2 extended attribute protocol definitions
Add definitions for the new operations, errors and flags as defined in RFC 8276 (File System Extended Attributes in NFSv4).
--- include/linux/nfs4.h | 20 ++++++++++++++++++++ include/uapi/linux/nfs4.h | 3 +++ 2 files changed, 23 insertions(+)
include/linux/nfs4.h +20 -0
@@ -150,6 +150,12 @@ enum nfs_opnum4 {OP_WRITE_SAME =70 ,OP_CLONE =71 , +/* xattr support (RFC8726) */ +OP_GETXATTR =72 , +OP_SETXATTR =73 , +OP_LISTXATTRS =74 , +OP_REMOVEXATTR =75 , + OP_ILLEGAL = 10044, };
@@ -280,6 +286,10 @@ enum nfsstat4 {NFS4ERR_WRONG_LFS =10092 ,NFS4ERR_BADLABEL =10093 ,NFS4ERR_OFFLOAD_NO_REQS =10094 , + +/* xattr (RFC8276) */ +NFS4ERR_NOXATTR =10095 , + NFS4ERR_XATTR2BIG = 10096, };static inline bool seqid_mutating_err (u32 err)
@@ -452,6 +462,7 @@ enum change_attr_type4 {#define FATTR4_WORD2_CHANGE_ATTR_TYPE (1UL << 15)#define FATTR4_WORD2_SECURITY_LABEL (1UL << 16)#define FATTR4_WORD2_MODE_UMASK (1UL << 17) +#define FATTR4_WORD2_XATTR_SUPPORT (1UL << 18)/* MDS threshold bitmap bits */ #define THRESHOLD_RD (1UL << 0)
@@ -700,4 +711,13 @@ struct nl4_server { struct nfs42_netaddr nl4_addr; /* NL4_NETADDR */ } u; }; + +/* +* Options for setxattr. These match the flags for setxattr(2). +*/ +enum nfs4_setxattr_options { +SETXATTR4_EITHER =0 , +SETXATTR4_CREATE =1 , +SETXATTR4_REPLACE =2 , +};#endif
include/uapi/linux/nfs4.h +3 -0
@@ -33,6 +33,9 @@#define NFS4_ACCESS_EXTEND 0x0008#define NFS4_ACCESS_DELETE 0x0010#define NFS4_ACCESS_EXECUTE 0x0020 +#define NFS4_ACCESS_XAREAD 0x0040 +#define NFS4_ACCESS_XAWRITE 0x0080 +#define NFS4_ACCESS_XALIST 0x0100#define NFS4_FH_PERSISTENT 0x0000#define NFS4_FH_NOEXPIRE_WITH_OPEN 0x0001
Signature · 1 line
2.16.6
PATCH 2/13 nfs: add client side only definitions for user xattrs
In reply to Frank van der LindenAdd client-side only definitions for user extended attributes (RFC8276). These are the access bits as used by the client code, and the CLNT procedure number definition.
--- include/linux/nfs4.h | 5 +++++ include/linux/nfs_fs.h | 3 +++ 2 files changed, 8 insertions(+)
include/linux/nfs4.h +5 -0
@@ -553,6 +553,11 @@ enum {NFSPROC4_CLNT_LAYOUTERROR ,NFSPROC4_CLNT_COPY_NOTIFY , + +NFSPROC4_CLNT_GETXATTR , +NFSPROC4_CLNT_SETXATTR , +NFSPROC4_CLNT_LISTXATTRS , + NFSPROC4_CLNT_REMOVEXATTR, };/* nfs41 types */
include/linux/nfs_fs.h +3 -0
@@ -212,6 +212,9 @@ struct nfs4_copy_state {#define NFS_ACCESS_EXTEND 0x0008#define NFS_ACCESS_DELETE 0x0010#define NFS_ACCESS_EXECUTE 0x0020 +#define NFS_ACCESS_XAREAD 0x0040 +#define NFS_ACCESS_XAWRITE 0x0080 +#define NFS_ACCESS_XALIST 0x0100/* * Cache validity bit flags
Signature · 1 line
2.16.6
PATCH 3/13 NFSv4.2: query the server for extended attribute support
In reply to Frank van der LindenQuery the server for extended attribute support, and record it as the NFS_CAP_XATTR flag in the server capabilities.
--- fs/nfs/nfs4proc.c | 14 ++++++++++++-- fs/nfs/nfs4xdr.c | 23 +++++++++++++++++++++++ include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 1 + 4 files changed, 37 insertions(+), 2 deletions(-)
fs/nfs/nfs4proc.c +12 -2
@@ -3742,6 +3742,7 @@ static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync)static int _nfs4_server_capabilities (struct nfs_server *server,struct nfs_fh *fhandle) {u32 bitmask[3 ] = {}, minorversion = server->nfs_client->cl_minorversion; +u32 fattr4_word2_nfs42_mask;struct nfs4_server_caps_arg args = { .fhandle = fhandle, .bitmask = bitmask,
@@ -3763,6 +3764,13 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fif (minorversion) bitmask[2 ] =FATTR4_WORD2_SUPPATTR_EXCLCREAT ; + fattr4_word2_nfs42_mask =FATTR4_WORD2_NFS42_MASK ; + +if (minorversion >=2 ) { + bitmask[2 ] |=FATTR4_WORD2_XATTR_SUPPORT ; + fattr4_word2_nfs42_mask |=FATTR4_WORD2_XATTR_SUPPORT ; + } + status =nfs4_call_sync (server->client, server, &msg, &args.seq_args, &res.seq_res,0 );if (status ==0 ) {/* Sanity check the server answers */
@@ -3775,7 +3783,7 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *f res.attr_bitmask[2 ] &=FATTR4_WORD2_NFS41_MASK ;break ;case 2 : - res.attr_bitmask[2 ] &=FATTR4_WORD2_NFS42_MASK ; + res.attr_bitmask[2 ] &= fattr4_word2_nfs42_mask; }memcpy (server->attr_bitmask, res.attr_bitmask,sizeof (server->attr_bitmask)); server->caps &= ~(NFS_CAP_ACLS|NFS_CAP_HARDLINKS|
@@ -3783,7 +3791,7 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fNFS_CAP_MODE |NFS_CAP_NLINK |NFS_CAP_OWNER |NFS_CAP_OWNER_GROUP |NFS_CAP_ATIME |NFS_CAP_CTIME |NFS_CAP_MTIME | - NFS_CAP_SECURITY_LABEL); + NFS_CAP_SECURITY_LABEL|NFS_CAP_XATTR);if (res.attr_bitmask[0 ] &FATTR4_WORD0_ACL && res.acl_bitmask &ACL4_SUPPORT_ALLOW_ACL ) server->caps |=NFS_CAP_ACLS ;
@@ -3811,6 +3819,8 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fif (res.attr_bitmask[2 ] &FATTR4_WORD2_SECURITY_LABEL ) server->caps |=NFS_CAP_SECURITY_LABEL ;#endif +if (res.has_xattr) + server->caps |=NFS_CAP_XATTR ;memcpy (server->attr_bitmask_nl, res.attr_bitmask,sizeof (server->attr_bitmask)); server->attr_bitmask_nl[2 ] &= ~FATTR4_WORD2_SECURITY_LABEL ;
fs/nfs/nfs4xdr.c +23 -0
@@ -4201,6 +4201,26 @@ static int decode_attr_time_modify(struct xdr_stream *xdr, uint32_t *bitmap, strreturn status; } +static int decode_attr_xattrsupport (struct xdr_stream *xdr,uint32_t *bitmap, +uint32_t *res) +{ +__be32 *p; + + *res =0 ; +if (unlikely (bitmap[2 ] & (FATTR4_WORD2_XATTR_SUPPORT -1U ))) +return -EIO ; +if (likely (bitmap[2 ] &FATTR4_WORD2_XATTR_SUPPORT )) { + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + *res =be32_to_cpup (p); + bitmap[2 ] &= ~FATTR4_WORD2_XATTR_SUPPORT ; + } +dprintk ("%s: XATTR support=%s\n" , __func__, + *res ==0 ?"false" :"true" ); +return 0 ; +} +static int verify_attr_len (struct xdr_stream *xdr,unsigned int savep,uint32_t attrlen) {unsigned int attrwords =XDR_QUADLEN (attrlen);
@@ -4371,6 +4391,9 @@ static int decode_server_caps(struct xdr_stream *xdr, struct nfs4_server_caps_reif ((status =decode_attr_exclcreat_supported (xdr, bitmap, res->exclcreat_bitmask)) !=0 ) goto xdr_error; + status =decode_attr_xattrsupport (xdr, bitmap, &res->has_xattr); +if (status !=0 ) + goto xdr_error; status =verify_attr_len (xdr, savep, attrlen); xdr_error:dprintk ("%s: xdr returned %d!\n" , __func__, -status);
include/linux/nfs_fs_sb.h +1 -0
@@ -281,5 +281,6 @@ struct nfs_server {#define NFS_CAP_OFFLOAD_CANCEL (1U << 25)#define NFS_CAP_LAYOUTERROR (1U << 26)#define NFS_CAP_COPY_NOTIFY (1U << 27) +#define NFS_CAP_XATTR (1U << 28)#endif
include/linux/nfs_xdr.h +1 -0
@@ -1178,6 +1178,7 @@ struct nfs4_server_caps_res {u32 has_links;u32 has_symlinks;u32 fh_expire_type; +u32 has_xattr; };#define NFS4_PATHNAME_MAXCOMPONENTS 512
Signature · 1 line
2.16.6
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Hi Frank,
----- Original Message -----
Quoted 33 lines
From: "Frank van der Linden" <[email protected]>
To: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Cc: "Frank van der Linden" <[email protected]>
Sent: Wednesday, March 11, 2020 8:56:03 PM
Subject: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuery the server for extended attribute support, and record it as the
NFS_CAP_XATTRflag in the server capabilities.Signed-off-by Frank van der Linden <[email protected]>---
fs/nfs/nfs4proc.c | 14 ++++++++++++-- fs/nfs/nfs4xdr.c | 23 +++++++++++++++++++++++ include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 1 + 4 files changed, 37 insertions(+), 2 deletions(-)fs/nfs/nfs4proc.c +0
-0@@ -3742,6 +3742,7 @@ static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync)static int
_nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle){ u32 bitmask[3] = {}, minorversion = server->nfs_client->cl_minorversion;fs/nfs/nfs4proc.c +1
-0+u32 fattr4_word2_nfs42_mask;struct
nfs4_server_caps_argargs = {
.fhandle = fhandle,
.bitmask = bitmask,
fs/nfs/nfs4proc.c static int _nfs4_server_capabilities(struct nfs_server · line 3770
Quoted 7 lines
fs/nfs/nfs4proc.c +3
-0@@ -3763,6 +3764,13 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fif (minorversion) bitmask[2 ] =FATTR4_WORD2_SUPPATTR_EXCLCREAT ; + fattr4_word2_nfs42_mask =FATTR4_WORD2_NFS42_MASK ; + +if (minorversion >=2 ) {
I am not sure you need this extra check as by querying for FATTR4_WORD0_SUPPORTED_ATTRS server already will return FATTR4_WORD2_XATTR_SUPPORT if supported.
Tigran.
Quoted 107 lines
fs/nfs/nfs4proc.c +4
-0+ bitmask[2 ] |=FATTR4_WORD2_XATTR_SUPPORT ; + fattr4_word2_nfs42_mask |=FATTR4_WORD2_XATTR_SUPPORT ; + } + status =nfs4_call_sync (server->client, server, &msg, &args.seq_args, &res.seq_res,0 );if (status == 0) { /* Sanity check the server answers */fs/nfs/nfs4proc.c +1
-1@@ -3775,7 +3783,7 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *f res.attr_bitmask[2 ] &=FATTR4_WORD2_NFS41_MASK ;break ;case 2 : - res.attr_bitmask[2 ] &=FATTR4_WORD2_NFS42_MASK ; + res.attr_bitmask[2 ] &= fattr4_word2_nfs42_mask; }memcpy (server->attr_bitmask, res.attr_bitmask,sizeof (server->attr_bitmask));server->caps &= ~(NFS_CAP_ACLS|NFS_CAP_HARDLINKS|fs/nfs/nfs4proc.c +1
-1@@ -3783,7 +3791,7 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fNFS_CAP_MODE |NFS_CAP_NLINK |NFS_CAP_OWNER |NFS_CAP_OWNER_GROUP |NFS_CAP_ATIME |NFS_CAP_CTIME |NFS_CAP_MTIME | - NFS_CAP_SECURITY_LABEL); + NFS_CAP_SECURITY_LABEL|NFS_CAP_XATTR);if (res.attr_bitmask[0 ] &FATTR4_WORD0_ACL && res.acl_bitmask &ACL4_SUPPORT_ALLOW_ACL )server->caps |= NFS_CAP_ACLS;fs/nfs/nfs4proc.c +2
-0@@ -3811,6 +3819,8 @@ static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fif (res.attr_bitmask[2 ] &FATTR4_WORD2_SECURITY_LABEL ) server->caps |=NFS_CAP_SECURITY_LABEL ;#endif +if (res.has_xattr) + server->caps |=NFS_CAP_XATTR ;memcpy (server->attr_bitmask_nl, res.attr_bitmask,sizeof (server->attr_bitmask));server->attr_bitmask_nl[2] &= ~FATTR4_WORD2_SECURITY_LABEL;fs/nfs/nfs4xdr.c +20
-0@@ -4201,6 +4201,26 @@ static int decode_attr_time_modify(struct xdr_stream *xdr, uint32_t *bitmap, strreturn status; } +static int decode_attr_xattrsupport (struct xdr_stream *xdr,uint32_t *bitmap, +uint32_t *res) +{ +__be32 *p; + + *res =0 ; +if (unlikely (bitmap[2 ] & (FATTR4_WORD2_XATTR_SUPPORT -1U ))) +return -EIO ; +if (likely (bitmap[2 ] &FATTR4_WORD2_XATTR_SUPPORT )) { + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + *res =be32_to_cpup (p); + bitmap[2 ] &= ~FATTR4_WORD2_XATTR_SUPPORT ; + } +dprintk ("%s: XATTR support=%s\n" , __func__, + *res ==0 ?"false" :"true" ); +return 0 ; +} +static int
verify_attr_len(struct xdr_stream *xdr, unsigned int savep, uint32_t attrlen){ unsigned int attrwords = XDR_QUADLEN(attrlen);fs/nfs/nfs4xdr.c +0
-0@@ -4371,6 +4391,9 @@ static int decode_server_caps(struct xdr_stream *xdr,struct
nfs4_server_caps_reif ((status = decode_attr_exclcreat_supported(xdr, bitmap, res->exclcreat_bitmask)) != 0) goto xdr_error;fs/nfs/nfs4xdr.c +3
-0+ status =decode_attr_xattrsupport (xdr, bitmap, &res->has_xattr); +if (status !=0 ) + goto xdr_error;status = verify_attr_len(xdr, savep, attrlen); xdr_error: dprintk("%s: xdr returned %d!\n", __func__, -status);include/linux/nfs_fs_sb.h +1
-0@@ -281,5 +281,6 @@ struct nfs_server {#define NFS_CAP_OFFLOAD_CANCEL (1U << 25)#define NFS_CAP_LAYOUTERROR (1U << 26)#define NFS_CAP_COPY_NOTIFY (1U << 27) +#define NFS_CAP_XATTR (1U << 28)#endif include/linux/nfs_xdr.h +1
-1@@ -1178,6 +1178,7 @@ struct nfs4_server_caps_res {u32 has_links;u32 has_symlinks;u32 fh_expire_type; +u32 has_xattr; };#define NFS4_PATHNAME_MAXCOMPONENTS 512 --2.16.6
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Quoted 6 lines · Tigran
fs/nfs/nfs4proc.c static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *f · line 3769
Quoted 3 lines
fs/nfs/nfs4proc.c +3
-0+ fattr4_word2_nfs42_mask =FATTR4_WORD2_NFS42_MASK ; + +if (minorversion >=2 ) {I am not sure you need this extra check as by querying for
FATTR4_WORD0_SUPPORTED_ATTRSserver already will returnFATTR4_WORD2_XATTR_SUPPORTif supported.
There used to be a mount option check here, which I later removed. That means that fattr4_word2_nfs42_mask is no longer needed, so I'll remove that.
As for the attribute itself: I suppose the question here is what the client should use to assume the server has RFC 8276 support:
1) The xattr_support attribute exists
2) The xattr support attribute exists *and* it's true for the root fh
Currently the code does 2) in one operation. That might not be 100% correct - the RFC does mention that (section 8.2):
"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by interrogating the supported_attrs attribute."
That's a "should", not a "MUST", but it's still waving its finger at you not to do this.
Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support the xattr_support attribute does not provide xattr support, and it acts on that basis."
..I think you're right, and the code should just use the existence of the attribute as a signal that the server knows about xattrs - operations should still error out correctly if it doesn't.
I'll make that change, thanks.
Frank
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Quoted 19 lines · Frank van der Linden
1) The
xattr_supportattribute exists
2) The xattr support attribute exists *and* it's true for the root fhCurrently the code does 2) in one operation. That might not be 100% correct - the RFC does mention that (section 8.2):
"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by interrogating thesupported_attrsattribute."That's a "should", not a "MUST", but it's still waving its finger at you not to do this.
Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support thexattr_supportattribute does not provide xattr support, and it acts on that basis."
Quoted 5 lines
..I think you're right, and the code should just use the existence of the attribute as a signal that the server knows about xattrs - operations should still error out correctly if it doesn't.
I'll make that change, thanks.
..or, alternatively, only query xattr_support in nfs4_server_capabilities, and then its actual value, if it exists, in nfs4_fs_info.
Any opinions on this?
- Frank
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Hi Frank,
I think the way how you have implemented is almost correct. You query server for supported attributes. As result client will get all attributes supported bu the server and if FATTR4_XATTR_SUPPORT is returned, then client adds xattr capability. This the way how I read rfc8276. Do you have a different opinion?
Regards,
Tigran.
----- Original Message -----
Quoted 39 lines
From: "Frank van der Linden" <[email protected]>
To: "Tigran Mkrtchyan" <[email protected]>
Cc: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Sent: Thursday, March 12, 2020 10:15:55 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuoted 19 lines · Frank van der Linden
1) The
xattr_supportattribute exists
2) The xattr support attribute exists *and* it's true for the root fhCurrently the code does 2) in one operation. That might not be 100% correct - the RFC does mention that (section 8.2):
"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by interrogating thesupported_attrsattribute."That's a "should", not a "MUST", but it's still waving its finger at you not to do this.
Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support thexattr_supportattribute does not provide xattr support, and it acts on that basis."Quoted 5 lines
..I think you're right, and the code should just use the existence of the attribute as a signal that the server knows about xattrs - operations should still error out correctly if it doesn't.
I'll make that change, thanks.
..or, alternatively, only query
xattr_supportinnfs4_server_capabilities, and then its actual value, if it exists, innfs4_fs_info.Any opinions on this?
- Frank
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Quoted 11 lines · Tigran
Hi Frank,
I think the way how you have implemented is almost correct. You query server for supported attributes. As result client will get all attributes
supported bu the server and ifFATTR4_XATTR_SUPPORTis returned, then client
adds xattr capability. This the way how I read rfc8276. Do you have a different
opinion?
'xattr_support' seems like a protocol hack to allow the client to determine whether or not the xattr operations are supported.
The reason why it is a hack is that 'supported_attrs' is also a per- filesystem attribute, and there is no value in advertising 'xattr_support' there unless your filesystem also supports xattrs.
IOW: the protocol forces you to do 2 round trips to the server in order to figure out something that really should be obvious with 1 round trip.
Quoted 52 lines
Regards,
Tigran.----- Original Message -----
Quoted 48 lines
From: "Frank van der Linden" <[email protected]>
To: "Tigran Mkrtchyan" <[email protected]>
Cc: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Sent: Thursday, March 12, 2020 10:15:55 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuoted 24 lines · Frank van der Linden
1) The
xattr_supportattribute exists
2) The xattr support attribute exists *and* it's true for the root fhCurrently the code does 2) in one operation. That might not be 100%
correct - the RFC does mention that (section 8.2):"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by interrogating
the
supported_attrsattribute."That's a "should", not a "MUST", but it's still waving its finger at you not to do this.
Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support thexattr_support
attribute
does not provide xattr support, and it acts on that basis."Quoted 6 lines
..I think you're right, and the code should just use the existence
of the attribute as a signal that the server knows about xattrs - operations should still error out correctly if it doesn't.I'll make that change, thanks.
..or, alternatively, only query
xattr_supportinnfs4_server_capabilities,
and then its actual value, if it exists, innfs4_fs_info.Any opinions on this?
- Frank
Signature · 3 lines
Trond Myklebust Linux NFS client maintainer, Hammerspace [email protected]
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
----- Original Message -----
Quoted 22 lines
From: "trondmy" <[email protected]>
To: "Frank van der Linden" <[email protected]>, "Tigran Mkrtchyan" <[email protected]>
Cc: "linux-nfs" <[email protected]>, "Anna Schumaker" <[email protected]>
Sent: Friday, March 13, 2020 2:50:38 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuoted 11 lines · Tigran
Hi Frank,
I think the way how you have implemented is almost correct. You query server for supported attributes. As result client will get all attributes
supported bu the server and ifFATTR4_XATTR_SUPPORTis returned, then client
adds xattr capability. This the way how I read rfc8276. Do you have a different
opinion?'
xattr_support' seems like a protocol hack to allow the client to determine whether or not the xattr operations are supported.
Quoted 8 lines
The reason why it is a hack is that '
supported_attrs' is also a per- filesystem attribute, and there is no value in advertising 'xattr_support' there unless your filesystem also supports xattrs.IOW: the protocol forces you to do 2 round trips to the server in order to figure out something that really should be obvious with 1 round trip.
So you say that client have to query for xattr_support every time the fsid is changing?
Tigran.
Quoted 56 lines
Quoted 52 lines
Regards,
Tigran.----- Original Message -----
Quoted 48 lines
From: "Frank van der Linden" <[email protected]>
To: "Tigran Mkrtchyan" <[email protected]>
Cc: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Sent: Thursday, March 12, 2020 10:15:55 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuoted 24 lines · Frank van der Linden
1) The
xattr_supportattribute exists
2) The xattr support attribute exists *and* it's true for the root fhCurrently the code does 2) in one operation. That might not be 100%
correct - the RFC does mention that (section 8.2):"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by interrogating
the
supported_attrsattribute."That's a "should", not a "MUST", but it's still waving its finger at you not to do this.
Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support thexattr_support
attribute
does not provide xattr support, and it acts on that basis."Quoted 6 lines
..I think you're right, and the code should just use the existence
of the attribute as a signal that the server knows about xattrs - operations should still error out correctly if it doesn't.I'll make that change, thanks.
..or, alternatively, only query
xattr_supportinnfs4_server_capabilities,
and then its actual value, if it exists, innfs4_fs_info.Any opinions on this?
- Frank
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
[email protected]
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
Quoted 40 lines · Tigran
----- Original Message -----
Quoted 32 lines
From: "trondmy" <[email protected]>
To: "Frank van der Linden" <[email protected]>, "Tigran Mkrtchyan" <[email protected]>
Cc: "linux-nfs" <[email protected]>, "Anna Schumaker" < [email protected]>
Sent: Friday, March 13, 2020 2:50:38 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute supportQuoted 14 lines · Tigran
Hi Frank,
I think the way how you have implemented is almost correct. You query
server for supported attributes. As result client will get all attributes
supported bu the server and ifFATTR4_XATTR_SUPPORTis returned, then
client
adds xattr capability. This the way how I read rfc8276. Do you have a
different
opinion?'
xattr_support' seems like a protocol hack to allow the client to determine whether or not the xattr operations are supported.The reason why it is a hack is that '
supported_attrs' is also a per-
filesystem attribute, and there is no value in advertising 'xattr_support' there unless your filesystem also supports xattrs.Quoted 5 lines
IOW: the protocol forces you to do 2 round trips to the server in order
to figure out something that really should be obvious with 1 round trip.
Quoted 4 lines
So you say that client have to query for
xattr_supportevery time the
fsid is changing?
According to the spec it is a per-filesystem attribute, just like supported_attrs...
Cheers
Trond
Quoted 63 lines
Tigran.
Quoted 61 lines
Quoted 57 lines
Regards,
Tigran.----- Original Message -----
Quoted 53 lines
From: "Frank van der Linden" <[email protected]>
To: "Tigran Mkrtchyan" <[email protected]>
Cc: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Sent: Thursday, March 12, 2020 10:15:55 PM
Subject: Re: [PATCH 03/13] NFSv4.2: query the server for extended
attribute supportQuoted 27 lines · Frank van der Linden
1) The
xattr_supportattribute exists
2) The xattr support attribute exists *and* it's true for the root fhCurrently the code does 2) in one operation. That might not be
100%
correct - the RFC does mention that (section 8.2):"Before interrogating this attribute using GETATTR, a client should
determine whether it is a supported attribute by
interrogating
the
supported_attrsattribute."That's a "should", not a "MUST", but it's still waving its finger
at you not to do this.Since 8.2.1 says:
"However, a client may reasonably assume that a server
(or file system) that does not support thexattr_support
attribute
does not provide xattr support, and it acts on that basis."Quoted 7 lines
..I think you're right, and the code should just use the existence
of the attribute as a signal that the server knows about xattrs -
operations should still error out correctly if it doesn't.I'll make that change, thanks.
..or, alternatively, only query
xattr_supportinnfs4_server_capabilities,
and then its actual value, if it exists, innfs4_fs_info.Any opinions on this?
- Frank
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
[email protected]
Signature · 3 lines
Trond Myklebust Linux NFS client maintainer, Hammerspace [email protected]
Re: [PATCH 03/13] NFSv4.2: query the server for extended attribute support
In reply to Trond MyklebustQuoted 10 lines · Trond Myklebust
'
xattr_support' seems like a protocol hack to allow the client to determine whether or not the xattr operations are supported.The reason why it is a hack is that '
supported_attrs' is also a per- filesystem attribute, and there is no value in advertising 'xattr_support' there unless your filesystem also supports xattrs.IOW: the protocol forces you to do 2 round trips to the server in order to figure out something that really should be obvious with 1 round trip.
Right, that's the annoying part. I mean, theoretically, a server can legally reject a GETATTR because you're asking for an unknown attribute (e.g. xattr_support in this case). So then what I have in my current patch (asking for both the supported_attrs and xattr_support at once) might fail, and the mount would fail.
Which means I should split it up and have nfs4_do_fsinfo do the 2nd part, just in case.
- Frank
PATCH 4/13 NFSv4.2: define limits and sizes for user xattr handling
In reply to Frank van der LindenSet limits for extended attributes (attribute value size and listxattr buffer size), based on the fs-independent limits (XATTR_*_MAX).
Define the maximum XDR sizes for the RFC 8276 XATTR operations. In the case of operations that carry a larger payload (SETXATTR, GETXATTR, LISTXATTR), these exclude that payload, which is added as separate pages, like other operations do.
Define, much like for read and write operations, the maximum overhead sizes for get/set/listxattr, and use them to limit the maximum payload size for those operations, in combination with the channel attributes.
--- fs/nfs/client.c | 19 ++++++++++-- fs/nfs/internal.h | 5 ++++ fs/nfs/nfs42.h | 16 ++++++++++ fs/nfs/nfs42xdr.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4client.c | 31 ++++++++++++++++++++ include/linux/nfs_fs_sb.h | 5 ++++ 6 files changed, 148 insertions(+), 2 deletions(-)
fs/nfs/client.c +17 -2
@@ -50,6 +50,7 @@#include "nfs.h" #include "netns.h" #include "sysfs.h" +#include "nfs42.h" #define NFSDBG_FACILITY NFSDBG_CLIENT
@@ -748,7 +749,7 @@ static int nfs_init_server(struct nfs_server *server,static void nfs_server_set_fsinfo (struct nfs_server *server,struct nfs_fsinfo *fsinfo) { -unsigned long max_rpc_payload; +unsigned long max_rpc_payload, raw_max_rpc_payload;/* Work out a lot of parameters */ if (server->rsize ==0 )
@@ -761,7 +762,9 @@ static void nfs_server_set_fsinfo(struct nfs_server *server,if (fsinfo->wtmax >=512 && server->wsize > fsinfo->wtmax) server->wsize =nfs_block_size (fsinfo->wtmax,NULL ); - max_rpc_payload =nfs_block_size (rpc_max_payload (server->client),NULL ); + raw_max_rpc_payload =rpc_max_payload (server->client); + max_rpc_payload =nfs_block_size (raw_max_rpc_payload,NULL ); +if (server->rsize > max_rpc_payload) server->rsize = max_rpc_payload;if (server->rsize >NFS_MAX_FILE_IO_SIZE )
@@ -794,6 +797,18 @@ static void nfs_server_set_fsinfo(struct nfs_server *server, server->clone_blksize = fsinfo->clone_blksize;/* We're airborne Set socket buffersize */ rpc_setbufsize (server->client, server->wsize +100 , server->rsize +100 ); + +#ifdef CONFIG_NFS_V4_2 +/* +* Defaults until limited by the session parameters. +*/ + server->gxasize = min_t(unsigned int, raw_max_rpc_payload, +XATTR_SIZE_MAX ); + server->sxasize = min_t(unsigned int, raw_max_rpc_payload, +XATTR_SIZE_MAX ); + server->lxasize = min_t(unsigned int, raw_max_rpc_payload, +nfs42_listxattr_xdrsize (XATTR_LIST_MAX )); +#endif }/*
fs/nfs/internal.h +5 -0
@@ -306,6 +306,11 @@ extern const u32 nfs41_maxread_overhead;extern const u32 nfs41_maxwrite_overhead;extern const u32 nfs41_maxgetdevinfo_overhead;#endif +#ifdef CONFIG_NFS_V4_2 +extern const u32 nfs42_maxsetxattr_overhead; +extern const u32 nfs42_maxgetxattr_overhead; +extern const u32 nfs42_maxlistxattrs_overhead; +#endif /* nfs4proc.c */ #if IS_ENABLED (CONFIG_NFS_V4 )
fs/nfs/nfs42.h +16 -0
@@ -6,6 +6,8 @@#ifndef __LINUX_FS_NFS_NFS4_2_H#define __LINUX_FS_NFS_NFS4_2_H +#include <linux/xattr.h> +/* * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support * more? Need to consider not to pre-alloc too much for a compound.
@@ -36,5 +38,19 @@ static inline bool nfs42_files_from_same_server(struct file *in,return nfs4_check_serverowner_major_id (c_in->cl_serverowner, c_out->cl_serverowner); } + +/* +* Maximum XDR buffer size needed for a listxattr buffer of buflen size. +* +* The upper boundary is a buffer with all 1-byte sized attribute names. +* They would be 7 bytes long in the eventual buffer ("user.x\0"), and +* 8 bytes long XDR-encoded. +* +* Include the trailing eof word as well. +*/ +static inline u32 nfs42_listxattr_xdrsize (u32 buflen) +{ +return ((buflen / (XATTR_USER_PREFIX_LEN +2 )) *8 ) +4 ; +}#endif /* CONFIG_NFS_V4_2 */ #endif /* __LINUX_FS_NFS_NFS4_2_H */
fs/nfs/nfs42xdr.c +74 -0
80 lines not on this page · raw message
fs/nfs/nfs4client.c +31 -0
@@ -993,6 +993,36 @@ static void nfs4_session_limit_rwsize(struct nfs_server *server)#endif /* CONFIG_NFS_V4_1 */ } +/* +* Limit xattr sizes using the channel attributes. +*/ +static void nfs4_session_limit_xasize (struct nfs_server *server) +{ +#ifdef CONFIG_NFS_V4_2 +struct nfs4_session *sess; +u32 server_gxa_sz; +u32 server_sxa_sz; +u32 server_lxa_sz; + +if (!nfs4_has_session (server->nfs_client)) +return ; + + sess = server->nfs_client->cl_session; + + server_gxa_sz = sess->fc_attrs.max_resp_sz - nfs42_maxgetxattr_overhead; + server_sxa_sz = sess->fc_attrs.max_rqst_sz - nfs42_maxsetxattr_overhead; + server_lxa_sz = sess->fc_attrs.max_resp_sz - + nfs42_maxlistxattrs_overhead; + +if (server->gxasize > server_gxa_sz) + server->gxasize = server_gxa_sz; +if (server->sxasize > server_sxa_sz) + server->sxasize = server_sxa_sz; +if (server->lxasize > server_lxa_sz) + server->lxasize = server_lxa_sz; +#endif +} +static int nfs4_server_common_setup (struct nfs_server *server,struct nfs_fh *mntfh,bool auth_probe) {
@@ -1040,6 +1070,7 @@ static int nfs4_server_common_setup(struct nfs_server *server, goto out;nfs4_session_limit_rwsize (server); +nfs4_session_limit_xasize (server);if (server->namelen ==0 || server->namelen >NFS4_MAXNAMLEN ) server->namelen =NFS4_MAXNAMLEN ;
include/linux/nfs_fs_sb.h +5 -0
@@ -163,6 +163,11 @@ struct nfs_server {unsigned int dtsize;/* readdir size */ unsigned short port;/* "port=" setting */ unsigned int bsize;/* server block size */ +#ifdef CONFIG_NFS_V4_2 +unsigned int gxasize;/* getxattr size */ +unsigned int sxasize;/* setxattr size */ +unsigned int lxasize;/* listxattr size */ +#endif unsigned int acregmin;/* attr cache timeouts */ unsigned int acregmax;unsigned int acdirmin;
Signature · 1 line
2.16.6
Re: [PATCH 04/13] NFSv4.2: define limits and sizes for user xattr handling
Hi Frank,
Quoted 82 lines · Frank van der Linden
Set limits for extended attributes (attribute value size and listxattr buffer size), based on the fs-independent limits (XATTR_*_MAX).
Define the maximum XDR sizes for the RFC 8276 XATTR operations. In the case of operations that carry a larger payload (SETXATTR, GETXATTR, LISTXATTR), these exclude that payload, which is added as separate pages, like other operations do.
Define, much like for read and write operations, the maximum overhead sizes for get/set/listxattr, and use them to limit the maximum payload size for those operations, in combination with the channel attributes.
Signed-off-by Frank van der Linden <[email protected]>--- fs/nfs/client.c | 19 ++++++++++-- fs/nfs/internal.h | 5 ++++ fs/nfs/nfs42.h | 16 ++++++++++ fs/nfs/nfs42xdr.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4client.c | 31 ++++++++++++++++++++ include/linux/nfs_fs_sb.h | 5 ++++ 6 files changed, 148 insertions(+), 2 deletions(-)fs/nfs/client.c +5
-2@@ -50,6 +50,7 @@#include "nfs.h" #include "netns.h" #include "sysfs.h" +#include "nfs42.h" #define NFSDBG_FACILITY NFSDBG_CLIENT@@ -748,7 +749,7 @@ static int nfs_init_server(struct nfs_server *server,static void nfs_server_set_fsinfo (struct nfs_server *server,struct nfs_fsinfo *fsinfo) { -unsigned long max_rpc_payload; +unsigned long max_rpc_payload, raw_max_rpc_payload;/* Work out a lot of parameters */ if (server->rsize ==0 )@@ -761,7 +762,9 @@ static void nfs_server_set_fsinfo(struct nfs_server *server, if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) server->wsize = nfs_block_size(fsinfo->wtmax, NULL); - max_rpc_payload =nfs_block_size (rpc_max_payload (server->client),NULL ); + raw_max_rpc_payload =rpc_max_payload (server->client); + max_rpc_payload =nfs_block_size (raw_max_rpc_payload,NULL ); +if (server->rsize > max_rpc_payload) server->rsize = max_rpc_payload;fs/nfs/client.c +12
-0if (server->rsize >NFS_MAX_FILE_IO_SIZE )@@ -794,6 +797,18 @@ static void nfs_server_set_fsinfo(struct nfs_server *server, server->clone_blksize = fsinfo->clone_blksize;/* We're airborne Set socket buffersize */ rpc_setbufsize (server->client, server->wsize +100 , server->rsize +100 ); + +#ifdef CONFIG_NFS_V4_2 +/* +* Defaults until limited by the session parameters. +*/ + server->gxasize = min_t(unsigned int, raw_max_rpc_payload, +XATTR_SIZE_MAX ); + server->sxasize = min_t(unsigned int, raw_max_rpc_payload, +XATTR_SIZE_MAX ); + server->lxasize = min_t(unsigned int, raw_max_rpc_payload, +nfs42_listxattr_xdrsize (XATTR_LIST_MAX )); +#endif }/*
fs/nfs/internal.h +0
-0
fs/nfs/internal.h extern const u32 nfs41_maxread_overhead; · line 313
Quoted 8 lines
fs/nfs/internal.h +5
-0@@ -306,6 +306,11 @@ extern const u32 nfs41_maxread_overhead;extern const u32 nfs41_maxwrite_overhead;extern const u32 nfs41_maxgetdevinfo_overhead;#endif +#ifdef CONFIG_NFS_V4_2 +extern const u32 nfs42_maxsetxattr_overhead; +extern const u32 nfs42_maxgetxattr_overhead; +extern const u32 nfs42_maxlistxattrs_overhead; +#endif
As far as I can tell, these are only used by the NFS v4 code. Can you put these definitions in nfs4_fs.h instead of internal.h, since the generic client doesn't really need to know about it?
Thanks,
Anna
Quoted 190 lines
fs/nfs/internal.h +0
-0/* nfs4proc.c */ #if IS_ENABLED (CONFIG_NFS_V4 )fs/nfs/nfs42.h +16
-0@@ -6,6 +6,8 @@#ifndef __LINUX_FS_NFS_NFS4_2_H#define __LINUX_FS_NFS_NFS4_2_H +#include <linux/xattr.h> +/* * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support * more? Need to consider not to pre-alloc too much for a compound. @@ -36,5 +38,19 @@ static inline bool nfs42_files_from_same_server(struct file *in, return nfs4_check_serverowner_major_id(c_in->cl_serverowner, c_out->cl_serverowner); } + +/* +* Maximum XDR buffer size needed for a listxattr buffer of buflen size. +* +* The upper boundary is a buffer with all 1-byte sized attribute names. +* They would be 7 bytes long in the eventual buffer ("user.x\0"), and +* 8 bytes long XDR-encoded. +* +* Include the trailing eof word as well. +*/ +static inline u32 nfs42_listxattr_xdrsize (u32 buflen) +{ +return ((buflen / (XATTR_USER_PREFIX_LEN +2 )) *8 ) +4 ; +}#endif /* CONFIG_NFS_V4_2 */ #endif /*
__LINUX_FS_NFS_NFS4_2_H*/fs/nfs/nfs42xdr.c +74
-0@@ -169,6 +169,80 @@ decode_clone_maxsz + \ decode_getattr_maxsz) +#ifdef CONFIG_NFS_V4_2 +/* Not limited by NFS itself, limited by the generic xattr code */ +#define nfs4_xattr_name_maxsz XDR_QUADLEN(XATTR_NAME_MAX) + +#define encode_getxattr_maxsz (op_encode_hdr_maxsz + 1 + \ + nfs4_xattr_name_maxsz) +#define decode_getxattr_maxsz (op_decode_hdr_maxsz + 1 + 1) +#define encode_setxattr_maxsz (op_encode_hdr_maxsz + \ + 1 + nfs4_xattr_name_maxsz + 1) +#define decode_setxattr_maxsz (op_decode_hdr_maxsz + decode_change_info_maxsz) +#define encode_listxattrs_maxsz (op_encode_hdr_maxsz + 2 + 1) +#define decode_listxattrs_maxsz (op_decode_hdr_maxsz + 2 + 1 + 1) +#define encode_removexattr_maxsz (op_encode_hdr_maxsz + 1 + \ + nfs4_xattr_name_maxsz) +#define decode_removexattr_maxsz (op_decode_hdr_maxsz + \ + decode_change_info_maxsz) + +#define NFS4_enc_getxattr_sz (compound_encode_hdr_maxsz + \ + encode_sequence_maxsz + \ + encode_putfh_maxsz + \ + encode_getxattr_maxsz) +#define NFS4_dec_getxattr_sz (compound_decode_hdr_maxsz + \ + decode_sequence_maxsz + \ + decode_putfh_maxsz + \ + decode_getxattr_maxsz) +#define NFS4_enc_setxattr_sz (compound_encode_hdr_maxsz + \ + encode_sequence_maxsz + \ + encode_putfh_maxsz + \ + encode_setxattr_maxsz) +#define NFS4_dec_setxattr_sz (compound_decode_hdr_maxsz + \ + decode_sequence_maxsz + \ + decode_putfh_maxsz + \ + decode_setxattr_maxsz) +#define NFS4_enc_listxattrs_sz (compound_encode_hdr_maxsz + \ + encode_sequence_maxsz + \ + encode_putfh_maxsz + \ + encode_listxattrs_maxsz) +#define NFS4_dec_listxattrs_sz (compound_decode_hdr_maxsz + \ + decode_sequence_maxsz + \ + decode_putfh_maxsz + \ + decode_listxattrs_maxsz) +#define NFS4_enc_removexattr_sz (compound_encode_hdr_maxsz + \ + encode_sequence_maxsz + \ + encode_putfh_maxsz + \ + encode_removexattr_maxsz) +#define NFS4_dec_removexattr_sz (compound_decode_hdr_maxsz + \ + decode_sequence_maxsz + \ + decode_putfh_maxsz + \ + decode_removexattr_maxsz) + +/* +* These values specify the maximum amount of data that is not +* associated with the extended attribute name or extended +* attribute list in the SETXATTR, GETXATTR and LISTXATTR +* respectively. +*/ +const u32 nfs42_maxsetxattr_overhead = ((RPC_MAX_HEADER_WITH_AUTH + + compound_encode_hdr_maxsz + + encode_sequence_maxsz + + encode_putfh_maxsz +1 + + nfs4_xattr_name_maxsz) + *XDR_UNIT ); + +const u32 nfs42_maxgetxattr_overhead = ((RPC_MAX_HEADER_WITH_AUTH + + compound_decode_hdr_maxsz + + decode_sequence_maxsz + + decode_putfh_maxsz +1 ) *XDR_UNIT ); + +const u32 nfs42_maxlistxattrs_overhead = ((RPC_MAX_HEADER_WITH_AUTH + + compound_decode_hdr_maxsz + + decode_sequence_maxsz + + decode_putfh_maxsz +3 ) *XDR_UNIT ); +#endif +static void encode_fallocate (struct xdr_stream *xdr,const struct nfs42_falloc_args *args){
fs/nfs/nfs4client.c +30
-0@@ -993,6 +993,36 @@ static void nfs4_session_limit_rwsize(struct nfs_server *server)#endif /* CONFIG_NFS_V4_1 */ } +/* +* Limit xattr sizes using the channel attributes. +*/ +static void nfs4_session_limit_xasize (struct nfs_server *server) +{ +#ifdef CONFIG_NFS_V4_2 +struct nfs4_session *sess; +u32 server_gxa_sz; +u32 server_sxa_sz; +u32 server_lxa_sz; + +if (!nfs4_has_session (server->nfs_client)) +return ; + + sess = server->nfs_client->cl_session; + + server_gxa_sz = sess->fc_attrs.max_resp_sz - nfs42_maxgetxattr_overhead; + server_sxa_sz = sess->fc_attrs.max_rqst_sz - nfs42_maxsetxattr_overhead; + server_lxa_sz = sess->fc_attrs.max_resp_sz - + nfs42_maxlistxattrs_overhead; + +if (server->gxasize > server_gxa_sz) + server->gxasize = server_gxa_sz; +if (server->sxasize > server_sxa_sz) + server->sxasize = server_sxa_sz; +if (server->lxasize > server_lxa_sz) + server->lxasize = server_lxa_sz; +#endif +} +static int nfs4_server_common_setup (struct nfs_server *server,struct nfs_fh *mntfh,bool auth_probe){
fs/nfs/nfs4client.c +1
-0@@ -1040,6 +1070,7 @@ static int nfs4_server_common_setup(struct nfs_server *server, goto out;nfs4_session_limit_rwsize (server); +nfs4_session_limit_xasize (server);if (server->namelen ==0 || server->namelen >NFS4_MAXNAMLEN )fs/nfs/nfs4client.c +0
-0server->namelen =NFS4_MAXNAMLEN ;include/linux/nfs_fs_sb.h +5
-0@@ -163,6 +163,11 @@ struct nfs_server {unsigned int dtsize;/* readdir size */ unsigned short port;/* "port=" setting */ unsigned int bsize;/* server block size */ +#ifdef CONFIG_NFS_V4_2 +unsigned int gxasize;/* getxattr size */ +unsigned int sxasize;/* setxattr size */ +unsigned int lxasize;/* listxattr size */ +#endif unsigned int acregmin;/* attr cache timeouts */ unsigned int acregmax;unsigned int acdirmin;
PATCH 5/13 NFSv4.2: add client side XDR handling for extended attributes
In reply to Frank van der LindenDefine the argument and response structures that will be used for RFC 8276 extended attribute RPC calls, and implement the necessary functions to encode/decode the extended attribute operations.
--- fs/nfs/nfs42xdr.c | 368 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4xdr.c | 6 + include/linux/nfs_xdr.h | 59 +++++++- 3 files changed, 432 insertions(+), 1 deletion(-)
fs/nfs/nfs42xdr.c +368 -0
@@ -407,6 +407,212 @@ static void encode_layouterror(struct xdr_stream *xdr,encode_device_error (xdr, &args->errors[0 ]); } +#ifdef CONFIG_NFS_V4_2 +static void encode_setxattr (struct xdr_stream *xdr, +const struct nfs42_setxattrargs *arg, +struct compound_hdr *hdr) +{ +__be32 *p; + +BUILD_BUG_ON (XATTR_CREATE !=SETXATTR4_CREATE ); +BUILD_BUG_ON (XATTR_REPLACE !=SETXATTR4_REPLACE ); + +encode_op_hdr (xdr,OP_SETXATTR , decode_setxattr_maxsz, hdr); + p =reserve_space (xdr,4 ); + *p =cpu_to_be32 (arg->xattr_flags); +encode_string (xdr,strlen (arg->xattr_name), arg->xattr_name); + p =reserve_space (xdr,4 ); + *p =cpu_to_be32 (arg->xattr_len); +if (arg->xattr_len) +xdr_write_pages (xdr, arg->xattr_pages,0 , arg->xattr_len); +} + +static int decode_setxattr (struct xdr_stream *xdr, +struct nfs4_change_info *cinfo) +{ +int status; + + status =decode_op_hdr (xdr,OP_SETXATTR ); +if (status) + goto out; + status =decode_change_info (xdr, cinfo); +out: +return status; +} + + +static void encode_getxattr (struct xdr_stream *xdr,const char *name, +struct compound_hdr *hdr) +{ +encode_op_hdr (xdr,OP_GETXATTR , decode_getxattr_maxsz, hdr); +encode_string (xdr,strlen (name), name); +} + +static int decode_getxattr (struct xdr_stream *xdr, +struct nfs42_getxattrres *res, +struct rpc_rqst *req) +{ +int status; +__be32 *p; +u32 len, rdlen; + + status =decode_op_hdr (xdr,OP_GETXATTR ); +if (status) +return status; + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + len =be32_to_cpup (p); +if (len > req->rq_rcv_buf.page_len) +return -ERANGE ; + + res->xattr_len = len; + +if (len >0 ) { + rdlen =xdr_read_pages (xdr, len); +if (rdlen < len) +return -EIO ; + } + +return 0 ; +} + +static void encode_removexattr (struct xdr_stream *xdr,const char *name, +struct compound_hdr *hdr) +{ +encode_op_hdr (xdr,OP_REMOVEXATTR , decode_removexattr_maxsz, hdr); +encode_string (xdr,strlen (name), name); +} + + +static int decode_removexattr (struct xdr_stream *xdr, +struct nfs4_change_info *cinfo) +{ +int status; + + status =decode_op_hdr (xdr,OP_REMOVEXATTR ); +if (status) + goto out; + + status =decode_change_info (xdr, cinfo); +out: +return status; +} + +static void encode_listxattrs (struct xdr_stream *xdr, +const struct nfs42_listxattrsargs *arg, +struct compound_hdr *hdr) +{ +__be32 *p; + +encode_op_hdr (xdr,OP_LISTXATTRS , decode_listxattrs_maxsz +1 , hdr); + + p =reserve_space (xdr,12 ); +if (unlikely (!p)) +return ; + + p =xdr_encode_hyper (p, arg->cookie); +/* +* RFC 8276 says to specify the full max length of the LISTXATTRS +* XDR reply. Count is set to the XDR length of the names array +* plus the EOF marker. So, add the cookie and the names count. +*/ + *p =cpu_to_be32 (arg->count +8 +4 ); +} + +static int decode_listxattrs (struct xdr_stream *xdr, +struct nfs42_listxattrsres *res) +{ +int status; +__be32 *p; +u32 count, len, ulen; +size_t left, copied; +char *buf; + + status =decode_op_hdr (xdr,OP_LISTXATTRS ); +if (status) { +/* +* Special case: for LISTXATTRS, NFS4ERR_TOOSMALL +* should be translated to ERANGE. +*/ +if (status == -ETOOSMALL ) + status = -ERANGE ; + goto out; + } + + p =xdr_inline_decode (xdr,8 ); +if (unlikely (!p)) +return -EIO ; + +xdr_decode_hyper (p, &res->cookie); + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + left = res->xattr_len; + buf = res->xattr_buf; + + count =be32_to_cpup (p); + copied =0 ; + +/* +* We have asked for enough room to encode the maximum number +* of possible attribute names, so everything should fit. +* +* But, don't rely on that assumption. Just decode entries +* until they don't fit anymore, just in case the server did +* something odd. +*/ +while (count--) { + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + len =be32_to_cpup (p); +if (len > (XATTR_NAME_MAX -XATTR_USER_PREFIX_LEN )) { + status = -ERANGE ; + goto out; + } + + p =xdr_inline_decode (xdr, len); +if (unlikely (!p)) +return -EIO ; + + ulen = len +XATTR_USER_PREFIX_LEN +1 ; +if (buf) { +if (ulen > left) { + status = -ERANGE ; + goto out; + } + +memcpy (buf,XATTR_USER_PREFIX ,XATTR_USER_PREFIX_LEN ); +memcpy (buf +XATTR_USER_PREFIX_LEN , p, len); + + buf[ulen -1 ] =0 ; + buf += ulen; + left -= ulen; + } + copied += ulen; + } + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + res->eof =be32_to_cpup (p); + res->copied = copied; + +out: +if (status == -ERANGE && res->xattr_len ==XATTR_LIST_MAX ) + status = -E2BIG ; + +return status; +} +#endif +/* * Encode ALLOCATE request */
@@ -1062,4 +1268,166 @@ static int nfs4_xdr_dec_layouterror(struct rpc_rqst *rqstp,return status; } +#ifdef CONFIG_NFS_V4_2 +static void nfs4_xdr_enc_setxattr (struct rpc_rqst *req,struct xdr_stream *xdr, +const void *data) +{ +const struct nfs42_setxattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_setxattr (xdr, args, &hdr); +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_setxattr (struct rpc_rqst *req,struct xdr_stream *xdr, +void *data) +{ +struct nfs42_setxattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, req); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + + status =decode_setxattr (xdr, &res->cinfo); +out: +return status; +} + +static void nfs4_xdr_enc_getxattr (struct rpc_rqst *req,struct xdr_stream *xdr, +const void *data) +{ +const struct nfs42_getxattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; +size_t plen; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_getxattr (xdr, args->xattr_name, &hdr); + + plen = args->xattr_len ? args->xattr_len :XATTR_SIZE_MAX ; + +rpc_prepare_reply_pages (req, args->xattr_pages,0 , plen, + hdr.replen); + req->rq_rcv_buf.flags |=XDRBUF_SPARSE_PAGES ; + +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_getxattr (struct rpc_rqst *rqstp, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_getxattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, rqstp); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + status =decode_getxattr (xdr, res, rqstp); +out: +return status; +} + +static void nfs4_xdr_enc_listxattrs (struct rpc_rqst *req, +struct xdr_stream *xdr,const void *data) +{ +const struct nfs42_listxattrsargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_listxattrs (xdr, args, &hdr); + +rpc_prepare_reply_pages (req, args->xattr_pages,0 , args->count, + hdr.replen); + req->rq_rcv_buf.flags |=XDRBUF_SPARSE_PAGES ; + +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_listxattrs (struct rpc_rqst *rqstp, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_listxattrsres *res = data; +struct compound_hdr hdr; +int status; + +xdr_set_scratch_buffer (xdr,page_address (res->scratch),PAGE_SIZE ); + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, rqstp); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + status =decode_listxattrs (xdr, res); +out: +return status; +} + +static void nfs4_xdr_enc_removexattr (struct rpc_rqst *req, +struct xdr_stream *xdr,const void *data) +{ +const struct nfs42_removexattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_removexattr (xdr, args->xattr_name, &hdr); +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_removexattr (struct rpc_rqst *req, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_removexattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, req); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + + status =decode_removexattr (xdr, &res->cinfo); +out: +return status; +} +#endif #endif /* __LINUX_FS_NFS_NFS4_2XDR_H */
fs/nfs/nfs4xdr.c +6 -0
@@ -7479,6 +7479,8 @@ static struct { { NFS4ERR_SYMLINK, -ELOOP }, { NFS4ERR_OP_ILLEGAL, -EOPNOTSUPP }, { NFS4ERR_DEADLOCK, -EDEADLK }, + { NFS4ERR_NOXATTR, -ENODATA }, + { NFS4ERR_XATTR2BIG, -E2BIG }, { -1, -EIO } };
@@ -7607,6 +7609,10 @@ const struct rpc_procinfo nfs4_procedures[] = {PROC42 (COPY_NOTIFY , enc_copy_notify, dec_copy_notify),PROC (LOOKUPP , enc_lookupp, dec_lookupp),PROC42 (LAYOUTERROR , enc_layouterror, dec_layouterror), +PROC42 (GETXATTR , enc_getxattr, dec_getxattr), +PROC42 (SETXATTR , enc_setxattr, dec_setxattr), +PROC42 (LISTXATTRS , enc_listxattrs, dec_listxattrs), + PROC42(REMOVEXATTR, enc_removexattr, dec_removexattr), };static unsigned int nfs_version4_counts[ARRAY_SIZE (nfs4_procedures)];
include/linux/nfs_xdr.h +58 -1
65 lines not on this page · raw message
Signature · 1 line
2.16.6
Re: [PATCH 05/13] NFSv4.2: add client side XDR handling for extended attributes
Hi Frank,
Quoted 17 lines · Frank van der Linden
Define the argument and response structures that will be used for RFC 8276 extended attribute RPC calls, and implement the necessary functions to encode/decode the extended attribute operations.
Signed-off-by Frank van der Linden <[email protected]>--- fs/nfs/nfs42xdr.c | 368 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4xdr.c | 6 + include/linux/nfs_xdr.h | 59 +++++++- 3 files changed, 432 insertions(+), 1 deletion(-)fs/nfs/nfs42xdr.c +0
-0
fs/nfs/nfs42xdr.c static void encode_layouterror(struct xdr_stream *xdr, · line 410
Quoted 4 lines
fs/nfs/nfs42xdr.c +1
-0@@ -407,6 +407,212 @@ static void encode_layouterror(struct xdr_stream *xdr,encode_device_error (xdr, &args->errors[0 ]); } +#ifdef CONFIG_NFS_V4_2
This file is only compiled when CONFIG_NFS_V4_2=y, so there is no need for the #ifdef here.
Anna
Quoted 473 lines
fs/nfs/nfs42xdr.c +207
-0+static void encode_setxattr (struct xdr_stream *xdr, +const struct nfs42_setxattrargs *arg, +struct compound_hdr *hdr) +{ +__be32 *p; + +BUILD_BUG_ON (XATTR_CREATE !=SETXATTR4_CREATE ); +BUILD_BUG_ON (XATTR_REPLACE !=SETXATTR4_REPLACE ); + +encode_op_hdr (xdr,OP_SETXATTR , decode_setxattr_maxsz, hdr); + p =reserve_space (xdr,4 ); + *p =cpu_to_be32 (arg->xattr_flags); +encode_string (xdr,strlen (arg->xattr_name), arg->xattr_name); + p =reserve_space (xdr,4 ); + *p =cpu_to_be32 (arg->xattr_len); +if (arg->xattr_len) +xdr_write_pages (xdr, arg->xattr_pages,0 , arg->xattr_len); +} + +static int decode_setxattr (struct xdr_stream *xdr, +struct nfs4_change_info *cinfo) +{ +int status; + + status =decode_op_hdr (xdr,OP_SETXATTR ); +if (status) + goto out; + status =decode_change_info (xdr, cinfo); +out: +return status; +} + + +static void encode_getxattr (struct xdr_stream *xdr,const char *name, +struct compound_hdr *hdr) +{ +encode_op_hdr (xdr,OP_GETXATTR , decode_getxattr_maxsz, hdr); +encode_string (xdr,strlen (name), name); +} + +static int decode_getxattr (struct xdr_stream *xdr, +struct nfs42_getxattrres *res, +struct rpc_rqst *req) +{ +int status; +__be32 *p; +u32 len, rdlen; + + status =decode_op_hdr (xdr,OP_GETXATTR ); +if (status) +return status; + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + len =be32_to_cpup (p); +if (len > req->rq_rcv_buf.page_len) +return -ERANGE ; + + res->xattr_len = len; + +if (len >0 ) { + rdlen =xdr_read_pages (xdr, len); +if (rdlen < len) +return -EIO ; + } + +return 0 ; +} + +static void encode_removexattr (struct xdr_stream *xdr,const char *name, +struct compound_hdr *hdr) +{ +encode_op_hdr (xdr,OP_REMOVEXATTR , decode_removexattr_maxsz, hdr); +encode_string (xdr,strlen (name), name); +} + + +static int decode_removexattr (struct xdr_stream *xdr, +struct nfs4_change_info *cinfo) +{ +int status; + + status =decode_op_hdr (xdr,OP_REMOVEXATTR ); +if (status) + goto out; + + status =decode_change_info (xdr, cinfo); +out: +return status; +} + +static void encode_listxattrs (struct xdr_stream *xdr, +const struct nfs42_listxattrsargs *arg, +struct compound_hdr *hdr) +{ +__be32 *p; + +encode_op_hdr (xdr,OP_LISTXATTRS , decode_listxattrs_maxsz +1 , hdr); + + p =reserve_space (xdr,12 ); +if (unlikely (!p)) +return ; + + p =xdr_encode_hyper (p, arg->cookie); +/* +* RFC 8276 says to specify the full max length of the LISTXATTRS +* XDR reply. Count is set to the XDR length of the names array +* plus the EOF marker. So, add the cookie and the names count. +*/ + *p =cpu_to_be32 (arg->count +8 +4 ); +} + +static int decode_listxattrs (struct xdr_stream *xdr, +struct nfs42_listxattrsres *res) +{ +int status; +__be32 *p; +u32 count, len, ulen; +size_t left, copied; +char *buf; + + status =decode_op_hdr (xdr,OP_LISTXATTRS ); +if (status) { +/* +* Special case: for LISTXATTRS, NFS4ERR_TOOSMALL +* should be translated to ERANGE. +*/ +if (status == -ETOOSMALL ) + status = -ERANGE ; + goto out; + } + + p =xdr_inline_decode (xdr,8 ); +if (unlikely (!p)) +return -EIO ; + +xdr_decode_hyper (p, &res->cookie); + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + left = res->xattr_len; + buf = res->xattr_buf; + + count =be32_to_cpup (p); + copied =0 ; + +/* +* We have asked for enough room to encode the maximum number +* of possible attribute names, so everything should fit. +* +* But, don't rely on that assumption. Just decode entries +* until they don't fit anymore, just in case the server did +* something odd. +*/ +while (count--) { + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + len =be32_to_cpup (p); +if (len > (XATTR_NAME_MAX -XATTR_USER_PREFIX_LEN )) { + status = -ERANGE ; + goto out; + } + + p =xdr_inline_decode (xdr, len); +if (unlikely (!p)) +return -EIO ; + + ulen = len +XATTR_USER_PREFIX_LEN +1 ; +if (buf) { +if (ulen > left) { + status = -ERANGE ; + goto out; + } + +memcpy (buf,XATTR_USER_PREFIX ,XATTR_USER_PREFIX_LEN ); +memcpy (buf +XATTR_USER_PREFIX_LEN , p, len); + + buf[ulen -1 ] =0 ; + buf += ulen; + left -= ulen; + } + copied += ulen; + } + + p =xdr_inline_decode (xdr,4 ); +if (unlikely (!p)) +return -EIO ; + + res->eof =be32_to_cpup (p); + res->copied = copied; + +out: +if (status == -ERANGE && res->xattr_len ==XATTR_LIST_MAX ) + status = -E2BIG ; + +return status; +} +#endif +/* * Encode ALLOCATE request */ @@ -1062,4 +1268,166 @@ static int nfs4_xdr_dec_layouterror(struct rpc_rqst *rqstp, return status; } +#ifdef CONFIG_NFS_V4_2 +static void nfs4_xdr_enc_setxattr(struct rpc_rqst *req, struct xdr_stream*xdr,
fs/nfs/nfs42xdr.c +15
-0+ const void *data) +{ +const struct nfs42_setxattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_setxattr (xdr, args, &hdr); +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_setxattr(struct rpc_rqst *req, struct xdr_stream*xdr,
fs/nfs/nfs42xdr.c +22
-0+ void *data) +{ +struct nfs42_setxattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, req); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + + status =decode_setxattr (xdr, &res->cinfo); +out: +return status; +} + +static void nfs4_xdr_enc_getxattr(struct rpc_rqst *req, struct xdr_stream*xdr,
fs/nfs/nfs42xdr.c +123
-0+ const void *data) +{ +const struct nfs42_getxattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; +size_t plen; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_getxattr (xdr, args->xattr_name, &hdr); + + plen = args->xattr_len ? args->xattr_len :XATTR_SIZE_MAX ; + +rpc_prepare_reply_pages (req, args->xattr_pages,0 , plen, + hdr.replen); + req->rq_rcv_buf.flags |=XDRBUF_SPARSE_PAGES ; + +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_getxattr (struct rpc_rqst *rqstp, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_getxattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, rqstp); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + status =decode_getxattr (xdr, res, rqstp); +out: +return status; +} + +static void nfs4_xdr_enc_listxattrs (struct rpc_rqst *req, +struct xdr_stream *xdr,const void *data) +{ +const struct nfs42_listxattrsargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_listxattrs (xdr, args, &hdr); + +rpc_prepare_reply_pages (req, args->xattr_pages,0 , args->count, + hdr.replen); + req->rq_rcv_buf.flags |=XDRBUF_SPARSE_PAGES ; + +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_listxattrs (struct rpc_rqst *rqstp, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_listxattrsres *res = data; +struct compound_hdr hdr; +int status; + +xdr_set_scratch_buffer (xdr,page_address (res->scratch),PAGE_SIZE ); + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, rqstp); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + status =decode_listxattrs (xdr, res); +out: +return status; +} + +static void nfs4_xdr_enc_removexattr (struct rpc_rqst *req, +struct xdr_stream *xdr,const void *data) +{ +const struct nfs42_removexattrargs *args = data; +struct compound_hdr hdr = { + .minorversion =nfs4_xdr_minorversion (&args->seq_args), + }; + +encode_compound_hdr (xdr, req, &hdr); +encode_sequence (xdr, &args->seq_args, &hdr); +encode_putfh (xdr, args->fh, &hdr); +encode_removexattr (xdr, args->xattr_name, &hdr); +encode_nops (&hdr); +} + +static int nfs4_xdr_dec_removexattr (struct rpc_rqst *req, +struct xdr_stream *xdr,void *data) +{ +struct nfs42_removexattrres *res = data; +struct compound_hdr hdr; +int status; + + status =decode_compound_hdr (xdr, &hdr); +if (status) + goto out; + status =decode_sequence (xdr, &res->seq_res, req); +if (status) + goto out; + status =decode_putfh (xdr); +if (status) + goto out; + + status =decode_removexattr (xdr, &res->cinfo); +out: +return status; +} +#endif #endif /* __LINUX_FS_NFS_NFS4_2XDR_H */ fs/nfs/nfs4xdr.c +6
-0@@ -7479,6 +7479,8 @@ static struct { { NFS4ERR_SYMLINK, -ELOOP }, { NFS4ERR_OP_ILLEGAL, -EOPNOTSUPP }, { NFS4ERR_DEADLOCK, -EDEADLK }, + { NFS4ERR_NOXATTR, -ENODATA }, + { NFS4ERR_XATTR2BIG, -E2BIG }, { -1, -EIO } };@@ -7607,6 +7609,10 @@ const struct rpc_procinfo nfs4_procedures[] = {PROC42 (COPY_NOTIFY , enc_copy_notify, dec_copy_notify),PROC (LOOKUPP , enc_lookupp, dec_lookupp),PROC42 (LAYOUTERROR , enc_layouterror, dec_layouterror), +PROC42 (GETXATTR , enc_getxattr, dec_getxattr), +PROC42 (SETXATTR , enc_setxattr, dec_setxattr), +PROC42 (LISTXATTRS , enc_listxattrs, dec_listxattrs), + PROC42(REMOVEXATTR, enc_removexattr, dec_removexattr), };static unsigned int nfs_version4_counts[ARRAY_SIZE (nfs4_procedures)];include/linux/nfs_xdr.h +58
-1@@ -1497,7 +1497,64 @@ struct nfs42_seek_res {u32 sr_eof;u64 sr_offset; }; -#endif + +struct nfs42_setxattrargs { +struct nfs4_sequence_args seq_args; +struct nfs_fh *fh; +const char *xattr_name; +u32 xattr_flags; +size_t xattr_len; +struct page **xattr_pages; +}; + +struct nfs42_setxattrres { +struct nfs4_sequence_res seq_res; +struct nfs4_change_info cinfo; +}; + +struct nfs42_getxattrargs { +struct nfs4_sequence_args seq_args; +struct nfs_fh *fh; +const char *xattr_name; +size_t xattr_len; +struct page **xattr_pages; +}; + +struct nfs42_getxattrres { +struct nfs4_sequence_res seq_res; +size_t xattr_len; +}; + +struct nfs42_listxattrsargs { +struct nfs4_sequence_args seq_args; +struct nfs_fh *fh; +u32 count; +u64 cookie; +struct page **xattr_pages; +}; + +struct nfs42_listxattrsres { +struct nfs4_sequence_res seq_res; +struct page *scratch; +void *xattr_buf; +size_t xattr_len; +u64 cookie; +bool eof; +size_t copied; +}; + +struct nfs42_removexattrargs { +struct nfs4_sequence_args seq_args; +struct nfs_fh *fh; +const char *xattr_name; +}; + +struct nfs42_removexattrres { +struct nfs4_sequence_res seq_res; +struct nfs4_change_info cinfo; +}; + +#endif /* CONFIG_NFS_V4_2 */ struct nfs_page ;
PATCH 6/13 nfs: define nfs_access_get_cached function
In reply to Frank van der LindenThe only consumer of nfs_access_get_cached_rcu and nfs_access_cached calls these static functions in order to first try RCU access, and then locked access.
Combine them in to a single function, and call that. Make this function available to the rest of the NFS code.
--- fs/nfs/dir.c | 20 ++++++++++++++++---- include/linux/nfs_fs.h | 2 ++ 2 files changed, 18 insertions(+), 4 deletions(-)
fs/nfs/dir.c +16 -4
@@ -2433,7 +2433,7 @@ static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, coreturn NULL ; } -static int nfs_access_get_cached (struct inode *inode,const struct cred *cred,struct nfs_access_entry *res,bool may_block) +static int nfs_access_get_cached_locked (struct inode *inode,const struct cred *cred,struct nfs_access_entry *res,bool may_block) {struct nfs_inode *nfsi =NFS_I (inode);struct nfs_access_entry *cache;
@@ -2506,6 +2506,20 @@ static int nfs_access_get_cached_rcu(struct inode *inode, const struct cred *crereturn err; } +int nfs_access_get_cached (struct inode *inode,const struct cred *cred,struct +nfs_access_entry *res,bool may_block) +{ +int status; + + status =nfs_access_get_cached_rcu (inode, cred, res); +if (status !=0 ) + status =nfs_access_get_cached_locked (inode, cred, res, + may_block); + +return status; +} +EXPORT_SYMBOL_GPL (nfs_access_get_cached); +static void nfs_access_add_rbtree (struct inode *inode,struct nfs_access_entry *set) {struct nfs_inode *nfsi =NFS_I (inode);
@@ -2620,9 +2634,7 @@ static int nfs_do_access(struct inode *inode, const struct cred *cred, int mask)trace_nfs_access_enter (inode); - status =nfs_access_get_cached_rcu (inode, cred, &cache); -if (status !=0 ) - status =nfs_access_get_cached (inode, cred, &cache, may_block); + status =nfs_access_get_cached (inode, cred, &cache, may_block);if (status ==0 ) goto out_cached;
include/linux/nfs_fs.h +2 -0
@@ -491,6 +491,8 @@ extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *label);extern int nfs_may_open (struct inode *inode,const struct cred *cred,int openflags);extern void nfs_access_zap_cache (struct inode *inode); +extern int nfs_access_get_cached (struct inode *inode,const struct cred *cred,struct nfs_access_entry *res, +bool may_block);/* * linux/fs/nfs/symlink.c
Signature · 1 line
2.16.6
PATCH 7/13 NFSv4.2: query the extended attribute access bits
In reply to Frank van der LindenRFC 8276 defines separate ACCESS bits for extended attribute checking. Query them in nfs_do_access and opendata.
--- fs/nfs/dir.c | 4 ++++ fs/nfs/nfs4proc.c | 6 ++++++ 2 files changed, 10 insertions(+)
fs/nfs/dir.c +4 -0
@@ -2646,6 +2646,10 @@ static int nfs_do_access(struct inode *inode, const struct cred *cred, int mask)* Determine which access bits we want to ask for... */ cache.mask =NFS_ACCESS_READ |NFS_ACCESS_MODIFY |NFS_ACCESS_EXTEND ; +if (nfs_server_capable (inode,NFS_CAP_XATTR )) { + cache.mask |=NFS_ACCESS_XAREAD |NFS_ACCESS_XAWRITE | +NFS_ACCESS_XALIST ; + }if (S_ISDIR (inode->i_mode)) cache.mask |=NFS_ACCESS_DELETE |NFS_ACCESS_LOOKUP ;else
fs/nfs/nfs4proc.c +6 -0
@@ -1340,6 +1340,12 @@ static struct nfs4_opendata *nfs4_opendata_alloc(struct dentry *dentry,NFS4_ACCESS_MODIFY |NFS4_ACCESS_EXTEND |NFS4_ACCESS_EXECUTE ; +#ifdef CONFIG_NFS_V4_2 +if (server->caps &NFS_CAP_XATTR ) + p->o_arg.access |=NFS4_ACCESS_XAREAD | +NFS4_ACCESS_XAWRITE | +NFS4_ACCESS_XALIST ; +#endif } } p->o_arg.clientid = server->nfs_client->cl_clientid;
Signature · 1 line
2.16.6
PATCH 8/13 nfs: modify update_changeattr to deal with regular files
In reply to Frank van der LindenUntil now, change attributes in change_info form were only returned by directory operations. However, they are also used for the RFC 8276 extended attribute operations, which work on both directories and regular files. Modify update_changeattr to deal:
* Rename it to nfs4_update_changeattr and make it non-static.
* Don't always use INO_INVALID_DATA, this isn't needed for a directory that only had its extended attributes changed by us.
* Existing callers now always pass in INO_INVALID_DATA.
For the current callers of this function, behavior is unchanged.
--- fs/nfs/nfs4_fs.h | 5 ++++ fs/nfs/nfs4proc.c | 70 ++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 49 insertions(+), 26 deletions(-)
fs/nfs/nfs4_fs.h +5 -0
@@ -322,6 +322,11 @@ extern int update_open_stateid(struct nfs4_state *state,extern int nfs4_proc_get_lease_time (struct nfs_client *clp,struct nfs_fsinfo *fsinfo); +extern void nfs4_update_changeattr (struct inode *dir, +struct nfs4_change_info *cinfo, +unsigned long timestamp, +unsigned long cache_validity); +#if defined(CONFIG_NFS_V4_1 )extern int nfs41_sequence_done (struct rpc_task *,struct nfs4_sequence_res *);extern int nfs4_proc_create_session (struct nfs_client *,const struct cred *);
fs/nfs/nfs4proc.c +44 -26
135 lines not on this page · raw message
Signature · 1 line
2.16.6
PATCH 9/13 nfs: define and use the NFS_INO_INVALID_XATTR flag
In reply to Frank van der LindenDefine the NFS_INO_INVALID_XATTR flag, to be used for the NFSv4.2 xattr cache, and use it where appropriate.
No functional change as yet.
--- fs/nfs/inode.c | 7 ++++++- fs/nfs/nfs4proc.c | 3 ++- fs/nfs/nfstrace.h | 3 ++- include/linux/nfs_fs.h | 1 + 4 files changed, 11 insertions(+), 3 deletions(-)
fs/nfs/inode.c +6 -1
@@ -205,7 +205,8 @@ static void nfs_set_cache_invalid(struct inode *inode, unsigned long flags) flags &= ~NFS_INO_INVALID_OTHER ; flags &= ~(NFS_INO_INVALID_CHANGE |NFS_INO_INVALID_SIZE - |NFS_INO_REVAL_PAGECACHE ); + |NFS_INO_REVAL_PAGECACHE + |NFS_INO_INVALID_XATTR ); }if (inode->i_mapping->nrpages ==0 )
@@ -535,6 +536,8 @@ nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, st inode->i_gid = fattr->gid; else if (nfs_server_capable(inode, NFS_CAP_OWNER_GROUP)) nfs_set_cache_invalid(inode, NFS_INO_INVALID_OTHER); + if (nfs_server_capable(inode, NFS_CAP_XATTR)) + nfs_set_cache_invalid(inode, NFS_INO_INVALID_XATTR);if (fattr->valid &NFS_ATTR_FATTR_BLOCKS_USED ) inode->i_blocks = fattr->du.nfs2.blocks;if (fattr->valid &NFS_ATTR_FATTR_SPACE_USED ) {
@@ -1365,6 +1368,8 @@ static void nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr)inode_set_iversion_raw (inode, fattr->change_attr);if (S_ISDIR (inode->i_mode))nfs_set_cache_invalid (inode,NFS_INO_INVALID_DATA ); +else if (nfs_server_capable (inode,NFS_CAP_XATTR )) +nfs_set_cache_invalid (inode,NFS_INO_INVALID_XATTR ); }/* If we have atomic WCC data, we may update some attributes */ ts = inode->i_ctime;
fs/nfs/nfs4proc.c +2 -1
@@ -1182,7 +1182,8 @@ nfs4_update_changeattr_locked(struct inode *inode,if (cinfo->before !=inode_peek_iversion_raw (inode)) nfsi->cache_validity |=NFS_INO_INVALID_ACCESS | -NFS_INO_INVALID_ACL ; +NFS_INO_INVALID_ACL | +NFS_INO_INVALID_XATTR ; }inode_set_iversion_raw (inode, cinfo->after); nfsi->read_cache_jiffies = timestamp;
fs/nfs/nfstrace.h +2 -1
@@ -59,7 +59,8 @@ TRACE_DEFINE_ENUM(NFS_INO_INVALID_OTHER); { NFS_INO_INVALID_CTIME, "INVALID_CTIME" }, \ { NFS_INO_INVALID_MTIME, "INVALID_MTIME" }, \ { NFS_INO_INVALID_SIZE, "INVALID_SIZE" }, \ - { NFS_INO_INVALID_OTHER, "INVALID_OTHER" }) + { NFS_INO_INVALID_OTHER, "INVALID_OTHER" }, \ + { NFS_INO_INVALID_XATTR, "INVALID_XATTR" })TRACE_DEFINE_ENUM (NFS_INO_ADVISE_RDPLUS );TRACE_DEFINE_ENUM (NFS_INO_STALE );
include/linux/nfs_fs.h +1 -0
@@ -233,6 +233,7 @@ struct nfs4_copy_state {#define NFS_INO_INVALID_OTHER BIT(12)/* other attrs are invalid */ #define NFS_INO_DATA_INVAL_DEFER \ BIT(13)/* Deferred cache invalidation */ +#define NFS_INO_INVALID_XATTR BIT(14)/* xattrs are invalid */ #define NFS_INO_INVALID_ATTR (NFS_INO_INVALID_CHANGE \ | NFS_INO_INVALID_CTIME \
Signature · 1 line
2.16.6
kernel test robot
build bot[nfs] c5654df66d: stress-ng.msg.ops_per_sec 15.5% improvement
FYI, we noticed a 15.5% improvement of stress-ng.msg.ops_per_sec due to commit:
Greeting,
FYI, we noticed a 15.5% improvement of stress-ng.msg.ops_per_sec due to commit:
commit: c5654df66d65f6b5f8967f15a0b61f89acb5941e ("[PATCH 09/13] nfs: define and use the NFS_INO_INVALID_XATTR flag")
url: https://github.com/0day-ci/linux/commits/Frank-van-der-Linden/client-side-user-xattr-RFC8276-support/20200312-064740
base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
in testcase: stress-ng
on test machine: 96 threads Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz with 192G memory with following parameters:
nr_threads: 100% disk: 1HDD testtime: 1s class: scheduler cpufreq_governor: performance ucode: 0x500002c sc_pid_max: 4194304
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
=========================================================================================
class/compiler/cpufreq_governor/disk/kconfig/nr_threads/rootfs/sc_pid_max/tbox_group/testcase/testtime/ucode:
scheduler/gcc-7/performance/1HDD/x86_64-rhel-7.6/100%/debian-x86_64-20191114.cgz/4194304/lkp-csl-2sp5/stress-ng/1s/0x500002c
commit:
02936a79b1 ("nfs: modify update_changeattr to deal with regular files") c5654df66d ("nfs: define and use the NFS_INO_INVALID_XATTR flag")
02936a79b108f25d c5654df66d65f6b5f8967f15a0b
---------------- ---------------------------
%stddev %change %stddev
\ | \
5946708 +15.6% 6876526 stress-ng.msg.ops
5872043 +15.5% 6782979 stress-ng.msg.ops_per_sec
6174 -2.0% 6050 stress-ng.time.percent_of_cpu_this_job_got
2707 -3.7% 2606 ± 2% stress-ng.time.system_time
14823 ± 3% -6.2% 13899 ± 4% proc-vmstat.nr_page_table_pages
1.702e+08 ± 12% +209.8% 5.272e+08 ± 62% cpuidle.C6.time
250855 ± 9% +146.5% 618483 ± 55% cpuidle.C6.usage
2424560 ± 2% -3.2% 2347822 perf-stat.i.context-switches
4214 ± 4% -8.1% 3873 ± 2% perf-stat.i.instructions-per-iTLB-miss
0.27 +4.0% 0.29 perf-stat.i.ipc
0.24 +3.1% 0.25 perf-stat.overall.ipc
13130807 +1.2% 13289826 perf-stat.ps.iTLB-loads
0.17 ± 9% -20.1% 0.14 ± 8% sched_debug.cfs_rq:/.nr_running.avg
0.40 ± 3% -10.0% 0.36 ± 5% sched_debug.cfs_rq:/.nr_running.stddev
246.08 ± 9% -20.2% 196.28 ± 6% sched_debug.cpu.curr->pid.avg
638.88 ± 4% -9.8% 576.10 ± 3% sched_debug.cpu.curr->pid.stddev
0.14 ± 8% -20.4% 0.11 ± 4% sched_debug.cpu.nr_running.avg
615.25 ± 12% -43.1% 350.25 ± 8% sched_debug.cpu.nr_switches.min
3332131 ± 3% -33.7% 2208077 ± 20% meminfo.Active
3329127 ± 3% -33.8% 2205066 ± 20% meminfo.Active(anon)
2232223 ± 4% -33.3% 1488680 ± 25% meminfo.AnonHugePages
2612610 ± 3% -37.3% 1639048 ± 28% meminfo.AnonPages
7991735 ± 5% -19.6% 6426850 ± 10% meminfo.Memused
62476 ± 3% -14.1% 53672 ± 7% meminfo.PageTables
1804845 -44.7% 998859 ± 45% meminfo.max_used_kB
25157 ± 2% -14.3% 21559 ± 8% slabinfo.Acpi-State.active_objs
25302 ± 2% -14.2% 21702 ± 8% slabinfo.Acpi-State.num_objs
50827 ± 6% -14.3% 43541 ± 3% slabinfo.filp.active_objs
1655 ± 5% -14.1% 1422 ± 3% slabinfo.filp.active_slabs
52972 ± 5% -14.1% 45525 ± 3% slabinfo.filp.num_objs
1655 ± 5% -14.1% 1422 ± 3% slabinfo.filp.num_slabs
650.00 +19.7% 778.00 ± 10% slabinfo.kmem_cache_node.active_objs
704.00 +18.2% 832.00 ± 9% slabinfo.kmem_cache_node.num_objs
5747 ± 8% +11.4% 6400 ± 7% slabinfo.task_struct.active_objs
5753 ± 8% +11.3% 6405 ± 7% slabinfo.task_struct.active_slabs
5753 ± 8% +11.3% 6405 ± 7% slabinfo.task_struct.num_objs
5753 ± 8% +11.3% 6405 ± 7% slabinfo.task_struct.num_slabs
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.entry_SYSCALL_64_after_hwframe.write._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.do_syscall_64.entry_SYSCALL_64_after_hwframe.write._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.write._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.ksys_write.do_syscall_64.entry_SYSCALL_64_after_hwframe.write._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.devkmsg_write.new_sync_write.vfs_write.ksys_write.do_syscall_64
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.devkmsg_emit.devkmsg_write.new_sync_write.vfs_write.ksys_write
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.vprintk_emit.devkmsg_emit.devkmsg_write.new_sync_write.vfs_write
13.85 ±135% -3.7 10.19 ±173% perf-profile.calltrace.cycles-pp.console_unlock.vprintk_emit.devkmsg_emit.devkmsg_write.new_sync_write
11.26 ±142% -2.6 8.64 ±173% perf-profile.calltrace.cycles-pp.serial8250_console_write.console_unlock.vprintk_emit.devkmsg_emit.devkmsg_write
0.87 ±103% +1.8 2.70 ± 26% perf-profile.calltrace.cycles-pp.do_group_exit.__x64_sys_exit_group.do_syscall_64.entry_SYSCALL_64_after_hwframe
0.87 ±103% +1.8 2.70 ± 26% perf-profile.calltrace.cycles-pp.__x64_sys_exit_group.do_syscall_64.entry_SYSCALL_64_after_hwframe
0.00 +1.9 1.90 ± 22% perf-profile.calltrace.cycles-pp.mmput.do_exit.do_group_exit.__x64_sys_exit_group.do_syscall_64
0.00 +1.9 1.90 ± 22% perf-profile.calltrace.cycles-pp.exit_mmap.mmput.do_exit.do_group_exit.__x64_sys_exit_group
0.87 ±103% +2.4 3.30 ± 33% perf-profile.calltrace.cycles-pp.do_exit.do_group_exit.__x64_sys_exit_group.do_syscall_64.entry_SYSCALL_64_after_hwframe
13.85 ±135% -3.7 10.19 ±173% perf-profile.children.cycles-pp._fini
13.85 ±135% -3.7 10.19 ±173% perf-profile.children.cycles-pp.devkmsg_write
13.85 ±135% -3.7 10.19 ±173% perf-profile.children.cycles-pp.devkmsg_emit
13.85 ±135% -3.7 10.19 ±173% perf-profile.children.cycles-pp.vprintk_emit
13.85 ±135% -3.7 10.19 ±173% perf-profile.children.cycles-pp.console_unlock
11.26 ±142% -2.6 8.64 ±173% perf-profile.children.cycles-pp.serial8250_console_write
10.19 ±139% -2.2 8.03 ±173% perf-profile.children.cycles-pp.wait_for_xmitr
0.36 ±173% +1.9 2.21 ± 9% perf-profile.children.cycles-pp.__sched_text_start
1.02 ±100% +2.2 3.21 ± 24% perf-profile.children.cycles-pp.mmput
1.02 ±100% +2.2 3.21 ± 24% perf-profile.children.cycles-pp.exit_mmap
0.00 +2.2 2.21 ± 9% perf-profile.children.cycles-pp.pick_next_task_fair
0.87 ±103% +2.4 3.30 ± 33% perf-profile.children.cycles-pp.__x64_sys_exit_group
3047 ± 7% +30.9% 3988 ± 10% interrupts.CPU0.CAL:Function_call_interrupts
1608 ± 11% +71.7% 2761 ± 32% interrupts.CPU0.TLB:TLB_shootdowns
45602 ± 22% -56.6% 19783 ± 78% interrupts.CPU1.RES:Rescheduling_interrupts
31367 ± 58% -44.0% 17553 ± 86% interrupts.CPU12.RES:Rescheduling_interrupts
29637 ± 60% -66.0% 10090 ± 20% interrupts.CPU14.RES:Rescheduling_interrupts
1808 ± 16% +70.7% 3086 ± 26% interrupts.CPU14.TLB:TLB_shootdowns
10750 ± 11% +143.2% 26140 ± 57% interrupts.CPU19.RES:Rescheduling_interrupts
2808 ± 6% +15.0% 3229 ± 7% interrupts.CPU23.CAL:Function_call_interrupts
4405 ± 12% -25.0% 3302 ± 14% interrupts.CPU24.CAL:Function_call_interrupts
582.00 ± 23% -69.5% 177.75 ±110% interrupts.CPU24.IWI:IRQ_work_interrupts
4969 ± 16% -36.6% 3149 ± 12% interrupts.CPU25.CAL:Function_call_interrupts
492.75 ± 18% -71.8% 138.75 ±101% interrupts.CPU25.IWI:IRQ_work_interrupts
4057 ± 8% -29.0% 2879 ± 11% interrupts.CPU26.CAL:Function_call_interrupts
447.00 ± 76% -76.2% 106.50 ± 98% interrupts.CPU26.IWI:IRQ_work_interrupts
158.25 ± 21% -71.6% 45.00 ±111% interrupts.CPU27.IWI:IRQ_work_interrupts
13335 ± 16% -22.6% 10316 ± 17% interrupts.CPU30.RES:Rescheduling_interrupts
161649 ± 7% +172.6% 440679 ± 64% interrupts.CPU4.LOC:Local_timer_interrupts
2350 ± 21% -35.6% 1513 ± 26% interrupts.CPU44.TLB:TLB_shootdowns
2288 ± 24% -39.1% 1393 ± 29% interrupts.CPU45.TLB:TLB_shootdowns
3108 ± 8% -12.3% 2725 ± 6% interrupts.CPU46.CAL:Function_call_interrupts
12381 ± 9% +96.0% 24268 ± 68% interrupts.CPU46.RES:Rescheduling_interrupts
2537 ± 24% -39.2% 1541 ± 22% interrupts.CPU46.TLB:TLB_shootdowns
2987 ± 12% +32.3% 3952 ± 4% interrupts.CPU49.CAL:Function_call_interrupts
12127 ± 13% +118.7% 26525 ± 49% interrupts.CPU57.RES:Rescheduling_interrupts
2711 ± 13% +30.5% 3539 ± 17% interrupts.CPU58.CAL:Function_call_interrupts
41057 ± 40% -73.6% 10837 ± 14% interrupts.CPU58.RES:Rescheduling_interrupts
1784 ± 15% +40.3% 2503 ± 18% interrupts.CPU60.TLB:TLB_shootdowns
35545 ± 44% -45.1% 19500 ± 82% interrupts.CPU62.RES:Rescheduling_interrupts
3012 ± 3% +23.1% 3708 ± 9% interrupts.CPU64.CAL:Function_call_interrupts
1835 ± 13% +44.1% 2646 ± 21% interrupts.CPU66.TLB:TLB_shootdowns
12893 ± 7% -21.3% 10149 ± 10% interrupts.CPU67.RES:Rescheduling_interrupts
1617 ± 20% +41.5% 2289 ± 17% interrupts.CPU71.TLB:TLB_shootdowns
682.50 ±105% -85.8% 96.75 ±122% interrupts.CPU72.IWI:IRQ_work_interrupts
2163 ± 14% -25.8% 1604 ± 30% interrupts.CPU72.TLB:TLB_shootdowns
297.75 ± 6% -69.9% 89.75 ±116% interrupts.CPU73.IWI:IRQ_work_interrupts
612.00 ±117% -90.3% 59.25 ±101% interrupts.CPU74.IWI:IRQ_work_interrupts
85.00 ± 31% -72.4% 23.50 ±121% interrupts.CPU75.IWI:IRQ_work_interrupts
15016 ± 14% -30.8% 10398 ± 17% interrupts.CPU77.RES:Rescheduling_interrupts
3163 ± 6% -19.0% 2562 ± 11% interrupts.CPU78.CAL:Function_call_interrupts
3118 ± 7% -13.3% 2704 ± 5% interrupts.CPU79.CAL:Function_call_interrupts
28253 ± 70% -56.2% 12372 ± 16% interrupts.CPU81.RES:Rescheduling_interrupts
171332 ± 8% +119.5% 376071 ± 51% interrupts.CPU85.LOC:Local_timer_interrupts
2100 ± 17% -21.4% 1651 ± 9% interrupts.CPU85.TLB:TLB_shootdowns
39800 ± 40% -59.5% 16114 ± 65% interrupts.CPU9.RES:Rescheduling_interrupts
31.75 ±138% -100.0% 0.00 interrupts.CPU90.IWI:IRQ_work_interrupts
2535 ± 30% -36.2% 1616 ± 22% interrupts.CPU93.TLB:TLB_shootdowns2243465 ± 4% -6.7% 2092631 ± 5% interrupts.RES:Rescheduling_interrupts
stress-ng.msg.ops
8e+06 +-------------------------------------------------------------------+
| OO O O OO O O OO O O OO |
7e+06 |-+ O O OO O O OO O O OO |
6e+06 |-+ .+ +.|
|.++.+.+.++.+.+.++.+.+.++.+.+.++ +.++.+.+.++.+ ++.+.+ +.+.+.+ |
5e+06 |-+ : : : : |
| : : : : |
4e+06 |-+ : : : : |
| : : : : |
3e+06 |-+ : : : : |
2e+06 |-+ : : : : |
| : : : : |
1e+06 |-+ : : |
| : : |
0 +-------------------------------------------------------------------+ stress-ng.msg.ops_per_sec
8e+06 +-------------------------------------------------------------------+
| OO O O OO O O OO O O OO |
7e+06 |-+ O O OO O O OO O O OO |
6e+06 |-+ |
|.++.+.+.++.+.+.++.+.+.++.+.+.++ +.++.+.+.++.+ ++.+.+.++.+.+.++.|
5e+06 |-+ : : : : |
| : : : : |
4e+06 |-+ : : : : |
| : : : : |
3e+06 |-+ : : : : |
2e+06 |-+ : : : : |
| : : : : |
1e+06 |-+ : : |
| : : |
0 +-------------------------------------------------------------------+ [*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided for informational purposes only. Any difference in system hardware or software design or configuration may affect actual performance.
Thanks,
Rong Chen
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 5.6.0-rc5 Kernel Configuration
#
#
# Compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
#CONFIG_CC_IS_GCC=yCONFIG_GCC_VERSION=70500CONFIG_CLANG_VERSION=0CONFIG_CC_CAN_LINK=yCONFIG_CC_HAS_ASM_GOTO=yCONFIG_CC_HAS_ASM_INLINE=yCONFIG_CC_HAS_WARN_MAYBE_UNINITIALIZED=yCONFIG_IRQ_WORK=yCONFIG_BUILDTIME_TABLE_SORT=yCONFIG_THREAD_INFO_IN_TASK=y
#
# General setup
#CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not setCONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_BUILD_SALT=""CONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_HAVE_KERNEL_LZ4=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not setCONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=yCONFIG_CROSS_MEMORY_ATTACH=yCONFIG_USELIB=yCONFIG_AUDIT=yCONFIG_HAVE_ARCH_AUDITSYSCALL=yCONFIG_AUDITSYSCALL=y
#
# IRQ subsystem
#CONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_IRQ_SHOW=yCONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=yCONFIG_GENERIC_PENDING_IRQ=yCONFIG_GENERIC_IRQ_MIGRATION=yCONFIG_IRQ_DOMAIN=yCONFIG_IRQ_SIM=yCONFIG_IRQ_DOMAIN_HIERARCHY=yCONFIG_GENERIC_MSI_IRQ=yCONFIG_GENERIC_MSI_IRQ_DOMAIN=yCONFIG_IRQ_MSI_IOMMU=yCONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=yCONFIG_GENERIC_IRQ_RESERVATION_MODE=yCONFIG_IRQ_FORCED_THREADING=yCONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem
CONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_ARCH_CLOCKSOURCE_DATA=yCONFIG_ARCH_CLOCKSOURCE_INIT=yCONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=yCONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_GENERIC_CLOCKEVENTS_BROADCAST=yCONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=yCONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
# CONFIG_NO_HZ_IDLE is not setCONFIG_NO_HZ_FULL=yCONFIG_CONTEXT_TRACKING=y
# CONFIG_CONTEXT_TRACKING_FORCE is not setCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
# CONFIG_PREEMPT_NONE is not setCONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not setCONFIG_PREEMPT_COUNT=y
#
# CPU/Task time and stats accounting
#CONFIG_VIRT_CPU_ACCOUNTING=yCONFIG_VIRT_CPU_ACCOUNTING_GEN=y
# CONFIG_IRQ_TIME_ACCOUNTING is not setCONFIG_HAVE_SCHED_AVG_IRQ=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_PSI is not set
# end of CPU/Task time and stats accounting
CONFIG_CPU_ISOLATION=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=y
# CONFIG_RCU_EXPERT is not setCONFIG_SRCU=yCONFIG_TREE_SRCU=yCONFIG_TASKS_RCU=yCONFIG_RCU_STALL_COMMON=yCONFIG_RCU_NEED_SEGCBLIST=yCONFIG_RCU_NOCB_CPU=y
# end of RCU Subsystem
CONFIG_BUILD_BIN2C=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not setCONFIG_LOG_BUF_SHIFT=20CONFIG_LOG_CPU_MAX_BUF_SHIFT=12CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
#
# Scheduler features
#
# end of Scheduler features
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=yCONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=yCONFIG_CC_HAS_INT128=yCONFIG_ARCH_SUPPORTS_INT128=yCONFIG_NUMA_BALANCING=yCONFIG_NUMA_BALANCING_DEFAULT_ENABLED=yCONFIG_CGROUPS=yCONFIG_PAGE_COUNTER=yCONFIG_MEMCG=yCONFIG_MEMCG_SWAP=yCONFIG_MEMCG_SWAP_ENABLED=yCONFIG_MEMCG_KMEM=yCONFIG_BLK_CGROUP=yCONFIG_CGROUP_WRITEBACK=yCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_RT_GROUP_SCHED=yCONFIG_CGROUP_PIDS=yCONFIG_CGROUP_RDMA=yCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_HUGETLB=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_DEVICE=yCONFIG_CGROUP_CPUACCT=yCONFIG_CGROUP_PERF=yCONFIG_CGROUP_BPF=y
# CONFIG_CGROUP_DEBUG is not setCONFIG_SOCK_CGROUP_DATA=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_TIME_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_CHECKPOINT_RESTORE=yCONFIG_SCHED_AUTOGROUP=y
# CONFIG_SYSFS_DEPRECATED is not setCONFIG_RELAY=yCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_RD_XZ=yCONFIG_RD_LZO=yCONFIG_RD_LZ4=y
# CONFIG_BOOT_CONFIG is not setCONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=yCONFIG_HAVE_UID16=yCONFIG_SYSCTL_EXCEPTION_TRACE=yCONFIG_HAVE_PCSPKR_PLATFORM=yCONFIG_BPF=yCONFIG_EXPERT=yCONFIG_UID16=yCONFIG_MULTIUSER=yCONFIG_SGETMASK_SYSCALL=yCONFIG_SYSFS_SYSCALL=yCONFIG_FHANDLE=yCONFIG_POSIX_TIMERS=yCONFIG_PRINTK=yCONFIG_PRINTK_NMI=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_FUTEX_PI=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_IO_URING=yCONFIG_ADVISE_SYSCALLS=yCONFIG_MEMBARRIER=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_ABSOLUTE_PERCPU=yCONFIG_KALLSYMS_BASE_RELATIVE=yCONFIG_BPF_SYSCALL=yCONFIG_ARCH_WANT_DEFAULT_BPF_JIT=yCONFIG_BPF_JIT_ALWAYS_ON=yCONFIG_BPF_JIT_DEFAULT_ON=yCONFIG_USERFAULTFD=yCONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=yCONFIG_RSEQ=y
# CONFIG_DEBUG_RSEQ is not setCONFIG_EMBEDDED=yCONFIG_HAVE_PERF_EVENTS=y
# CONFIG_PC104 is not set
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters
CONFIG_VM_EVENT_COUNTERS=yCONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_MEMCG_SYSFS_ON is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not setCONFIG_SLUB_CPU_PARTIAL=yCONFIG_SYSTEM_DATA_VERIFICATION=yCONFIG_PROFILING=yCONFIG_TRACEPOINTS=y
# end of General setup
CONFIG_64BIT=yCONFIG_X86_64=yCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf64-x86-64" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=yCONFIG_MMU=yCONFIG_ARCH_MMAP_RND_BITS_MIN=28 CONFIG_ARCH_MMAP_RND_BITS_MAX=32 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 CONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_BUG=y CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_FILTER_PGPROT=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_WANT_GENERAL_HUGETLB=y CONFIG_ZONE_DMA32=yCONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_INTEL_TXT=yCONFIG_X86_64_SMP=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_DYNAMIC_PHYSICAL_MASK=y CONFIG_PGTABLE_LEVELS=5 CONFIG_CC_HAS_SANE_STACKPROTECTOR=y
#
# Processor type and features
#CONFIG_ZONE_DMA=yCONFIG_SMP=yCONFIG_X86_FEATURE_NAMES=yCONFIG_X86_X2APIC=yCONFIG_X86_MPPARSE=y
# CONFIG_GOLDFISH is not setCONFIG_RETPOLINE=yCONFIG_X86_CPU_RESCTRL=yCONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not setCONFIG_X86_UV=y
# CONFIG_X86_GOLDFISH is not set
# CONFIG_X86_INTEL_MID is not setCONFIG_X86_INTEL_LPSS=yCONFIG_X86_AMD_PLATFORM_DEVICE=yCONFIG_IOSF_MBI=y
# CONFIG_IOSF_MBI_DEBUG is not setCONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_SCHED_OMIT_FRAME_POINTER is not setCONFIG_HYPERVISOR_GUEST=yCONFIG_PARAVIRT=yCONFIG_PARAVIRT_XXL=y
# CONFIG_PARAVIRT_DEBUG is not setCONFIG_PARAVIRT_SPINLOCKS=yCONFIG_X86_HV_CALLBACK_VECTOR=yCONFIG_XEN=yCONFIG_XEN_PV=yCONFIG_XEN_PV_SMP=y
# CONFIG_XEN_DOM0 is not setCONFIG_XEN_PVHVM=yCONFIG_XEN_PVHVM_SMP=yCONFIG_XEN_512GB=yCONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_PVH is not setCONFIG_KVM_GUEST=yCONFIG_ARCH_CPUIDLE_HALTPOLL=y
# CONFIG_PVH is not set
# CONFIG_KVM_DEBUG_FS is not setCONFIG_PARAVIRT_TIME_ACCOUNTING=yCONFIG_PARAVIRT_CLOCK=y
# CONFIG_JAILHOUSE_GUEST is not set
# CONFIG_ACRN_GUEST is not set
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not setCONFIG_GENERIC_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=6CONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=yCONFIG_X86_MINIMUM_CPU_FAMILY=64CONFIG_X86_DEBUGCTLMSR=yCONFIG_IA32_FEAT_CTL=yCONFIG_X86_VMX_FEATURE_NAMES=y
# CONFIG_PROCESSOR_SELECT is not setCONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_HYGON=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_ZHAOXIN=yCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=yCONFIG_GART_IOMMU=yCONFIG_MAXSMP=yCONFIG_NR_CPUS_RANGE_BEGIN=8192CONFIG_NR_CPUS_RANGE_END=8192CONFIG_NR_CPUS_DEFAULT=8192CONFIG_NR_CPUS=8192CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=yCONFIG_SCHED_MC_PRIO=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=yCONFIG_X86_MCE=yCONFIG_X86_MCELOG_LEGACY=yCONFIG_X86_MCE_INTEL=yCONFIG_X86_MCE_AMD=yCONFIG_X86_MCE_THRESHOLD=yCONFIG_X86_MCE_INJECT=mCONFIG_X86_THERMAL_VECTOR=y
#
# Performance monitoring
#CONFIG_PERF_EVENTS_INTEL_UNCORE=yCONFIG_PERF_EVENTS_INTEL_RAPL=yCONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
# end of Performance monitoring
CONFIG_X86_16BIT=yCONFIG_X86_ESPFIX64=y CONFIG_X86_VSYSCALL_EMULATION=y CONFIG_X86_IOPL_IOPERM=yCONFIG_I8K=mCONFIG_MICROCODE=yCONFIG_MICROCODE_INTEL=yCONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=yCONFIG_X86_CPUID=yCONFIG_X86_5LEVEL=yCONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_X86_CPA_STATISTICS is not set CONFIG_AMD_MEM_ENCRYPT=y
# CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT is not set CONFIG_NUMA=yCONFIG_AMD_NUMA=yCONFIG_X86_64_ACPI_NUMA=y CONFIG_NODES_SPAN_OTHER_NODES=y CONFIG_NUMA_EMU=yCONFIG_NODES_SHIFT=10 CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_MEMORY_PROBE=y CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_X86_PMEM_LEGACY_DEVICE=y CONFIG_X86_PMEM_LEGACY=m CONFIG_X86_CHECK_BIOS_CORRUPTION=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set CONFIG_X86_RESERVE_LOW=64CONFIG_MTRR=yCONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=yCONFIG_ARCH_USES_PG_UNCACHED=y CONFIG_ARCH_RANDOM=yCONFIG_X86_SMAP=yCONFIG_X86_UMIP=y CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y CONFIG_X86_INTEL_TSX_MODE_OFF=y
# CONFIG_X86_INTEL_TSX_MODE_ON is not set
# CONFIG_X86_INTEL_TSX_MODE_AUTO is not set CONFIG_EFI=yCONFIG_EFI_STUB=yCONFIG_EFI_MIXED=yCONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_KEXEC_FILE=y CONFIG_ARCH_HAS_KEXEC_PURGATORY=y
# CONFIG_KEXEC_SIG is not set CONFIG_CRASH_DUMP=yCONFIG_KEXEC_JUMP=y CONFIG_PHYSICAL_START=0x1000000 CONFIG_RELOCATABLE=yCONFIG_RANDOMIZE_BASE=yCONFIG_X86_NEED_RELOCS=y CONFIG_PHYSICAL_ALIGN=0x200000 CONFIG_DYNAMIC_MEMORY_LAYOUT=y CONFIG_RANDOMIZE_MEMORY=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_HOTPLUG_CPU=y CONFIG_BOOTPARAM_HOTPLUG_CPU0=y
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set CONFIG_LEGACY_VSYSCALL_EMULATE=y
# CONFIG_LEGACY_VSYSCALL_XONLY is not set
# CONFIG_LEGACY_VSYSCALL_NONE is not set
# CONFIG_CMDLINE_BOOL is not set CONFIG_MODIFY_LDT_SYSCALL=y CONFIG_HAVE_LIVEPATCH=yCONFIG_LIVEPATCH=y
# end of Processor type and features
CONFIG_ARCH_HAS_ADD_PAGES=yCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_USE_PERCPU_NUMA_NODE_ID=yCONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=yCONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=yCONFIG_ARCH_ENABLE_THP_MIGRATION=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not setCONFIG_HIBERNATE_CALLBACKS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_PM_SLEEP=yCONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not setCONFIG_PM=yCONFIG_PM_DEBUG=yCONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not setCONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not setCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
# CONFIG_ENERGY_MODEL is not setCONFIG_ARCH_SUPPORTS_ACPI=yCONFIG_ACPI=yCONFIG_ACPI_LEGACY_TABLES_LOOKUP=yCONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=yCONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
# CONFIG_ACPI_DEBUGGER is not setCONFIG_ACPI_SPCR_TABLE=yCONFIG_ACPI_LPIT=yCONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not setCONFIG_ACPI_REV_OVERRIDE_POSSIBLE=yCONFIG_ACPI_EC_DEBUGFS=mCONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not setCONFIG_ACPI_DOCK=yCONFIG_ACPI_CPU_FREQ_PSS=yCONFIG_ACPI_PROCESSOR_CSTATE=yCONFIG_ACPI_PROCESSOR_IDLE=yCONFIG_ACPI_CPPC_LIB=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_IPMI=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_PROCESSOR_AGGREGATOR=mCONFIG_ACPI_THERMAL=yCONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=yCONFIG_ACPI_TABLE_UPGRADE=y
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_PCI_SLOT=yCONFIG_ACPI_CONTAINER=yCONFIG_ACPI_HOTPLUG_MEMORY=yCONFIG_ACPI_HOTPLUG_IOAPIC=yCONFIG_ACPI_SBS=mCONFIG_ACPI_HED=yCONFIG_ACPI_CUSTOM_METHOD=mCONFIG_ACPI_BGRT=y
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not setCONFIG_ACPI_NFIT=m
# CONFIG_NFIT_SECURITY_DEBUG is not setCONFIG_ACPI_NUMA=y
# CONFIG_ACPI_HMAT is not setCONFIG_HAVE_ACPI_APEI=yCONFIG_HAVE_ACPI_APEI_NMI=yCONFIG_ACPI_APEI=yCONFIG_ACPI_APEI_GHES=yCONFIG_ACPI_APEI_PCIEAER=yCONFIG_ACPI_APEI_MEMORY_FAILURE=yCONFIG_ACPI_APEI_EINJ=mCONFIG_ACPI_APEI_ERST_DEBUG=y
# CONFIG_DPTF_POWER is not setCONFIG_ACPI_WATCHDOG=yCONFIG_ACPI_EXTLOG=mCONFIG_ACPI_ADXL=y
# CONFIG_PMIC_OPREGION is not set
# CONFIG_ACPI_CONFIGFS is not setCONFIG_X86_PM_TIMER=yCONFIG_SFI=y
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_ATTR_SET=y CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
# CONFIG_CPU_FREQ_GOV_SCHEDUTIL is not set
#
# CPU frequency scaling drivers
#CONFIG_X86_INTEL_PSTATE=yCONFIG_X86_PCC_CPUFREQ=mCONFIG_X86_ACPI_CPUFREQ=mCONFIG_X86_ACPI_CPUFREQ_CPB=yCONFIG_X86_POWERNOW_K8=mCONFIG_X86_AMD_FREQ_SENSITIVITY=m
# CONFIG_X86_SPEEDSTEP_CENTRINO is not setCONFIG_X86_P4_CLOCKMOD=m
#
# shared options # CONFIG_X86_SPEEDSTEP_LIB=m # end of CPU Frequency scaling
#
# CPU Idle
#CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not setCONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
# CONFIG_CPU_IDLE_GOV_HALTPOLL is not setCONFIG_HALTPOLL_CPUIDLE=y
# end of CPU Idle
CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options
#
# Bus options (PCI etc.)
#CONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_XEN=yCONFIG_MMCONF_FAM10H=y
# CONFIG_PCI_CNB20LE_QUIRK is not set
# CONFIG_ISA_BUS is not setCONFIG_ISA_DMA_API=yCONFIG_AMD_NB=y
# CONFIG_X86_SYSFB is not set
# end of Bus options (PCI etc.)
#
# Binary Emulations
#CONFIG_IA32_EMULATION=y
# CONFIG_X86_X32 is not setCONFIG_COMPAT_32=yCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=y
# end of Binary Emulations
#
# Firmware Drivers
#CONFIG_EDD=m
# CONFIG_EDD_OFF is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_DMIID=yCONFIG_DMI_SYSFS=yCONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=yCONFIG_ISCSI_IBFT_FIND=yCONFIG_ISCSI_IBFT=mCONFIG_FW_CFG_SYSFS=y
# CONFIG_FW_CFG_SYSFS_CMDLINE is not set
# CONFIG_GOOGLE_FIRMWARE is not set
#
# EFI (Extensible Firmware Interface) Support
#CONFIG_EFI_VARS=yCONFIG_EFI_ESRT=yCONFIG_EFI_VARS_PSTORE=yCONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE=yCONFIG_EFI_RUNTIME_MAP=y
# CONFIG_EFI_FAKE_MEMMAP is not setCONFIG_EFI_RUNTIME_WRAPPERS=y
# CONFIG_EFI_BOOTLOADER_CONTROL is not set
# CONFIG_EFI_CAPSULE_LOADER is not set
# CONFIG_EFI_TEST is not setCONFIG_APPLE_PROPERTIES=y
# CONFIG_RESET_ATTACK_MITIGATION is not set
# CONFIG_EFI_RCI2_TABLE is not set
# CONFIG_EFI_DISABLE_PCI_DMA is not set
# end of EFI (Extensible Firmware Interface) Support
CONFIG_UEFI_CPER=yCONFIG_UEFI_CPER_X86=yCONFIG_EFI_DEV_PATH_PARSER=yCONFIG_EFI_EARLYCON=y
#
# Tegra firmware driver
#
# end of Tegra firmware driver # end of Firmware Drivers
CONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_IRQFD=yCONFIG_HAVE_KVM_IRQ_ROUTING=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_MMIO=yCONFIG_KVM_ASYNC_PF=yCONFIG_HAVE_KVM_MSI=yCONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=yCONFIG_KVM_VFIO=yCONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=yCONFIG_KVM_COMPAT=yCONFIG_HAVE_KVM_IRQ_BYPASS=yCONFIG_HAVE_KVM_NO_POLL=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=mCONFIG_KVM_WERROR=yCONFIG_KVM_INTEL=mCONFIG_KVM_AMD=mCONFIG_KVM_AMD_SEV=yCONFIG_KVM_MMU_AUDIT=yCONFIG_VHOST_NET=m
# CONFIG_VHOST_SCSI is not setCONFIG_VHOST_VSOCK=mCONFIG_VHOST=m
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
#
# General architecture-dependent options
#CONFIG_CRASH_CORE=yCONFIG_KEXEC_CORE=yCONFIG_HOTPLUG_SMT=yCONFIG_OPROFILE=mCONFIG_OPROFILE_EVENT_MULTIPLEX=yCONFIG_HAVE_OPROFILE=yCONFIG_OPROFILE_NMI_TIMER=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not setCONFIG_OPTPROBES=yCONFIG_KPROBES_ON_FTRACE=yCONFIG_UPROBES=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_ARCH_USE_BUILTIN_BSWAP=yCONFIG_KRETPROBES=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_KPROBES_ON_FTRACE=yCONFIG_HAVE_FUNCTION_ERROR_INJECTION=yCONFIG_HAVE_NMI=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_CONTIGUOUS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_ARCH_HAS_FORTIFY_SOURCE=yCONFIG_ARCH_HAS_SET_MEMORY=yCONFIG_ARCH_HAS_SET_DIRECT_MAP=yCONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=yCONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=yCONFIG_HAVE_ASM_MODVERSIONS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_RSEQ=yCONFIG_HAVE_FUNCTION_ARG_ACCESS_API=yCONFIG_HAVE_CLK=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=yCONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=yCONFIG_MMU_GATHER_TABLE_FREE=yCONFIG_MMU_GATHER_RCU_TABLE_FREE=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_ALIGNED_STRUCT_PAGE=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_OLD_COMPAT_IPC=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=yCONFIG_SECCOMP_FILTER=yCONFIG_HAVE_ARCH_STACKLEAK=yCONFIG_HAVE_STACKPROTECTOR=yCONFIG_CC_HAS_STACKPROTECTOR_NONE=yCONFIG_STACKPROTECTOR=yCONFIG_STACKPROTECTOR_STRONG=yCONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=yCONFIG_HAVE_CONTEXT_TRACKING=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=yCONFIG_HAVE_IRQ_TIME_ACCOUNTING=yCONFIG_HAVE_MOVE_PMD=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=yCONFIG_HAVE_ARCH_HUGE_VMAP=yCONFIG_ARCH_WANT_HUGE_PMD_SHARE=yCONFIG_HAVE_ARCH_SOFT_DIRTY=yCONFIG_HAVE_MOD_ARCH_SPECIFIC=yCONFIG_MODULES_USE_ELF_RELA=yCONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=yCONFIG_ARCH_HAS_ELF_RANDOMIZE=yCONFIG_HAVE_ARCH_MMAP_RND_BITS=yCONFIG_HAVE_EXIT_THREAD=yCONFIG_ARCH_MMAP_RND_BITS=28CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=yCONFIG_ARCH_MMAP_RND_COMPAT_BITS=8CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=yCONFIG_HAVE_COPY_THREAD_TLS=yCONFIG_HAVE_STACK_VALIDATION=yCONFIG_HAVE_RELIABLE_STACKTRACE=yCONFIG_OLD_SIGSUSPEND3=yCONFIG_COMPAT_OLD_SIGACTION=yCONFIG_COMPAT_32BIT_TIME=yCONFIG_HAVE_ARCH_VMAP_STACK=yCONFIG_VMAP_STACK=yCONFIG_ARCH_HAS_STRICT_KERNEL_RWX=yCONFIG_STRICT_KERNEL_RWX=yCONFIG_ARCH_HAS_STRICT_MODULE_RWX=yCONFIG_STRICT_MODULE_RWX=yCONFIG_HAVE_ARCH_PREL32_RELOCATIONS=yCONFIG_ARCH_USE_MEMREMAP_PROT=y
# CONFIG_LOCK_EVENT_COUNTS is not setCONFIG_ARCH_HAS_MEM_ENCRYPT=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not setCONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling
CONFIG_PLUGIN_HOSTCC="g++"CONFIG_HAVE_GCC_PLUGINS=yCONFIG_GCC_PLUGINS=y
# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set
# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set
# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set
# end of General architecture-dependent options
CONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULE_SIG_FORMAT=yCONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set CONFIG_MODULE_SIG_ALL=y
# CONFIG_MODULE_SIG_SHA1 is not set
# CONFIG_MODULE_SIG_SHA224 is not set CONFIG_MODULE_SIG_SHA256=y
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set CONFIG_MODULE_SIG_HASH="sha256"
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set # CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_TRIM_UNUSED_KSYMS is not set CONFIG_MODULES_TREE_LOOKUP=yCONFIG_BLOCK=yCONFIG_BLK_SCSI_REQUEST=y CONFIG_BLK_CGROUP_RWSTAT=yCONFIG_BLK_DEV_BSG=yCONFIG_BLK_DEV_BSGLIB=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLK_DEV_INTEGRITY_T10=m CONFIG_BLK_DEV_ZONED=y CONFIG_BLK_DEV_THROTTLING=y
# CONFIG_BLK_DEV_THROTTLING_LOW is not set
# CONFIG_BLK_CMDLINE_PARSER is not set
# CONFIG_BLK_WBT is not set
# CONFIG_BLK_CGROUP_IOLATENCY is not set
# CONFIG_BLK_CGROUP_IOCOST is not set CONFIG_BLK_DEBUG_FS=yCONFIG_BLK_DEBUG_FS_ZONED=y
# CONFIG_BLK_SED_OPAL is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not setCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not setCONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not setCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set
# end of Partition Types
CONFIG_BLOCK_COMPAT=yCONFIG_BLK_MQ_PCI=yCONFIG_BLK_MQ_VIRTIO=yCONFIG_BLK_PM=y
#
# IO Schedulers
#CONFIG_MQ_IOSCHED_DEADLINE=yCONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_IOSCHED_BFQ is not set
# end of IO Schedulers
CONFIG_PREEMPT_NOTIFIERS=yCONFIG_PADATA=yCONFIG_ASN1=yCONFIG_INLINE_SPIN_UNLOCK_IRQ=yCONFIG_INLINE_READ_UNLOCK=yCONFIG_INLINE_READ_UNLOCK_IRQ=yCONFIG_INLINE_WRITE_UNLOCK=yCONFIG_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_ARCH_SUPPORTS_ATOMIC_RMW=yCONFIG_MUTEX_SPIN_ON_OWNER=yCONFIG_RWSEM_SPIN_ON_OWNER=yCONFIG_LOCK_SPIN_ON_OWNER=yCONFIG_ARCH_USE_QUEUED_SPINLOCKS=yCONFIG_QUEUED_SPINLOCKS=yCONFIG_ARCH_USE_QUEUED_RWLOCKS=yCONFIG_QUEUED_RWLOCKS=yCONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=yCONFIG_ARCH_HAS_SYSCALL_WRAPPER=yCONFIG_FREEZER=y
#
# Executable file formats
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_ELFCORE=yCONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=yCONFIG_BINFMT_SCRIPT=yCONFIG_BINFMT_MISC=mCONFIG_COREDUMP=y
# end of Executable file formats
#
# Memory Management options
#CONFIG_SELECT_MEMORY_MODEL=yCONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=yCONFIG_NEED_MULTIPLE_NODES=yCONFIG_HAVE_MEMORY_PRESENT=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_VMEMMAP=yCONFIG_HAVE_MEMBLOCK_NODE_MAP=yCONFIG_HAVE_FAST_GUP=yCONFIG_MEMORY_ISOLATION=yCONFIG_HAVE_BOOTMEM_INFO_NODE=yCONFIG_MEMORY_HOTPLUG=yCONFIG_MEMORY_HOTPLUG_SPARSE=y
# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not setCONFIG_MEMORY_HOTREMOVE=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_MEMORY_BALLOON=yCONFIG_BALLOON_COMPACTION=yCONFIG_COMPACTION=yCONFIG_MIGRATION=yCONFIG_CONTIG_ALLOC=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=yCONFIG_MEMORY_FAILURE=yCONFIG_HWPOISON_INJECT=mCONFIG_TRANSPARENT_HUGEPAGE=yCONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not setCONFIG_ARCH_WANTS_THP_SWAP=yCONFIG_THP_SWAP=yCONFIG_TRANSPARENT_HUGE_PAGECACHE=yCONFIG_CLEANCACHE=yCONFIG_FRONTSWAP=yCONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
# CONFIG_CMA_DEBUGFS is not setCONFIG_CMA_AREAS=7CONFIG_MEM_SOFT_DIRTY=yCONFIG_ZSWAP=yCONFIG_ZPOOL=yCONFIG_ZBUD=y
# CONFIG_Z3FOLD is not setCONFIG_ZSMALLOC=y
# CONFIG_PGTABLE_MAPPING is not set
# CONFIG_ZSMALLOC_STAT is not setCONFIG_GENERIC_EARLY_IOREMAP=yCONFIG_DEFERRED_STRUCT_PAGE_INIT=yCONFIG_IDLE_PAGE_TRACKING=yCONFIG_ARCH_HAS_PTE_DEVMAP=yCONFIG_ZONE_DEVICE=yCONFIG_DEV_PAGEMAP_OPS=y
# CONFIG_DEVICE_PRIVATE is not setCONFIG_FRAME_VECTOR=yCONFIG_ARCH_USES_HIGH_VMA_FLAGS=yCONFIG_ARCH_HAS_PKEYS=y
# CONFIG_PERCPU_STATS is not set
# CONFIG_GUP_BENCHMARK is not set
# CONFIG_READ_ONLY_THP_FOR_FS is not setCONFIG_ARCH_HAS_PTE_SPECIAL=yCONFIG_MAPPING_DIRTY_HELPERS=y
# end of Memory Management options
CONFIG_NET=yCONFIG_COMPAT_NETLINK_MESSAGES=yCONFIG_NET_INGRESS=yCONFIG_NET_EGRESS=yCONFIG_SKB_EXTENSIONS=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_DIAG=mCONFIG_UNIX=yCONFIG_UNIX_SCM=yCONFIG_UNIX_DIAG=m
# CONFIG_TLS is not setCONFIG_XFRM=yCONFIG_XFRM_ALGO=yCONFIG_XFRM_USER=y
# CONFIG_XFRM_INTERFACE is not setCONFIG_XFRM_SUB_POLICY=yCONFIG_XFRM_MIGRATE=yCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_IPCOMP=mCONFIG_NET_KEY=mCONFIG_NET_KEY_MIGRATE=y
# CONFIG_XDP_SOCKETS is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_IP_FIB_TRIE_STATS=yCONFIG_IP_MULTIPLE_TABLES=yCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_ROUTE_CLASSID=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not setCONFIG_NET_IPIP=mCONFIG_NET_IPGRE_DEMUX=mCONFIG_NET_IP_TUNNEL=mCONFIG_NET_IPGRE=mCONFIG_NET_IPGRE_BROADCAST=yCONFIG_IP_MROUTE_COMMON=yCONFIG_IP_MROUTE=yCONFIG_IP_MROUTE_MULTIPLE_TABLES=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=yCONFIG_SYN_COOKIES=yCONFIG_NET_IPVTI=mCONFIG_NET_UDP_TUNNEL=mCONFIG_NET_FOU=mCONFIG_NET_FOU_IP_TUNNELS=yCONFIG_INET_AH=mCONFIG_INET_ESP=m
# CONFIG_INET_ESP_OFFLOAD is not set
# CONFIG_INET_ESPINTCP is not setCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=mCONFIG_INET_UDP_DIAG=m
# CONFIG_INET_RAW_DIAG is not set
# CONFIG_INET_DIAG_DESTROY is not setCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HSTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=m
# CONFIG_TCP_CONG_NV is not setCONFIG_TCP_CONG_SCALABLE=mCONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=mCONFIG_TCP_CONG_ILLINOIS=mCONFIG_TCP_CONG_DCTCP=m
# CONFIG_TCP_CONG_CDG is not set
# CONFIG_TCP_CONG_BBR is not setCONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_RENO is not setCONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_TCP_MD5SIG=yCONFIG_IPV6=yCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=yCONFIG_IPV6_OPTIMISTIC_DAD=yCONFIG_INET6_AH=mCONFIG_INET6_ESP=m
# CONFIG_INET6_ESP_OFFLOAD is not setCONFIG_INET6_IPCOMP=mCONFIG_IPV6_MIP6=m
# CONFIG_IPV6_ILA is not setCONFIG_INET6_XFRM_TUNNEL=mCONFIG_INET6_TUNNEL=mCONFIG_IPV6_VTI=mCONFIG_IPV6_SIT=mCONFIG_IPV6_SIT_6RD=yCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_IPV6_TUNNEL=mCONFIG_IPV6_GRE=mCONFIG_IPV6_FOU=mCONFIG_IPV6_FOU_TUNNEL=mCONFIG_IPV6_MULTIPLE_TABLES=y
# CONFIG_IPV6_SUBTREES is not setCONFIG_IPV6_MROUTE=yCONFIG_IPV6_MROUTE_MULTIPLE_TABLES=yCONFIG_IPV6_PIMSM_V2=yCONFIG_IPV6_SEG6_LWTUNNEL=y
# CONFIG_IPV6_SEG6_HMAC is not setCONFIG_IPV6_SEG6_BPF=yCONFIG_NETLABEL=yCONFIG_MPTCP=yCONFIG_MPTCP_IPV6=y
# CONFIG_MPTCP_HMAC_TEST is not setCONFIG_NETWORK_SECMARK=yCONFIG_NET_PTP_CLASSIFY=yCONFIG_NETWORK_PHY_TIMESTAMPING=yCONFIG_NETFILTER=yCONFIG_NETFILTER_ADVANCED=yCONFIG_BRIDGE_NETFILTER=m
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_INGRESS=yCONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_FAMILY_BRIDGE=yCONFIG_NETFILTER_FAMILY_ARP=yCONFIG_NETFILTER_NETLINK_ACCT=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=mCONFIG_NETFILTER_NETLINK_OSF=mCONFIG_NF_CONNTRACK=mCONFIG_NF_LOG_COMMON=m
# CONFIG_NF_LOG_NETDEV is not setCONFIG_NETFILTER_CONNCOUNT=mCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_SECMARK=yCONFIG_NF_CONNTRACK_ZONES=yCONFIG_NF_CONNTRACK_PROCFS=yCONFIG_NF_CONNTRACK_EVENTS=yCONFIG_NF_CONNTRACK_TIMEOUT=yCONFIG_NF_CONNTRACK_TIMESTAMP=yCONFIG_NF_CONNTRACK_LABELS=yCONFIG_NF_CT_PROTO_DCCP=yCONFIG_NF_CT_PROTO_GRE=yCONFIG_NF_CT_PROTO_SCTP=yCONFIG_NF_CT_PROTO_UDPLITE=yCONFIG_NF_CONNTRACK_AMANDA=mCONFIG_NF_CONNTRACK_FTP=mCONFIG_NF_CONNTRACK_H323=mCONFIG_NF_CONNTRACK_IRC=mCONFIG_NF_CONNTRACK_BROADCAST=mCONFIG_NF_CONNTRACK_NETBIOS_NS=mCONFIG_NF_CONNTRACK_SNMP=mCONFIG_NF_CONNTRACK_PPTP=mCONFIG_NF_CONNTRACK_SANE=mCONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CONNTRACK_TFTP=mCONFIG_NF_CT_NETLINK=mCONFIG_NF_CT_NETLINK_TIMEOUT=m
# CONFIG_NETFILTER_NETLINK_GLUE_CT is not setCONFIG_NF_NAT=mCONFIG_NF_NAT_AMANDA=mCONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_SIP=mCONFIG_NF_NAT_TFTP=mCONFIG_NF_NAT_REDIRECT=yCONFIG_NF_NAT_MASQUERADE=yCONFIG_NETFILTER_SYNPROXY=mCONFIG_NF_TABLES=m
# CONFIG_NF_TABLES_SET is not set
# CONFIG_NF_TABLES_INET is not set
# CONFIG_NF_TABLES_NETDEV is not set
# CONFIG_NFT_NUMGEN is not setCONFIG_NFT_CT=mCONFIG_NFT_COUNTER=m
# CONFIG_NFT_CONNLIMIT is not setCONFIG_NFT_LOG=mCONFIG_NFT_LIMIT=mCONFIG_NFT_MASQ=mCONFIG_NFT_REDIR=m
# CONFIG_NFT_TUNNEL is not set
# CONFIG_NFT_OBJREF is not setCONFIG_NFT_QUEUE=m
# CONFIG_NFT_QUOTA is not setCONFIG_NFT_REJECT=mCONFIG_NFT_COMPAT=mCONFIG_NFT_HASH=m
# CONFIG_NFT_XFRM is not set
# CONFIG_NFT_SOCKET is not set
# CONFIG_NFT_OSF is not set
# CONFIG_NFT_TPROXY is not set
# CONFIG_NFT_SYNPROXY is not set
# CONFIG_NF_FLOW_TABLE is not setCONFIG_NETFILTER_XTABLES=y
#
# Xtables combined modules
#CONFIG_NETFILTER_XT_MARK=mCONFIG_NETFILTER_XT_CONNMARK=mCONFIG_NETFILTER_XT_SET=m
#
# Xtables targets
#CONFIG_NETFILTER_XT_TARGET_AUDIT=mCONFIG_NETFILTER_XT_TARGET_CHECKSUM=mCONFIG_NETFILTER_XT_TARGET_CLASSIFY=mCONFIG_NETFILTER_XT_TARGET_CONNMARK=mCONFIG_NETFILTER_XT_TARGET_CONNSECMARK=mCONFIG_NETFILTER_XT_TARGET_CT=mCONFIG_NETFILTER_XT_TARGET_DSCP=mCONFIG_NETFILTER_XT_TARGET_HL=mCONFIG_NETFILTER_XT_TARGET_HMARK=mCONFIG_NETFILTER_XT_TARGET_IDLETIMER=mCONFIG_NETFILTER_XT_TARGET_LED=mCONFIG_NETFILTER_XT_TARGET_LOG=mCONFIG_NETFILTER_XT_TARGET_MARK=mCONFIG_NETFILTER_XT_NAT=mCONFIG_NETFILTER_XT_TARGET_NETMAP=mCONFIG_NETFILTER_XT_TARGET_NFLOG=mCONFIG_NETFILTER_XT_TARGET_NFQUEUE=mCONFIG_NETFILTER_XT_TARGET_NOTRACK=mCONFIG_NETFILTER_XT_TARGET_RATEEST=mCONFIG_NETFILTER_XT_TARGET_REDIRECT=mCONFIG_NETFILTER_XT_TARGET_MASQUERADE=mCONFIG_NETFILTER_XT_TARGET_TEE=mCONFIG_NETFILTER_XT_TARGET_TPROXY=mCONFIG_NETFILTER_XT_TARGET_TRACE=mCONFIG_NETFILTER_XT_TARGET_SECMARK=mCONFIG_NETFILTER_XT_TARGET_TCPMSS=mCONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
#
# Xtables matches
#CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=mCONFIG_NETFILTER_XT_MATCH_BPF=mCONFIG_NETFILTER_XT_MATCH_CGROUP=mCONFIG_NETFILTER_XT_MATCH_CLUSTER=mCONFIG_NETFILTER_XT_MATCH_COMMENT=mCONFIG_NETFILTER_XT_MATCH_CONNBYTES=mCONFIG_NETFILTER_XT_MATCH_CONNLABEL=mCONFIG_NETFILTER_XT_MATCH_CONNLIMIT=mCONFIG_NETFILTER_XT_MATCH_CONNMARK=mCONFIG_NETFILTER_XT_MATCH_CONNTRACK=mCONFIG_NETFILTER_XT_MATCH_CPU=mCONFIG_NETFILTER_XT_MATCH_DCCP=mCONFIG_NETFILTER_XT_MATCH_DEVGROUP=mCONFIG_NETFILTER_XT_MATCH_DSCP=mCONFIG_NETFILTER_XT_MATCH_ECN=mCONFIG_NETFILTER_XT_MATCH_ESP=mCONFIG_NETFILTER_XT_MATCH_HASHLIMIT=mCONFIG_NETFILTER_XT_MATCH_HELPER=mCONFIG_NETFILTER_XT_MATCH_HL=m
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not setCONFIG_NETFILTER_XT_MATCH_IPRANGE=mCONFIG_NETFILTER_XT_MATCH_IPVS=mCONFIG_NETFILTER_XT_MATCH_L2TP=mCONFIG_NETFILTER_XT_MATCH_LENGTH=mCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_MULTIPORT=mCONFIG_NETFILTER_XT_MATCH_NFACCT=mCONFIG_NETFILTER_XT_MATCH_OSF=mCONFIG_NETFILTER_XT_MATCH_OWNER=mCONFIG_NETFILTER_XT_MATCH_POLICY=mCONFIG_NETFILTER_XT_MATCH_PHYSDEV=mCONFIG_NETFILTER_XT_MATCH_PKTTYPE=mCONFIG_NETFILTER_XT_MATCH_QUOTA=mCONFIG_NETFILTER_XT_MATCH_RATEEST=mCONFIG_NETFILTER_XT_MATCH_REALM=mCONFIG_NETFILTER_XT_MATCH_RECENT=mCONFIG_NETFILTER_XT_MATCH_SCTP=mCONFIG_NETFILTER_XT_MATCH_SOCKET=mCONFIG_NETFILTER_XT_MATCH_STATE=mCONFIG_NETFILTER_XT_MATCH_STATISTIC=mCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=mCONFIG_NETFILTER_XT_MATCH_TIME=mCONFIG_NETFILTER_XT_MATCH_U32=m
# end of Core Netfilter Configuration
CONFIG_IP_SET=mCONFIG_IP_SET_MAX=256CONFIG_IP_SET_BITMAP_IP=mCONFIG_IP_SET_BITMAP_IPMAC=mCONFIG_IP_SET_BITMAP_PORT=mCONFIG_IP_SET_HASH_IP=mCONFIG_IP_SET_HASH_IPMARK=mCONFIG_IP_SET_HASH_IPPORT=mCONFIG_IP_SET_HASH_IPPORTIP=mCONFIG_IP_SET_HASH_IPPORTNET=mCONFIG_IP_SET_HASH_IPMAC=mCONFIG_IP_SET_HASH_MAC=mCONFIG_IP_SET_HASH_NETPORTNET=mCONFIG_IP_SET_HASH_NET=mCONFIG_IP_SET_HASH_NETNET=mCONFIG_IP_SET_HASH_NETPORT=mCONFIG_IP_SET_HASH_NETIFACE=mCONFIG_IP_SET_LIST_SET=mCONFIG_IP_VS=mCONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not setCONFIG_IP_VS_TAB_BITS=12
#
# IPVS transport protocol load balancing support
#CONFIG_IP_VS_PROTO_TCP=yCONFIG_IP_VS_PROTO_UDP=yCONFIG_IP_VS_PROTO_AH_ESP=yCONFIG_IP_VS_PROTO_ESP=yCONFIG_IP_VS_PROTO_AH=yCONFIG_IP_VS_PROTO_SCTP=y
#
# IPVS scheduler
#CONFIG_IP_VS_RR=mCONFIG_IP_VS_WRR=mCONFIG_IP_VS_LC=mCONFIG_IP_VS_WLC=m
# CONFIG_IP_VS_FO is not set
# CONFIG_IP_VS_OVF is not setCONFIG_IP_VS_LBLC=mCONFIG_IP_VS_LBLCR=mCONFIG_IP_VS_DH=mCONFIG_IP_VS_SH=m
# CONFIG_IP_VS_MH is not setCONFIG_IP_VS_SED=mCONFIG_IP_VS_NQ=m
#
# IPVS SH scheduler
#CONFIG_IP_VS_SH_TAB_BITS=8
#
# IPVS MH scheduler
#CONFIG_IP_VS_MH_TAB_INDEX=12
#
# IPVS application helper
#CONFIG_IP_VS_FTP=mCONFIG_IP_VS_NFCT=yCONFIG_IP_VS_PE_SIP=m
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_SOCKET_IPV4=mCONFIG_NF_TPROXY_IPV4=m
# CONFIG_NF_TABLES_IPV4 is not set
# CONFIG_NF_TABLES_ARP is not setCONFIG_NF_DUP_IPV4=m
# CONFIG_NF_LOG_ARP is not setCONFIG_NF_LOG_IPV4=mCONFIG_NF_REJECT_IPV4=mCONFIG_NF_NAT_SNMP_BASIC=mCONFIG_NF_NAT_PPTP=mCONFIG_NF_NAT_H323=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_RPFILTER=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_SYNPROXY=mCONFIG_IP_NF_NAT=mCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_NETMAP=mCONFIG_IP_NF_TARGET_REDIRECT=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_SECURITY=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
# end of IP: Netfilter Configuration
#
# IPv6: Netfilter Configuration
#CONFIG_NF_SOCKET_IPV6=mCONFIG_NF_TPROXY_IPV6=m
# CONFIG_NF_TABLES_IPV6 is not setCONFIG_NF_DUP_IPV6=mCONFIG_NF_REJECT_IPV6=mCONFIG_NF_LOG_IPV6=mCONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_MATCH_AH=mCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_IP6_NF_MATCH_FRAG=mCONFIG_IP6_NF_MATCH_OPTS=mCONFIG_IP6_NF_MATCH_HL=mCONFIG_IP6_NF_MATCH_IPV6HEADER=mCONFIG_IP6_NF_MATCH_MH=mCONFIG_IP6_NF_MATCH_RPFILTER=mCONFIG_IP6_NF_MATCH_RT=m
# CONFIG_IP6_NF_MATCH_SRH is not setCONFIG_IP6_NF_TARGET_HL=mCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=mCONFIG_IP6_NF_TARGET_SYNPROXY=mCONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=mCONFIG_IP6_NF_SECURITY=mCONFIG_IP6_NF_NAT=mCONFIG_IP6_NF_TARGET_MASQUERADE=mCONFIG_IP6_NF_TARGET_NPT=m
# end of IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=m
# CONFIG_NF_TABLES_BRIDGE is not set
# CONFIG_NF_CONNTRACK_BRIDGE is not setCONFIG_BRIDGE_NF_EBTABLES=mCONFIG_BRIDGE_EBT_BROUTE=mCONFIG_BRIDGE_EBT_T_FILTER=mCONFIG_BRIDGE_EBT_T_NAT=mCONFIG_BRIDGE_EBT_802_3=mCONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=mCONFIG_BRIDGE_EBT_PKTTYPE=mCONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=mCONFIG_BRIDGE_EBT_ARPREPLY=mCONFIG_BRIDGE_EBT_DNAT=mCONFIG_BRIDGE_EBT_MARK_T=mCONFIG_BRIDGE_EBT_REDIRECT=mCONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_NFLOG=m
# CONFIG_BPFILTER is not setCONFIG_IP_DCCP=mCONFIG_INET_DCCP_DIAG=m
#
# DCCP CCIDs Configuration
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not setCONFIG_IP_DCCP_TFRC_LIB=y
# end of DCCP CCIDs Configuration
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not set
# end of DCCP Kernel Hacking
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set CONFIG_SCTP_COOKIE_HMAC_MD5=y CONFIG_SCTP_COOKIE_HMAC_SHA1=y CONFIG_INET_SCTP_DIAG=m
# CONFIG_RDS is not set
# CONFIG_TIPC is not setCONFIG_ATM=mCONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set CONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not set CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set CONFIG_L2TP=mCONFIG_L2TP_DEBUGFS=mCONFIG_L2TP_V3=yCONFIG_L2TP_IP=mCONFIG_L2TP_ETH=mCONFIG_STP=mCONFIG_GARP=mCONFIG_MRP=mCONFIG_BRIDGE=m CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_BRIDGE_VLAN_FILTERING=y CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set CONFIG_VLAN_8021Q=mCONFIG_VLAN_8021Q_GVRP=y CONFIG_VLAN_8021Q_MVRP=y
# CONFIG_DECNET is not setCONFIG_LLC=m
# CONFIG_LLC2 is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not setCONFIG_6LOWPAN=m
# CONFIG_6LOWPAN_DEBUGFS is not set CONFIG_6LOWPAN_NHC=m CONFIG_6LOWPAN_NHC_DEST=m CONFIG_6LOWPAN_NHC_FRAGMENT=m CONFIG_6LOWPAN_NHC_HOP=m CONFIG_6LOWPAN_NHC_IPV6=m CONFIG_6LOWPAN_NHC_MOBILITY=m CONFIG_6LOWPAN_NHC_ROUTING=m CONFIG_6LOWPAN_NHC_UDP=m
# CONFIG_6LOWPAN_GHC_EXT_HDR_HOP is not set # CONFIG_6LOWPAN_GHC_UDP is not set
# CONFIG_6LOWPAN_GHC_ICMPV6 is not set
# CONFIG_6LOWPAN_GHC_EXT_HDR_DEST is not set # CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG is not set # CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE is not set CONFIG_IEEE802154=m
# CONFIG_IEEE802154_NL802154_EXPERIMENTAL is not set CONFIG_IEEE802154_SOCKET=m CONFIG_IEEE802154_6LOWPAN=m CONFIG_MAC802154=mCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=mCONFIG_NET_SCH_ATM=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_MULTIQ=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_CBS is not set
# CONFIG_NET_SCH_ETF is not set
# CONFIG_NET_SCH_TAPRIO is not setCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_DSMARK=mCONFIG_NET_SCH_NETEM=mCONFIG_NET_SCH_DRR=mCONFIG_NET_SCH_MQPRIO=m
# CONFIG_NET_SCH_SKBPRIO is not setCONFIG_NET_SCH_CHOKE=mCONFIG_NET_SCH_QFQ=mCONFIG_NET_SCH_CODEL=mCONFIG_NET_SCH_FQ_CODEL=m
# CONFIG_NET_SCH_CAKE is not setCONFIG_NET_SCH_FQ=m
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not setCONFIG_NET_SCH_INGRESS=mCONFIG_NET_SCH_PLUG=m
# CONFIG_NET_SCH_ETS is not set
# CONFIG_NET_SCH_DEFAULT is not set
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_RSVP=mCONFIG_NET_CLS_RSVP6=mCONFIG_NET_CLS_FLOW=mCONFIG_NET_CLS_CGROUP=yCONFIG_NET_CLS_BPF=mCONFIG_NET_CLS_FLOWER=mCONFIG_NET_CLS_MATCHALL=mCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32CONFIG_NET_EMATCH_CMP=mCONFIG_NET_EMATCH_NBYTE=mCONFIG_NET_EMATCH_U32=mCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=m
# CONFIG_NET_EMATCH_CANID is not setCONFIG_NET_EMATCH_IPSET=m
# CONFIG_NET_EMATCH_IPT is not setCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=mCONFIG_GACT_PROB=yCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_SAMPLE=mCONFIG_NET_ACT_IPT=mCONFIG_NET_ACT_NAT=mCONFIG_NET_ACT_PEDIT=mCONFIG_NET_ACT_SIMP=mCONFIG_NET_ACT_SKBEDIT=mCONFIG_NET_ACT_CSUM=m
# CONFIG_NET_ACT_MPLS is not setCONFIG_NET_ACT_VLAN=m
# CONFIG_NET_ACT_BPF is not setCONFIG_NET_ACT_CONNMARK=m
# CONFIG_NET_ACT_CTINFO is not setCONFIG_NET_ACT_SKBMOD=m
# CONFIG_NET_ACT_IFE is not setCONFIG_NET_ACT_TUNNEL_KEY=m
# CONFIG_NET_ACT_CT is not set
# CONFIG_NET_TC_SKB_EXT is not setCONFIG_NET_SCH_FIFO=yCONFIG_DCB=yCONFIG_DNS_RESOLVER=m
# CONFIG_BATMAN_ADV is not setCONFIG_OPENVSWITCH=mCONFIG_OPENVSWITCH_GRE=mCONFIG_OPENVSWITCH_VXLAN=mCONFIG_OPENVSWITCH_GENEVE=mCONFIG_VSOCKETS=mCONFIG_VSOCKETS_DIAG=mCONFIG_VSOCKETS_LOOPBACK=mCONFIG_VMWARE_VMCI_VSOCKETS=mCONFIG_VIRTIO_VSOCKETS=mCONFIG_VIRTIO_VSOCKETS_COMMON=mCONFIG_HYPERV_VSOCKETS=mCONFIG_NETLINK_DIAG=mCONFIG_MPLS=yCONFIG_NET_MPLS_GSO=yCONFIG_MPLS_ROUTING=mCONFIG_MPLS_IPTUNNEL=mCONFIG_NET_NSH=m
# CONFIG_HSR is not setCONFIG_NET_SWITCHDEV=yCONFIG_NET_L3_MASTER_DEV=y
# CONFIG_NET_NCSI is not setCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not setCONFIG_CGROUP_NET_CLASSID=yCONFIG_NET_RX_BUSY_POLL=yCONFIG_BQL=yCONFIG_BPF_JIT=yCONFIG_BPF_STREAM_PARSER=yCONFIG_NET_FLOW_LIMIT=y
#
# Network testing
#CONFIG_NET_PKTGEN=mCONFIG_NET_DROP_MONITOR=y
# end of Network testing # end of Networking options
# CONFIG_HAMRADIO is not setCONFIG_CAN=mCONFIG_CAN_RAW=mCONFIG_CAN_BCM=mCONFIG_CAN_GW=m
# CONFIG_CAN_J1939 is not set
#
# CAN Device Drivers
#CONFIG_CAN_VCAN=m
# CONFIG_CAN_VXCAN is not setCONFIG_CAN_SLCAN=mCONFIG_CAN_DEV=mCONFIG_CAN_CALC_BITTIMING=y
# CONFIG_CAN_KVASER_PCIEFD is not setCONFIG_CAN_C_CAN=mCONFIG_CAN_C_CAN_PLATFORM=mCONFIG_CAN_C_CAN_PCI=mCONFIG_CAN_CC770=m
# CONFIG_CAN_CC770_ISA is not setCONFIG_CAN_CC770_PLATFORM=m
# CONFIG_CAN_IFI_CANFD is not set
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_PEAK_PCIEFD is not setCONFIG_CAN_SJA1000=mCONFIG_CAN_EMS_PCI=m
# CONFIG_CAN_F81601 is not setCONFIG_CAN_KVASER_PCI=mCONFIG_CAN_PEAK_PCI=mCONFIG_CAN_PEAK_PCIEC=yCONFIG_CAN_PLX_PCI=m
# CONFIG_CAN_SJA1000_ISA is not setCONFIG_CAN_SJA1000_PLATFORM=mCONFIG_CAN_SOFTING=m
#
# CAN SPI interfaces
#
# CONFIG_CAN_HI311X is not set
# CONFIG_CAN_MCP251X is not set
# end of CAN SPI interfaces
#
# CAN USB interfaces
#CONFIG_CAN_8DEV_USB=mCONFIG_CAN_EMS_USB=mCONFIG_CAN_ESD_USB2=m
# CONFIG_CAN_GS_USB is not setCONFIG_CAN_KVASER_USB=m
# CONFIG_CAN_MCBA_USB is not setCONFIG_CAN_PEAK_USB=m
# CONFIG_CAN_UCAN is not set
# end of CAN USB interfaces
# CONFIG_CAN_DEBUG_DEVICES is not set
# end of CAN Device Drivers
CONFIG_BT=mCONFIG_BT_BREDR=yCONFIG_BT_RFCOMM=mCONFIG_BT_RFCOMM_TTY=yCONFIG_BT_BNEP=mCONFIG_BT_BNEP_MC_FILTER=yCONFIG_BT_BNEP_PROTO_FILTER=yCONFIG_BT_CMTP=mCONFIG_BT_HIDP=mCONFIG_BT_HS=yCONFIG_BT_LE=y
# CONFIG_BT_6LOWPAN is not set
# CONFIG_BT_LEDS is not set
# CONFIG_BT_SELFTEST is not setCONFIG_BT_DEBUGFS=y
#
# Bluetooth device drivers
#CONFIG_BT_INTEL=mCONFIG_BT_BCM=mCONFIG_BT_RTL=mCONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not setCONFIG_BT_HCIBTUSB_BCM=y
# CONFIG_BT_HCIBTUSB_MTK is not setCONFIG_BT_HCIBTUSB_RTL=yCONFIG_BT_HCIBTSDIO=mCONFIG_BT_HCIUART=mCONFIG_BT_HCIUART_H4=yCONFIG_BT_HCIUART_BCSP=yCONFIG_BT_HCIUART_ATH3K=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_AG6XX is not setCONFIG_BT_HCIBCM203X=mCONFIG_BT_HCIBPA10X=mCONFIG_BT_HCIBFUSB=mCONFIG_BT_HCIVHCI=mCONFIG_BT_MRVL=mCONFIG_BT_MRVL_SDIO=mCONFIG_BT_ATH3K=m
# CONFIG_BT_MTKSDIO is not set
# end of Bluetooth device drivers
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not setCONFIG_STREAM_PARSER=yCONFIG_FIB_RULES=yCONFIG_WIRELESS=yCONFIG_WIRELESS_EXT=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_WEXT_PRIV=yCONFIG_CFG80211=m
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not setCONFIG_CFG80211_REQUIRE_SIGNED_REGDB=yCONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=yCONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not setCONFIG_CFG80211_CRDA_SUPPORT=yCONFIG_CFG80211_WEXT=yCONFIG_LIB80211=m
# CONFIG_LIB80211_DEBUG is not setCONFIG_MAC80211=mCONFIG_MAC80211_HAS_RC=yCONFIG_MAC80211_RC_MINSTREL=yCONFIG_MAC80211_RC_DEFAULT_MINSTREL=yCONFIG_MAC80211_RC_DEFAULT="minstrel_ht"CONFIG_MAC80211_MESH=yCONFIG_MAC80211_LEDS=yCONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not setCONFIG_MAC80211_STA_HASH_MAX_SIZE=0
# CONFIG_WIMAX is not setCONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not setCONFIG_NET_9P=yCONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_XEN is not set
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_CAIF is not setCONFIG_CEPH_LIB=m
# CONFIG_CEPH_LIB_PRETTYDEBUG is not setCONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
# CONFIG_NFC is not setCONFIG_PSAMPLE=m
# CONFIG_NET_IFE is not setCONFIG_LWTUNNEL=yCONFIG_LWTUNNEL_BPF=yCONFIG_DST_CACHE=yCONFIG_GRO_CELLS=yCONFIG_NET_SOCK_MSG=yCONFIG_NET_DEVLINK=yCONFIG_PAGE_POOL=yCONFIG_FAILOVER=mCONFIG_ETHTOOL_NETLINK=yCONFIG_HAVE_EBPF_JIT=y
#
# Device Drivers
#CONFIG_HAVE_EISA=y
# CONFIG_EISA is not setCONFIG_HAVE_PCI=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_PCIEPORTBUS=yCONFIG_HOTPLUG_PCI_PCIE=yCONFIG_PCIEAER=yCONFIG_PCIEAER_INJECT=mCONFIG_PCIE_ECRC=yCONFIG_PCIEASPM=yCONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not setCONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
# CONFIG_PCIE_BW is not setCONFIG_PCI_MSI=yCONFIG_PCI_MSI_IRQ_DOMAIN=yCONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not setCONFIG_PCI_STUB=y
# CONFIG_PCI_PF_STUB is not set
# CONFIG_XEN_PCIDEV_FRONTEND is not setCONFIG_PCI_ATS=yCONFIG_PCI_LOCKLESS_CONFIG=yCONFIG_PCI_IOV=yCONFIG_PCI_PRI=yCONFIG_PCI_PASID=y
# CONFIG_PCI_P2PDMA is not setCONFIG_PCI_LABEL=yCONFIG_PCI_HYPERV=mCONFIG_HOTPLUG_PCI=yCONFIG_HOTPLUG_PCI_ACPI=yCONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_HOTPLUG_PCI_CPCI is not setCONFIG_HOTPLUG_PCI_SHPC=y
#
# PCI controller drivers
#CONFIG_VMD=yCONFIG_PCI_HYPERV_INTERFACE=m
#
# DesignWare PCI Core Support
#
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCI_MESON is not set
# end of DesignWare PCI Core Support
#
# Cadence PCIe controllers support
#
# end of Cadence PCIe controllers support # end of PCI controller drivers
#
# PCI Endpoint
#
# CONFIG_PCI_ENDPOINT is not set
# end of PCI Endpoint
#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
# end of PCI switch controller drivers
CONFIG_PCCARD=y
# CONFIG_PCMCIA is not setCONFIG_CARDBUS=y
#
# PC-card bridges
#CONFIG_YENTA=mCONFIG_YENTA_O2=yCONFIG_YENTA_RICOH=yCONFIG_YENTA_TI=yCONFIG_YENTA_ENE_TUNE=yCONFIG_YENTA_TOSHIBA=y
# CONFIG_RAPIDIO is not set
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER=yCONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=y
#
# Firmware loader
#CONFIG_FW_LOADER=y CONFIG_FW_LOADER_PAGED_BUF=y CONFIG_EXTRA_FIRMWARE="" CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set # CONFIG_FW_LOADER_COMPRESS is not set CONFIG_FW_CACHE=y
# end of Firmware loader
CONFIG_WANT_DEV_COREDUMP=yCONFIG_ALLOW_DEV_COREDUMP=yCONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not setCONFIG_SYS_HYPERVISOR=yCONFIG_GENERIC_CPU_AUTOPROBE=yCONFIG_GENERIC_CPU_VULNERABILITIES=yCONFIG_REGMAP=yCONFIG_REGMAP_I2C=mCONFIG_REGMAP_SPI=mCONFIG_REGMAP_IRQ=yCONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
# end of Generic Driver Options
#
# Bus devices
#
# end of Bus devices
CONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
# CONFIG_GNSS is not setCONFIG_MTD=m
# CONFIG_MTD_TESTS is not set
#
# Partition parsers
#
# CONFIG_MTD_AR7_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# end of Partition parsers
#
# User Modules And Translation Layers
#CONFIG_MTD_BLKDEVS=mCONFIG_MTD_BLOCK=m
# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not setCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set
# end of Mapping drivers for chip access
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_MCHP23K256 is not set
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# end of Self-contained MTD device drivers
# CONFIG_MTD_ONENAND is not set
# CONFIG_MTD_RAW_NAND is not set
# CONFIG_MTD_SPI_NAND is not set
#
# LPDDR & LPDDR2 PCM memory drivers
#
# CONFIG_MTD_LPDDR is not set
# end of LPDDR & LPDDR2 PCM memory drivers
# CONFIG_MTD_SPI_NOR is not setCONFIG_MTD_UBI=mCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_MTD_UBI_GLUEBI is not set
# CONFIG_MTD_UBI_BLOCK is not set
# CONFIG_MTD_HYPERBUS is not set
# CONFIG_OF is not setCONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=yCONFIG_PARPORT=mCONFIG_PARPORT_PC=mCONFIG_PARPORT_SERIAL=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AX88796 is not setCONFIG_PARPORT_1284=yCONFIG_PARPORT_NOT_PC=yCONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_NULL_BLK=mCONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=yCONFIG_BLK_DEV_FD=mCONFIG_CDROM=m
# CONFIG_PARIDE is not setCONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
# CONFIG_ZRAM is not set
# CONFIG_BLK_DEV_UMEM is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_LOOP_MIN_COUNT=0
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not setCONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_SKD is not setCONFIG_BLK_DEV_SX8=mCONFIG_BLK_DEV_RAM=mCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=16384CONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not setCONFIG_ATA_OVER_ETH=mCONFIG_XEN_BLKDEV_FRONTEND=mCONFIG_VIRTIO_BLK=yCONFIG_BLK_DEV_RBD=m
# CONFIG_BLK_DEV_RSXX is not set
#
# NVME Support
#CONFIG_NVME_CORE=mCONFIG_BLK_DEV_NVME=mCONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_HWMON is not setCONFIG_NVME_FABRICS=mCONFIG_NVME_FC=m
# CONFIG_NVME_TCP is not setCONFIG_NVME_TARGET=mCONFIG_NVME_TARGET_LOOP=mCONFIG_NVME_TARGET_FC=mCONFIG_NVME_TARGET_FCLOOP=m
# CONFIG_NVME_TARGET_TCP is not set
# end of NVME Support
#
# Misc devices
#CONFIG_SENSORS_LIS3LV02D=m
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not setCONFIG_TIFM_CORE=mCONFIG_TIFM_7XX1=m
# CONFIG_ICS932S401 is not setCONFIG_ENCLOSURE_SERVICES=mCONFIG_SGI_XP=mCONFIG_HP_ILO=mCONFIG_SGI_GRU=m
# CONFIG_SGI_GRU_DEBUG is not setCONFIG_APDS9802ALS=mCONFIG_ISL29003=mCONFIG_ISL29020=mCONFIG_SENSORS_TSL2550=mCONFIG_SENSORS_BH1770=mCONFIG_SENSORS_APDS990X=m
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not setCONFIG_VMWARE_BALLOON=m
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_XILINX_SDFEC is not setCONFIG_PVPANIC=y
# CONFIG_C2PORT is not set
#
# EEPROM support
#CONFIG_EEPROM_AT24=m
# CONFIG_EEPROM_AT25 is not setCONFIG_EEPROM_LEGACY=mCONFIG_EEPROM_MAX6875=mCONFIG_EEPROM_93CX6=m
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_EEPROM_EE1004 is not set
# end of EEPROM support
CONFIG_CB710_CORE=m
# CONFIG_CB710_DEBUG is not setCONFIG_CB710_DEBUG_ASSUMPTIONS=y
#
# Texas Instruments shared transport line discipline #
# CONFIG_TI_ST is not set
# end of Texas Instruments shared transport line discipline
CONFIG_SENSORS_LIS3_I2C=mCONFIG_ALTERA_STAPL=mCONFIG_INTEL_MEI=mCONFIG_INTEL_MEI_ME=m
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_HDCP is not setCONFIG_VMWARE_VMCI=m
#
# Intel MIC & related support
#
# CONFIG_INTEL_MIC_BUS is not set
# CONFIG_SCIF_BUS is not set
# CONFIG_VOP_BUS is not set
# end of Intel MIC & related support
# CONFIG_GENWQE is not set
# CONFIG_ECHO is not set
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_RTSX_PCI is not set
# CONFIG_MISC_RTSX_USB is not set
# CONFIG_HABANA_AI is not set
# end of Misc devices
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_SCSI_MOD=yCONFIG_RAID_ATTRS=mCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=mCONFIG_CHR_DEV_ST=mCONFIG_BLK_DEV_SR=mCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=mCONFIG_CHR_DEV_SCH=mCONFIG_SCSI_ENCLOSURE=mCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=yCONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=mCONFIG_SCSI_ISCSI_ATTRS=mCONFIG_SCSI_SAS_ATTRS=mCONFIG_SCSI_SAS_LIBSAS=mCONFIG_SCSI_SAS_ATA=yCONFIG_SCSI_SAS_HOST_SMP=yCONFIG_SCSI_SRP_ATTRS=m
# end of SCSI Transports
CONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=mCONFIG_ISCSI_BOOT_SYSFS=mCONFIG_SCSI_CXGB3_ISCSI=mCONFIG_SCSI_CXGB4_ISCSI=mCONFIG_SCSI_BNX2_ISCSI=mCONFIG_SCSI_BNX2X_FCOE=mCONFIG_BE2ISCSI=m
# CONFIG_BLK_DEV_3W_XXXX_RAID is not setCONFIG_SCSI_HPSA=mCONFIG_SCSI_3W_9XXX=mCONFIG_SCSI_3W_SAS=m
# CONFIG_SCSI_ACARD is not setCONFIG_SCSI_AACRAID=m
# CONFIG_SCSI_AIC7XXX is not setCONFIG_SCSI_AIC79XX=mCONFIG_AIC79XX_CMDS_PER_DEVICE=4CONFIG_AIC79XX_RESET_DELAY_MS=15000
# CONFIG_AIC79XX_DEBUG_ENABLE is not setCONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set
# CONFIG_SCSI_AIC94XX is not setCONFIG_SCSI_MVSAS=m
# CONFIG_SCSI_MVSAS_DEBUG is not setCONFIG_SCSI_MVSAS_TASKLET=yCONFIG_SCSI_MVUMI=m
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not setCONFIG_SCSI_ARCMSR=m
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not setCONFIG_MEGARAID_SAS=mCONFIG_SCSI_MPT3SAS=mCONFIG_SCSI_MPT2SAS_MAX_SGE=128CONFIG_SCSI_MPT3SAS_MAX_SGE=128CONFIG_SCSI_MPT2SAS=m
# CONFIG_SCSI_SMARTPQI is not setCONFIG_SCSI_UFSHCD=mCONFIG_SCSI_UFSHCD_PCI=m
# CONFIG_SCSI_UFS_DWC_TC_PCI is not set
# CONFIG_SCSI_UFSHCD_PLATFORM is not set
# CONFIG_SCSI_UFS_BSG is not setCONFIG_SCSI_HPTIOP=m
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_MYRB is not set
# CONFIG_SCSI_MYRS is not setCONFIG_VMWARE_PVSCSI=m
# CONFIG_XEN_SCSI_FRONTEND is not setCONFIG_HYPERV_STORAGE=mCONFIG_LIBFC=mCONFIG_LIBFCOE=mCONFIG_FCOE=mCONFIG_FCOE_FNIC=m
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FDOMAIN_PCI is not set
# CONFIG_SCSI_GDTH is not setCONFIG_SCSI_ISCI=m
# CONFIG_SCSI_IPS is not setCONFIG_SCSI_INITIO=m
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not setCONFIG_SCSI_STEX=m
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not setCONFIG_SCSI_QLA_FC=mCONFIG_TCM_QLA2XXX=m
# CONFIG_TCM_QLA2XXX_DEBUG is not setCONFIG_SCSI_QLA_ISCSI=m
# CONFIG_QEDI is not set
# CONFIG_QEDF is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not setCONFIG_SCSI_DEBUG=mCONFIG_SCSI_PMCRAID=mCONFIG_SCSI_PM8001=m
# CONFIG_SCSI_BFA_FC is not setCONFIG_SCSI_VIRTIO=m
# CONFIG_SCSI_CHELSIO_FCOE is not setCONFIG_SCSI_DH=yCONFIG_SCSI_DH_RDAC=yCONFIG_SCSI_DH_HP_SW=yCONFIG_SCSI_DH_EMC=yCONFIG_SCSI_DH_ALUA=y
# end of SCSI device support
CONFIG_ATA=mCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not setCONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#CONFIG_SATA_AHCI=mCONFIG_SATA_MOBILE_LPM_POLICY=0CONFIG_SATA_AHCI_PLATFORM=m
# CONFIG_SATA_INIC162X is not setCONFIG_SATA_ACARD_AHCI=mCONFIG_SATA_SIL24=mCONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#CONFIG_PDC_ADMA=mCONFIG_SATA_QSTOR=mCONFIG_SATA_SX4=mCONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#CONFIG_ATA_PIIX=m
# CONFIG_SATA_DWC is not setCONFIG_SATA_MV=mCONFIG_SATA_NV=mCONFIG_SATA_PROMISE=mCONFIG_SATA_SIL=mCONFIG_SATA_SIS=mCONFIG_SATA_SVW=mCONFIG_SATA_ULI=mCONFIG_SATA_VIA=mCONFIG_SATA_VITESSE=m
#
# PATA SFF controllers with BMDMA
#CONFIG_PATA_ALI=mCONFIG_PATA_AMD=mCONFIG_PATA_ARTOP=mCONFIG_PATA_ATIIXP=mCONFIG_PATA_ATP867X=mCONFIG_PATA_CMD64X=m
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not setCONFIG_PATA_HPT366=mCONFIG_PATA_HPT37X=mCONFIG_PATA_HPT3X2N=mCONFIG_PATA_HPT3X3=m
# CONFIG_PATA_HPT3X3_DMA is not setCONFIG_PATA_IT8213=mCONFIG_PATA_IT821X=mCONFIG_PATA_JMICRON=mCONFIG_PATA_MARVELL=mCONFIG_PATA_NETCELL=mCONFIG_PATA_NINJA32=m
# CONFIG_PATA_NS87415 is not setCONFIG_PATA_OLDPIIX=m
# CONFIG_PATA_OPTIDMA is not setCONFIG_PATA_PDC2027X=mCONFIG_PATA_PDC_OLD=m
# CONFIG_PATA_RADISYS is not setCONFIG_PATA_RDC=mCONFIG_PATA_SCH=mCONFIG_PATA_SERVERWORKS=mCONFIG_PATA_SIL680=mCONFIG_PATA_SIS=mCONFIG_PATA_TOSHIBA=m
# CONFIG_PATA_TRIFLEX is not setCONFIG_PATA_VIA=m
# CONFIG_PATA_WINBOND is not set
#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set
#
# Generic fallback / legacy drivers
#CONFIG_PATA_ACPI=mCONFIG_ATA_GENERIC=m
# CONFIG_PATA_LEGACY is not set CONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=yCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=mCONFIG_MD_MULTIPATH=mCONFIG_MD_FAULTY=m
# CONFIG_MD_CLUSTER is not set
# CONFIG_BCACHE is not set CONFIG_BLK_DEV_DM_BUILTIN=y CONFIG_BLK_DEV_DM=mCONFIG_DM_DEBUG=yCONFIG_DM_BUFIO=m
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set CONFIG_DM_BIO_PRISON=m CONFIG_DM_PERSISTENT_DATA=m
# CONFIG_DM_UNSTRIPED is not set CONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=m CONFIG_DM_THIN_PROVISIONING=m CONFIG_DM_CACHE=mCONFIG_DM_CACHE_SMQ=m
# CONFIG_DM_WRITECACHE is not set CONFIG_DM_ERA=m
# CONFIG_DM_CLONE is not set CONFIG_DM_MIRROR=m CONFIG_DM_LOG_USERSPACE=mCONFIG_DM_RAID=mCONFIG_DM_ZERO=mCONFIG_DM_MULTIPATH=m CONFIG_DM_MULTIPATH_QL=m CONFIG_DM_MULTIPATH_ST=mCONFIG_DM_DELAY=m
# CONFIG_DM_DUST is not set CONFIG_DM_UEVENT=yCONFIG_DM_FLAKEY=mCONFIG_DM_VERITY=m
# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set # CONFIG_DM_VERITY_FEC is not set CONFIG_DM_SWITCH=mCONFIG_DM_LOG_WRITES=m
# CONFIG_DM_INTEGRITY is not set
# CONFIG_DM_ZONED is not set CONFIG_TARGET_CORE=mCONFIG_TCM_IBLOCK=mCONFIG_TCM_FILEIO=mCONFIG_TCM_PSCSI=mCONFIG_TCM_USER2=m CONFIG_LOOPBACK_TARGET=mCONFIG_TCM_FC=mCONFIG_ISCSI_TARGET=m CONFIG_ISCSI_TARGET_CXGB4=m
# CONFIG_SBP_TARGET is not set CONFIG_FUSION=yCONFIG_FUSION_SPI=m
# CONFIG_FUSION_FC is not set CONFIG_FUSION_SAS=m CONFIG_FUSION_MAX_SGE=128 CONFIG_FUSION_CTL=m CONFIG_FUSION_LOGGING=y
#
# IEEE 1394 (FireWire) support
#CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=mCONFIG_FIREWIRE_SBP2=mCONFIG_FIREWIRE_NET=m
# CONFIG_FIREWIRE_NOSY is not set
# end of IEEE 1394 (FireWire) support
CONFIG_MACINTOSH_DRIVERS=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_NETDEVICES=yCONFIG_MII=yCONFIG_NET_CORE=yCONFIG_BONDING=mCONFIG_DUMMY=m
# CONFIG_WIREGUARD is not set
# CONFIG_EQUALIZER is not setCONFIG_NET_FC=yCONFIG_IFB=mCONFIG_NET_TEAM=mCONFIG_NET_TEAM_MODE_BROADCAST=mCONFIG_NET_TEAM_MODE_ROUNDROBIN=mCONFIG_NET_TEAM_MODE_RANDOM=mCONFIG_NET_TEAM_MODE_ACTIVEBACKUP=mCONFIG_NET_TEAM_MODE_LOADBALANCE=mCONFIG_MACVLAN=mCONFIG_MACVTAP=m
# CONFIG_IPVLAN is not setCONFIG_VXLAN=mCONFIG_GENEVE=m
# CONFIG_GTP is not setCONFIG_MACSEC=yCONFIG_NETCONSOLE=mCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_NTB_NETDEV=mCONFIG_TUN=mCONFIG_TAP=m
# CONFIG_TUN_VNET_CROSS_LE is not setCONFIG_VETH=mCONFIG_VIRTIO_NET=mCONFIG_NLMON=mCONFIG_NET_VRF=yCONFIG_VSOCKMON=m
# CONFIG_ARCNET is not set
# CONFIG_ATM_DRIVERS is not set
#
# Distributed Switch Architecture drivers
#
# end of Distributed Switch Architecture drivers
CONFIG_ETHERNET=yCONFIG_MDIO=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not setCONFIG_NET_VENDOR_AGERE=y
# CONFIG_ET131X is not setCONFIG_NET_VENDOR_ALACRITECH=y
# CONFIG_SLICOSS is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_ALTERA_TSE is not setCONFIG_NET_VENDOR_AMAZON=yCONFIG_ENA_ETHERNET=mCONFIG_NET_VENDOR_AMD=yCONFIG_AMD8111_ETH=mCONFIG_PCNET32=mCONFIG_AMD_XGBE=m
# CONFIG_AMD_XGBE_DCB is not setCONFIG_AMD_XGBE_HAVE_ECC=yCONFIG_NET_VENDOR_AQUANTIA=yCONFIG_AQTION=mCONFIG_NET_VENDOR_ARC=yCONFIG_NET_VENDOR_ATHEROS=yCONFIG_ATL2=mCONFIG_ATL1=mCONFIG_ATL1E=mCONFIG_ATL1C=mCONFIG_ALX=mCONFIG_NET_VENDOR_AURORA=y
# CONFIG_AURORA_NB8800 is not setCONFIG_NET_VENDOR_BROADCOM=yCONFIG_B44=mCONFIG_B44_PCI_AUTOSELECT=yCONFIG_B44_PCICORE_AUTOSELECT=yCONFIG_B44_PCI=y
# CONFIG_BCMGENET is not setCONFIG_BNX2=mCONFIG_CNIC=mCONFIG_TIGON3=yCONFIG_TIGON3_HWMON=yCONFIG_BNX2X=mCONFIG_BNX2X_SRIOV=y
# CONFIG_SYSTEMPORT is not setCONFIG_BNXT=mCONFIG_BNXT_SRIOV=yCONFIG_BNXT_FLOWER_OFFLOAD=yCONFIG_BNXT_DCB=yCONFIG_BNXT_HWMON=yCONFIG_NET_VENDOR_BROCADE=yCONFIG_BNA=mCONFIG_NET_VENDOR_CADENCE=yCONFIG_MACB=mCONFIG_MACB_USE_HWSTAMP=y
# CONFIG_MACB_PCI is not setCONFIG_NET_VENDOR_CAVIUM=y
# CONFIG_THUNDER_NIC_PF is not set
# CONFIG_THUNDER_NIC_VF is not set
# CONFIG_THUNDER_NIC_BGX is not set
# CONFIG_THUNDER_NIC_RGX is not setCONFIG_CAVIUM_PTP=yCONFIG_LIQUIDIO=mCONFIG_LIQUIDIO_VF=mCONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not setCONFIG_CHELSIO_T3=mCONFIG_CHELSIO_T4=m
# CONFIG_CHELSIO_T4_DCB is not setCONFIG_CHELSIO_T4VF=mCONFIG_CHELSIO_LIB=mCONFIG_NET_VENDOR_CISCO=yCONFIG_ENIC=mCONFIG_NET_VENDOR_CORTINA=y
# CONFIG_CX_ECAT is not setCONFIG_DNET=mCONFIG_NET_VENDOR_DEC=yCONFIG_NET_TULIP=yCONFIG_DE2104X=mCONFIG_DE2104X_DSL=0CONFIG_TULIP=y
# CONFIG_TULIP_MWI is not setCONFIG_TULIP_MMIO=y
# CONFIG_TULIP_NAPI is not setCONFIG_DE4X5=mCONFIG_WINBOND_840=mCONFIG_DM9102=mCONFIG_ULI526X=mCONFIG_PCMCIA_XIRCOM=m
# CONFIG_NET_VENDOR_DLINK is not setCONFIG_NET_VENDOR_EMULEX=yCONFIG_BE2NET=mCONFIG_BE2NET_HWMON=yCONFIG_BE2NET_BE2=yCONFIG_BE2NET_BE3=yCONFIG_BE2NET_LANCER=yCONFIG_BE2NET_SKYHAWK=yCONFIG_NET_VENDOR_EZCHIP=yCONFIG_NET_VENDOR_GOOGLE=y
# CONFIG_GVE is not setCONFIG_NET_VENDOR_HUAWEI=y
# CONFIG_HINIC is not set
# CONFIG_NET_VENDOR_I825XX is not setCONFIG_NET_VENDOR_INTEL=y
# CONFIG_E100 is not setCONFIG_E1000=yCONFIG_E1000E=yCONFIG_E1000E_HWTS=yCONFIG_IGB=yCONFIG_IGB_HWMON=yCONFIG_IGBVF=m
# CONFIG_IXGB is not setCONFIG_IXGBE=yCONFIG_IXGBE_HWMON=yCONFIG_IXGBE_DCB=yCONFIG_IXGBEVF=mCONFIG_I40E=yCONFIG_I40E_DCB=yCONFIG_IAVF=mCONFIG_I40EVF=m
# CONFIG_ICE is not setCONFIG_FM10K=m
# CONFIG_IGC is not setCONFIG_JME=mCONFIG_NET_VENDOR_MARVELL=yCONFIG_MVMDIO=mCONFIG_SKGE=y
# CONFIG_SKGE_DEBUG is not setCONFIG_SKGE_GENESIS=yCONFIG_SKY2=m
# CONFIG_SKY2_DEBUG is not setCONFIG_NET_VENDOR_MELLANOX=yCONFIG_MLX4_EN=mCONFIG_MLX4_EN_DCB=yCONFIG_MLX4_CORE=mCONFIG_MLX4_DEBUG=yCONFIG_MLX4_CORE_GEN2=y
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
# CONFIG_MLXFW is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not setCONFIG_NET_VENDOR_MICROSEMI=y
# CONFIG_MSCC_OCELOT_SWITCH is not setCONFIG_NET_VENDOR_MYRI=yCONFIG_MYRI10GE=mCONFIG_MYRI10GE_DCA=y
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not setCONFIG_NET_VENDOR_NETERION=y
# CONFIG_S2IO is not set
# CONFIG_VXGE is not setCONFIG_NET_VENDOR_NETRONOME=yCONFIG_NFP=mCONFIG_NFP_APP_FLOWER=yCONFIG_NFP_APP_ABM_NIC=y
# CONFIG_NFP_DEBUG is not setCONFIG_NET_VENDOR_NI=y
# CONFIG_NI_XGE_MANAGEMENT_ENET is not set
# CONFIG_NET_VENDOR_NVIDIA is not setCONFIG_NET_VENDOR_OKI=yCONFIG_ETHOC=mCONFIG_NET_VENDOR_PACKET_ENGINES=y
# CONFIG_HAMACHI is not setCONFIG_YELLOWFIN=mCONFIG_NET_VENDOR_PENSANDO=y
# CONFIG_IONIC is not setCONFIG_NET_VENDOR_QLOGIC=yCONFIG_QLA3XXX=mCONFIG_QLCNIC=mCONFIG_QLCNIC_SRIOV=yCONFIG_QLCNIC_DCB=yCONFIG_QLCNIC_HWMON=yCONFIG_NETXEN_NIC=mCONFIG_QED=mCONFIG_QED_SRIOV=yCONFIG_QEDE=mCONFIG_NET_VENDOR_QUALCOMM=y
# CONFIG_QCOM_EMAC is not set
# CONFIG_RMNET is not set
# CONFIG_NET_VENDOR_RDC is not setCONFIG_NET_VENDOR_REALTEK=y
# CONFIG_ATP is not setCONFIG_8139CP=yCONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not setCONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not setCONFIG_R8169=yCONFIG_NET_VENDOR_RENESAS=yCONFIG_NET_VENDOR_ROCKER=yCONFIG_ROCKER=mCONFIG_NET_VENDOR_SAMSUNG=y
# CONFIG_SXGBE_ETH is not set
# CONFIG_NET_VENDOR_SEEQ is not setCONFIG_NET_VENDOR_SOLARFLARE=yCONFIG_SFC=mCONFIG_SFC_MTD=yCONFIG_SFC_MCDI_MON=yCONFIG_SFC_SRIOV=yCONFIG_SFC_MCDI_LOGGING=yCONFIG_SFC_FALCON=mCONFIG_SFC_FALCON_MTD=y
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not setCONFIG_NET_VENDOR_SMSC=yCONFIG_EPIC100=m
# CONFIG_SMSC911X is not setCONFIG_SMSC9420=mCONFIG_NET_VENDOR_SOCIONEXT=y
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not setCONFIG_NET_VENDOR_SYNOPSYS=y
# CONFIG_DWC_XLGMAC is not set
# CONFIG_NET_VENDOR_TEHUTI is not setCONFIG_NET_VENDOR_TI=y
# CONFIG_TI_CPSW_PHY_SEL is not setCONFIG_TLAN=m
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not setCONFIG_NET_VENDOR_XILINX=y
# CONFIG_XILINX_AXI_EMAC is not set
# CONFIG_XILINX_LL_TEMAC is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not setCONFIG_MDIO_DEVICE=yCONFIG_MDIO_BUS=y
# CONFIG_MDIO_BCM_UNIMAC is not setCONFIG_MDIO_BITBANG=m
# CONFIG_MDIO_GPIO is not set
# CONFIG_MDIO_MSCC_MIIM is not set
# CONFIG_MDIO_THUNDER is not setCONFIG_PHYLINK=mCONFIG_PHYLIB=yCONFIG_SWPHY=y
# CONFIG_LED_TRIGGER_PHY is not set
#
# MII PHY device drivers
#
# CONFIG_SFP is not set
# CONFIG_ADIN_PHY is not setCONFIG_AMD_PHY=m
# CONFIG_AQUANTIA_PHY is not set
# CONFIG_AX88796B_PHY is not set
# CONFIG_BCM7XXX_PHY is not setCONFIG_BCM87XX_PHY=mCONFIG_BCM_NET_PHYLIB=mCONFIG_BROADCOM_PHY=m
# CONFIG_BCM84881_PHY is not setCONFIG_CICADA_PHY=m
# CONFIG_CORTINA_PHY is not setCONFIG_DAVICOM_PHY=m
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83TC811_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_DP83869_PHY is not setCONFIG_FIXED_PHY=yCONFIG_ICPLUS_PHY=m
# CONFIG_INTEL_XWAY_PHY is not setCONFIG_LSI_ET1011C_PHY=mCONFIG_LXT_PHY=mCONFIG_MARVELL_PHY=m
# CONFIG_MARVELL_10G_PHY is not setCONFIG_MICREL_PHY=m
# CONFIG_MICROCHIP_PHY is not set
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not setCONFIG_NATIONAL_PHY=m
# CONFIG_NXP_TJA11XX_PHY is not setCONFIG_QSEMI_PHY=mCONFIG_REALTEK_PHY=y
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not setCONFIG_SMSC_PHY=mCONFIG_STE10XP=m
# CONFIG_TERANETICS_PHY is not setCONFIG_VITESSE_PHY=m
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_MICREL_KS8995MA is not set
# CONFIG_PLIP is not setCONFIG_PPP=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPPOATM=mCONFIG_PPPOE=mCONFIG_PPTP=mCONFIG_PPPOL2TP=mCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_SLIP=mCONFIG_SLHC=mCONFIG_SLIP_COMPRESSED=yCONFIG_SLIP_SMART=y
# CONFIG_SLIP_MODE_SLIP6 is not setCONFIG_USB_NET_DRIVERS=yCONFIG_USB_CATC=yCONFIG_USB_KAWETH=yCONFIG_USB_PEGASUS=yCONFIG_USB_RTL8150=yCONFIG_USB_RTL8152=m
# CONFIG_USB_LAN78XX is not setCONFIG_USB_USBNET=yCONFIG_USB_NET_AX8817X=yCONFIG_USB_NET_AX88179_178A=mCONFIG_USB_NET_CDCETHER=yCONFIG_USB_NET_CDC_EEM=yCONFIG_USB_NET_CDC_NCM=mCONFIG_USB_NET_HUAWEI_CDC_NCM=mCONFIG_USB_NET_CDC_MBIM=mCONFIG_USB_NET_DM9601=y
# CONFIG_USB_NET_SR9700 is not set
# CONFIG_USB_NET_SR9800 is not setCONFIG_USB_NET_SMSC75XX=yCONFIG_USB_NET_SMSC95XX=yCONFIG_USB_NET_GL620A=yCONFIG_USB_NET_NET1080=yCONFIG_USB_NET_PLUSB=yCONFIG_USB_NET_MCS7830=yCONFIG_USB_NET_RNDIS_HOST=yCONFIG_USB_NET_CDC_SUBSET_ENABLE=yCONFIG_USB_NET_CDC_SUBSET=yCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=yCONFIG_USB_NET_CX82310_ETH=mCONFIG_USB_NET_KALMIA=mCONFIG_USB_NET_QMI_WWAN=mCONFIG_USB_HSO=mCONFIG_USB_NET_INT51X1=yCONFIG_USB_IPHETH=yCONFIG_USB_SIERRA_NET=yCONFIG_USB_VL600=m
# CONFIG_USB_NET_CH9200 is not set
# CONFIG_USB_NET_AQC111 is not setCONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not setCONFIG_WLAN_VENDOR_ADMTEK=y
# CONFIG_ADM8211 is not setCONFIG_ATH_COMMON=mCONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not setCONFIG_ATH9K_HW=mCONFIG_ATH9K_COMMON=mCONFIG_ATH9K_BTCOEX_SUPPORT=y
# CONFIG_ATH9K is not setCONFIG_ATH9K_HTC=m
# CONFIG_ATH9K_HTC_DEBUGFS is not set
# CONFIG_CARL9170 is not set
# CONFIG_ATH6KL is not set
# CONFIG_AR5523 is not set
# CONFIG_WIL6210 is not set
# CONFIG_ATH10K is not set
# CONFIG_WCN36XX is not setCONFIG_WLAN_VENDOR_ATMEL=y
# CONFIG_ATMEL is not set
# CONFIG_AT76C50X_USB is not setCONFIG_WLAN_VENDOR_BROADCOM=y
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_BRCMSMAC is not set
# CONFIG_BRCMFMAC is not setCONFIG_WLAN_VENDOR_CISCO=y
# CONFIG_AIRO is not setCONFIG_WLAN_VENDOR_INTEL=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not setCONFIG_IWLEGACY=mCONFIG_IWL4965=mCONFIG_IWL3945=m
#
# iwl3945 / iwl4965 Debugging Options # CONFIG_IWLEGACY_DEBUG=y CONFIG_IWLEGACY_DEBUGFS=y # end of iwl3945 / iwl4965 Debugging Options
CONFIG_IWLWIFI=mCONFIG_IWLWIFI_LEDS=yCONFIG_IWLDVM=mCONFIG_IWLMVM=mCONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
#
# Debugging Options
#
# CONFIG_IWLWIFI_DEBUG is not setCONFIG_IWLWIFI_DEBUGFS=y
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
# end of Debugging Options
CONFIG_WLAN_VENDOR_INTERSIL=y
# CONFIG_HOSTAP is not set
# CONFIG_HERMES is not set
# CONFIG_P54_COMMON is not set
# CONFIG_PRISM54 is not setCONFIG_WLAN_VENDOR_MARVELL=y
# CONFIG_LIBERTAS is not set
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_MWIFIEX is not set
# CONFIG_MWL8K is not setCONFIG_WLAN_VENDOR_MEDIATEK=y
# CONFIG_MT7601U is not set
# CONFIG_MT76x0U is not set
# CONFIG_MT76x0E is not set
# CONFIG_MT76x2E is not set
# CONFIG_MT76x2U is not set
# CONFIG_MT7603E is not set
# CONFIG_MT7615E is not setCONFIG_WLAN_VENDOR_RALINK=y
# CONFIG_RT2X00 is not setCONFIG_WLAN_VENDOR_REALTEK=y
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_RTL_CARDS is not set
# CONFIG_RTL8XXXU is not set
# CONFIG_RTW88 is not setCONFIG_WLAN_VENDOR_RSI=y
# CONFIG_RSI_91X is not setCONFIG_WLAN_VENDOR_ST=y
# CONFIG_CW1200 is not setCONFIG_WLAN_VENDOR_TI=y
# CONFIG_WL1251 is not set
# CONFIG_WL12XX is not set
# CONFIG_WL18XX is not set
# CONFIG_WLCORE is not setCONFIG_WLAN_VENDOR_ZYDAS=y
# CONFIG_USB_ZD1201 is not set
# CONFIG_ZD1211RW is not setCONFIG_WLAN_VENDOR_QUANTENNA=y
# CONFIG_QTNFMAC_PCIE is not setCONFIG_MAC80211_HWSIM=m
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_VIRT_WIFI is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #CONFIG_WAN=y
# CONFIG_LANMEDIA is not setCONFIG_HDLC=mCONFIG_HDLC_RAW=m
# CONFIG_HDLC_RAW_ETH is not set CONFIG_HDLC_CISCO=mCONFIG_HDLC_FR=mCONFIG_HDLC_PPP=m
#
# X.25/LAPB support is disabled
#
# CONFIG_PCI200SYN is not set
# CONFIG_WANXL is not set
# CONFIG_PC300TOO is not set
# CONFIG_FARSYNC is not setCONFIG_DLCI=mCONFIG_DLCI_MAX=8
# CONFIG_SBNI is not setCONFIG_IEEE802154_DRIVERS=mCONFIG_IEEE802154_FAKELB=m
# CONFIG_IEEE802154_AT86RF230 is not set
# CONFIG_IEEE802154_MRF24J40 is not set
# CONFIG_IEEE802154_CC2520 is not set
# CONFIG_IEEE802154_ATUSB is not set
# CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set
# CONFIG_IEEE802154_MCR20A is not set
# CONFIG_IEEE802154_HWSIM is not setCONFIG_XEN_NETDEV_FRONTEND=mCONFIG_VMXNET3=mCONFIG_FUJITSU_ES=mCONFIG_HYPERV_NET=mCONFIG_NETDEVSIM=mCONFIG_NET_FAILOVER=mCONFIG_ISDN=yCONFIG_ISDN_CAPI=yCONFIG_CAPI_TRACE=yCONFIG_ISDN_CAPI_MIDDLEWARE=yCONFIG_MISDN=mCONFIG_MISDN_DSP=mCONFIG_MISDN_L1OIP=m
#
# mISDN hardware drivers
#CONFIG_MISDN_HFCPCI=mCONFIG_MISDN_HFCMULTI=mCONFIG_MISDN_HFCUSB=mCONFIG_MISDN_AVMFRITZ=mCONFIG_MISDN_SPEEDFAX=mCONFIG_MISDN_INFINEON=mCONFIG_MISDN_W6692=mCONFIG_MISDN_NETJET=mCONFIG_MISDN_HDLC=mCONFIG_MISDN_IPAC=mCONFIG_MISDN_ISAR=mCONFIG_NVM=y
# CONFIG_NVM_PBLK is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_LEDS=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=mCONFIG_INPUT_SPARSEKMAP=m
# CONFIG_INPUT_MATRIXKMAP is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
# CONFIG_KEYBOARD_APPLESPI is not setCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1050 is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
# CONFIG_KEYBOARD_XTKBD is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_BYD=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=yCONFIG_MOUSE_PS2_CYPRESS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_ELANTECH_SMBUS=yCONFIG_MOUSE_PS2_SENTELIC=y
# CONFIG_MOUSE_PS2_TOUCHKIT is not setCONFIG_MOUSE_PS2_FOCALTECH=yCONFIG_MOUSE_PS2_VMMOUSE=yCONFIG_MOUSE_PS2_SMBUS=yCONFIG_MOUSE_SERIAL=mCONFIG_MOUSE_APPLETOUCH=mCONFIG_MOUSE_BCM5974=mCONFIG_MOUSE_CYAPA=m
# CONFIG_MOUSE_ELAN_I2C is not setCONFIG_MOUSE_VSXXXAA=m
# CONFIG_MOUSE_GPIO is not setCONFIG_MOUSE_SYNAPTICS_I2C=mCONFIG_MOUSE_SYNAPTICS_USB=m
# CONFIG_INPUT_JOYSTICK is not setCONFIG_INPUT_TABLET=yCONFIG_TABLET_USB_ACECAD=mCONFIG_TABLET_USB_AIPTEK=mCONFIG_TABLET_USB_GTCO=m
# CONFIG_TABLET_USB_HANWANG is not setCONFIG_TABLET_USB_KBTAB=m
# CONFIG_TABLET_USB_PEGASUS is not set
# CONFIG_TABLET_SERIAL_WACOM4 is not setCONFIG_INPUT_TOUCHSCREEN=yCONFIG_TOUCHSCREEN_PROPERTIES=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ADC is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_BU21029 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_S6SY761 is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_EKTF2127 is not set
# CONFIG_TOUCHSCREEN_ELAN is not setCONFIG_TOUCHSCREEN_ELO=mCONFIG_TOUCHSCREEN_WACOM_W8001=mCONFIG_TOUCHSCREEN_WACOM_I2C=m
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
# CONFIG_TOUCHSCREEN_WM97XX is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2004 is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_RM_TS is not set
# CONFIG_TOUCHSCREEN_SILEAD is not set
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMFTS is not set
# CONFIG_TOUCHSCREEN_SUR40 is not set
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZET6223 is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set
# CONFIG_TOUCHSCREEN_IQS5XX is not setCONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_MSM_VIBRATOR is not setCONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_MMA8450 is not setCONFIG_INPUT_APANEL=mCONFIG_INPUT_GP2A=m
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not set
# CONFIG_INPUT_GPIO_VIBRA is not setCONFIG_INPUT_ATLAS_BTNS=mCONFIG_INPUT_ATI_REMOTE2=mCONFIG_INPUT_KEYSPAN_REMOTE=m
# CONFIG_INPUT_KXTJ9 is not setCONFIG_INPUT_POWERMATE=mCONFIG_INPUT_YEALINK=mCONFIG_INPUT_CM109=mCONFIG_INPUT_UINPUT=m
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_PWM_BEEPER is not set
# CONFIG_INPUT_PWM_VIBRA is not setCONFIG_INPUT_GPIO_ROTARY_ENCODER=m
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IMS_PCU is not set
# CONFIG_INPUT_CMA3000 is not setCONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not setCONFIG_RMI4_CORE=m
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not setCONFIG_RMI4_SMB=mCONFIG_RMI4_F03=yCONFIG_RMI4_F03_SERIO=mCONFIG_RMI4_2D_SENSOR=yCONFIG_RMI4_F11=yCONFIG_RMI4_F12=yCONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_ARCH_MIGHT_HAVE_PC_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not setCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=mCONFIG_SERIO_ALTERA_PS2=m
# CONFIG_SERIO_PS2MULT is not setCONFIG_SERIO_ARC_PS2=mCONFIG_HYPERV_KEYBOARD=m
# CONFIG_SERIO_GPIO_PS2 is not set
# CONFIG_USERIO is not set
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports # end of Input device support
#
# Character devices
#CONFIG_TTY=yCONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not setCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_ROCKETPORT is not setCONFIG_CYCLADES=m
# CONFIG_CYZ_INTR is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not setCONFIG_SYNCLINK=mCONFIG_SYNCLINKMP=mCONFIG_SYNCLINK_GT=mCONFIG_NOZOMI=m
# CONFIG_ISI is not setCONFIG_N_HDLC=mCONFIG_N_GSM=m
# CONFIG_TRACE_SINK is not set
# CONFIG_NULL_TTY is not setCONFIG_LDISC_AUTOLOAD=yCONFIG_DEVMEM=y
# CONFIG_DEVKMEM is not set
#
# Serial drivers
#CONFIG_SERIAL_EARLYCON=y CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set # CONFIG_SERIAL_8250_FINTEK is not set CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_DMA=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_EXAR=y CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_8250_DWLIB=y CONFIG_SERIAL_8250_DW=y
# CONFIG_SERIAL_8250_RT288X is not set CONFIG_SERIAL_8250_LPSS=y CONFIG_SERIAL_8250_MID=y
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_UARTLITE is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_JSM=m
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_IFX6X60 is not setCONFIG_SERIAL_ARC=mCONFIG_SERIAL_ARC_NR_PORTS=1
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_FSL_LINFLEXUART is not set
# end of Serial drivers
CONFIG_SERIAL_MCTRL_GPIO=y
# CONFIG_SERIAL_DEV_BUS is not set
# CONFIG_TTY_PRINTK is not setCONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not setCONFIG_PPDEV=mCONFIG_HVC_DRIVER=yCONFIG_HVC_IRQ=yCONFIG_HVC_XEN=yCONFIG_HVC_XEN_FRONTEND=yCONFIG_VIRTIO_CONSOLE=yCONFIG_IPMI_HANDLER=mCONFIG_IPMI_DMI_DECODE=yCONFIG_IPMI_PLAT_DATA=y
# CONFIG_IPMI_PANIC_EVENT is not setCONFIG_IPMI_DEVICE_INTERFACE=mCONFIG_IPMI_SI=mCONFIG_IPMI_SSIF=mCONFIG_IPMI_WATCHDOG=mCONFIG_IPMI_POWEROFF=mCONFIG_HW_RANDOM=yCONFIG_HW_RANDOM_TIMERIOMEM=mCONFIG_HW_RANDOM_INTEL=mCONFIG_HW_RANDOM_AMD=mCONFIG_HW_RANDOM_VIA=mCONFIG_HW_RANDOM_VIRTIO=yCONFIG_NVRAM=y
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not setCONFIG_RAW_DRIVER=yCONFIG_MAX_RAW_DEVS=8192CONFIG_HPET=yCONFIG_HPET_MMAP=y
# CONFIG_HPET_MMAP_DEFAULT is not setCONFIG_HANGCHECK_TIMER=mCONFIG_UV_MMTIMER=mCONFIG_TCG_TPM=yCONFIG_HW_RANDOM_TPM=yCONFIG_TCG_TIS_CORE=yCONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not setCONFIG_TCG_TIS_I2C_ATMEL=mCONFIG_TCG_TIS_I2C_INFINEON=mCONFIG_TCG_TIS_I2C_NUVOTON=mCONFIG_TCG_NSC=mCONFIG_TCG_ATMEL=mCONFIG_TCG_INFINEON=m
# CONFIG_TCG_XEN is not setCONFIG_TCG_CRB=y
# CONFIG_TCG_VTPM_PROXY is not setCONFIG_TCG_TIS_ST33ZP24=mCONFIG_TCG_TIS_ST33ZP24_I2C=m
# CONFIG_TCG_TIS_ST33ZP24_SPI is not setCONFIG_TELCLOCK=mCONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set
# end of Character devices
# CONFIG_RANDOM_TRUST_CPU is not set
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
#
# I2C support
#CONFIG_I2C=yCONFIG_ACPI_I2C_OPREGION=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=mCONFIG_I2C_MUX=m
#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_LTC4306 is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
# CONFIG_I2C_MUX_REG is not set
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support
CONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_SMBUS=mCONFIG_I2C_ALGOBIT=yCONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not setCONFIG_I2C_AMD756=mCONFIG_I2C_AMD756_S4882=mCONFIG_I2C_AMD8111=m
# CONFIG_I2C_AMD_MP2 is not setCONFIG_I2C_I801=mCONFIG_I2C_ISCH=mCONFIG_I2C_ISMT=mCONFIG_I2C_PIIX4=mCONFIG_I2C_NFORCE2=mCONFIG_I2C_NFORCE2_S4985=m
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not setCONFIG_I2C_SIS96X=mCONFIG_I2C_VIA=mCONFIG_I2C_VIAPRO=m
#
# ACPI drivers
#CONFIG_I2C_SCMI=m
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_CBUS_GPIO is not set CONFIG_I2C_DESIGNWARE_CORE=m CONFIG_I2C_DESIGNWARE_PLATFORM=m
# CONFIG_I2C_DESIGNWARE_SLAVE is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set CONFIG_I2C_PCA_PLATFORM=mCONFIG_I2C_SIMTEC=m
# CONFIG_I2C_XILINX is not set
#
# External I2C/SMBus adapter drivers
#CONFIG_I2C_DIOLAN_U2C=mCONFIG_I2C_PARPORT=m
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not setCONFIG_I2C_TINY_USB=mCONFIG_I2C_VIPERBOARD=m
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_MLXCPLD is not set
# end of I2C Hardware Bus support
CONFIG_I2C_STUB=m
# CONFIG_I2C_SLAVE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# end of I2C support
# CONFIG_I3C is not setCONFIG_SPI=y
# CONFIG_SPI_DEBUG is not setCONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set
#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_DESIGNWARE is not set
# CONFIG_SPI_NXP_FLEXSPI is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_OC_TINY is not setCONFIG_SPI_PXA2XX=mCONFIG_SPI_PXA2XX_PCI=m
# CONFIG_SPI_ROCKCHIP is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_ZYNQMP_GQSPI is not set
#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not setCONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not setCONFIG_PPS_CLIENT_LDISC=mCONFIG_PPS_CLIENT_PARPORT=mCONFIG_PPS_CLIENT_GPIO=m
#
# PPS generators support
#
#
# PTP clock support
#CONFIG_PTP_1588_CLOCK=yCONFIG_DP83640_PHY=m
# CONFIG_PTP_1588_CLOCK_INES is not setCONFIG_PTP_1588_CLOCK_KVM=m
# CONFIG_PTP_1588_CLOCK_IDTCM is not set
# end of PTP clock support
CONFIG_PINCTRL=yCONFIG_PINMUX=yCONFIG_PINCONF=yCONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not setCONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_MCP23S08 is not set
# CONFIG_PINCTRL_SX150X is not setCONFIG_PINCTRL_BAYTRAIL=y
# CONFIG_PINCTRL_CHERRYVIEW is not set
# CONFIG_PINCTRL_LYNXPOINT is not setCONFIG_PINCTRL_INTEL=m
# CONFIG_PINCTRL_BROXTON is not setCONFIG_PINCTRL_CANNONLAKE=m
# CONFIG_PINCTRL_CEDARFORK is not setCONFIG_PINCTRL_DENVERTON=mCONFIG_PINCTRL_GEMINILAKE=m
# CONFIG_PINCTRL_ICELAKE is not setCONFIG_PINCTRL_LEWISBURG=mCONFIG_PINCTRL_SUNRISEPOINT=m
# CONFIG_PINCTRL_TIGERLAKE is not setCONFIG_GPIOLIB=yCONFIG_GPIOLIB_FASTPATH_LIMIT=512CONFIG_GPIO_ACPI=yCONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not setCONFIG_GPIO_SYSFS=yCONFIG_GPIO_GENERIC=m
#
# Memory mapped GPIO drivers
#CONFIG_GPIO_AMDPT=m
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_EXAR is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not setCONFIG_GPIO_ICH=m
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_XILINX is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped GPIO drivers
#
# Port-mapped I/O GPIO drivers
#
# CONFIG_GPIO_F7188X is not set
# CONFIG_GPIO_IT87 is not set
# CONFIG_GPIO_SCH is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_WINBOND is not set
# CONFIG_GPIO_WS16C48 is not set
# end of Port-mapped I/O GPIO drivers
#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders
#
# MFD GPIO expanders
#
# end of MFD GPIO expanders
#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_PCI_IDIO_16 is not set
# CONFIG_GPIO_PCIE_IDIO_24 is not set
# CONFIG_GPIO_RDC321X is not set
# end of PCI GPIO expanders
#
# SPI GPIO expanders
#
# CONFIG_GPIO_MAX3191X is not set
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_PISOSR is not set
# CONFIG_GPIO_XRA1403 is not set
# end of SPI GPIO expanders
#
# USB GPIO expanders
#CONFIG_GPIO_VIPERBOARD=m
# end of USB GPIO expanders
CONFIG_GPIO_MOCKUP=y
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not setCONFIG_POWER_RESET=y
# CONFIG_POWER_RESET_RESTART is not setCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not setCONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_PDA_POWER is not set
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_LT3651 is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_BQ24257 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_BQ25890 is not setCONFIG_CHARGER_SMB347=m
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_CHARGER_RT9455 is not setCONFIG_HWMON=yCONFIG_HWMON_VID=m
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#CONFIG_SENSORS_ABITUGURU=mCONFIG_SENSORS_ABITUGURU3=m
# CONFIG_SENSORS_AD7314 is not setCONFIG_SENSORS_AD7414=mCONFIG_SENSORS_AD7418=mCONFIG_SENSORS_ADM1021=mCONFIG_SENSORS_ADM1025=mCONFIG_SENSORS_ADM1026=mCONFIG_SENSORS_ADM1029=mCONFIG_SENSORS_ADM1031=m
# CONFIG_SENSORS_ADM1177 is not setCONFIG_SENSORS_ADM9240=mCONFIG_SENSORS_ADT7X10=m
# CONFIG_SENSORS_ADT7310 is not setCONFIG_SENSORS_ADT7410=mCONFIG_SENSORS_ADT7411=mCONFIG_SENSORS_ADT7462=mCONFIG_SENSORS_ADT7470=mCONFIG_SENSORS_ADT7475=m
# CONFIG_SENSORS_AS370 is not setCONFIG_SENSORS_ASC7621=mCONFIG_SENSORS_K8TEMP=mCONFIG_SENSORS_K10TEMP=mCONFIG_SENSORS_FAM15H_POWER=mCONFIG_SENSORS_APPLESMC=mCONFIG_SENSORS_ASB100=m
# CONFIG_SENSORS_ASPEED is not setCONFIG_SENSORS_ATXP1=m
# CONFIG_SENSORS_DRIVETEMP is not setCONFIG_SENSORS_DS620=mCONFIG_SENSORS_DS1621=mCONFIG_SENSORS_DELL_SMM=mCONFIG_SENSORS_I5K_AMB=mCONFIG_SENSORS_F71805F=mCONFIG_SENSORS_F71882FG=mCONFIG_SENSORS_F75375S=mCONFIG_SENSORS_FSCHMD=m
# CONFIG_SENSORS_FTSTEUTATES is not setCONFIG_SENSORS_GL518SM=mCONFIG_SENSORS_GL520SM=mCONFIG_SENSORS_G760A=m
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_HIH6130 is not setCONFIG_SENSORS_IBMAEM=mCONFIG_SENSORS_IBMPEX=m
# CONFIG_SENSORS_IIO_HWMON is not set
# CONFIG_SENSORS_I5500 is not setCONFIG_SENSORS_CORETEMP=mCONFIG_SENSORS_IT87=mCONFIG_SENSORS_JC42=m
# CONFIG_SENSORS_POWR1220 is not setCONFIG_SENSORS_LINEAGE=m
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2947_I2C is not set
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_SENSORS_LTC2990 is not setCONFIG_SENSORS_LTC4151=mCONFIG_SENSORS_LTC4215=m
# CONFIG_SENSORS_LTC4222 is not setCONFIG_SENSORS_LTC4245=m
# CONFIG_SENSORS_LTC4260 is not setCONFIG_SENSORS_LTC4261=m
# CONFIG_SENSORS_MAX1111 is not setCONFIG_SENSORS_MAX16065=mCONFIG_SENSORS_MAX1619=mCONFIG_SENSORS_MAX1668=mCONFIG_SENSORS_MAX197=m
# CONFIG_SENSORS_MAX31722 is not set
# CONFIG_SENSORS_MAX31730 is not set
# CONFIG_SENSORS_MAX6621 is not setCONFIG_SENSORS_MAX6639=mCONFIG_SENSORS_MAX6642=mCONFIG_SENSORS_MAX6650=mCONFIG_SENSORS_MAX6697=m
# CONFIG_SENSORS_MAX31790 is not setCONFIG_SENSORS_MCP3021=m
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_ADCXX is not setCONFIG_SENSORS_LM63=m
# CONFIG_SENSORS_LM70 is not setCONFIG_SENSORS_LM73=mCONFIG_SENSORS_LM75=mCONFIG_SENSORS_LM77=mCONFIG_SENSORS_LM78=mCONFIG_SENSORS_LM80=mCONFIG_SENSORS_LM83=mCONFIG_SENSORS_LM85=mCONFIG_SENSORS_LM87=mCONFIG_SENSORS_LM90=mCONFIG_SENSORS_LM92=mCONFIG_SENSORS_LM93=mCONFIG_SENSORS_LM95234=mCONFIG_SENSORS_LM95241=mCONFIG_SENSORS_LM95245=mCONFIG_SENSORS_PC87360=mCONFIG_SENSORS_PC87427=mCONFIG_SENSORS_NTC_THERMISTOR=m
# CONFIG_SENSORS_NCT6683 is not setCONFIG_SENSORS_NCT6775=m
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_NPCM7XX is not setCONFIG_SENSORS_PCF8591=mCONFIG_PMBUS=mCONFIG_SENSORS_PMBUS=mCONFIG_SENSORS_ADM1275=m
# CONFIG_SENSORS_BEL_PFE is not set
# CONFIG_SENSORS_IBM_CFFPS is not set
# CONFIG_SENSORS_INSPUR_IPSPS is not set
# CONFIG_SENSORS_IR35221 is not set
# CONFIG_SENSORS_IR38064 is not set
# CONFIG_SENSORS_IRPS5401 is not set
# CONFIG_SENSORS_ISL68137 is not setCONFIG_SENSORS_LM25066=mCONFIG_SENSORS_LTC2978=m
# CONFIG_SENSORS_LTC3815 is not setCONFIG_SENSORS_MAX16064=m
# CONFIG_SENSORS_MAX20730 is not set
# CONFIG_SENSORS_MAX20751 is not set
# CONFIG_SENSORS_MAX31785 is not setCONFIG_SENSORS_MAX34440=mCONFIG_SENSORS_MAX8688=m
# CONFIG_SENSORS_PXE1610 is not set
# CONFIG_SENSORS_TPS40422 is not set
# CONFIG_SENSORS_TPS53679 is not setCONFIG_SENSORS_UCD9000=mCONFIG_SENSORS_UCD9200=m
# CONFIG_SENSORS_XDPE122 is not setCONFIG_SENSORS_ZL6100=mCONFIG_SENSORS_SHT15=mCONFIG_SENSORS_SHT21=m
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHTC1 is not setCONFIG_SENSORS_SIS5595=mCONFIG_SENSORS_DME1737=mCONFIG_SENSORS_EMC1403=m
# CONFIG_SENSORS_EMC2103 is not setCONFIG_SENSORS_EMC6W201=mCONFIG_SENSORS_SMSC47M1=mCONFIG_SENSORS_SMSC47M192=mCONFIG_SENSORS_SMSC47B397=mCONFIG_SENSORS_SCH56XX_COMMON=mCONFIG_SENSORS_SCH5627=mCONFIG_SENSORS_SCH5636=m
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADC128D818 is not setCONFIG_SENSORS_ADS7828=m
# CONFIG_SENSORS_ADS7871 is not setCONFIG_SENSORS_AMC6821=mCONFIG_SENSORS_INA209=mCONFIG_SENSORS_INA2XX=m
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_TC74 is not setCONFIG_SENSORS_THMC50=mCONFIG_SENSORS_TMP102=m
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not setCONFIG_SENSORS_TMP401=mCONFIG_SENSORS_TMP421=m
# CONFIG_SENSORS_TMP513 is not setCONFIG_SENSORS_VIA_CPUTEMP=mCONFIG_SENSORS_VIA686A=mCONFIG_SENSORS_VT1211=mCONFIG_SENSORS_VT8231=m
# CONFIG_SENSORS_W83773G is not setCONFIG_SENSORS_W83781D=mCONFIG_SENSORS_W83791D=mCONFIG_SENSORS_W83792D=mCONFIG_SENSORS_W83793=mCONFIG_SENSORS_W83795=m
# CONFIG_SENSORS_W83795_FANCTRL is not setCONFIG_SENSORS_W83L785TS=mCONFIG_SENSORS_W83L786NG=mCONFIG_SENSORS_W83627HF=mCONFIG_SENSORS_W83627EHF=m
# CONFIG_SENSORS_XGENE is not set
#
# ACPI drivers
#CONFIG_SENSORS_ACPI_POWER=m CONFIG_SENSORS_ATK0110=mCONFIG_THERMAL=y
# CONFIG_THERMAL_STATISTICS is not set CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 CONFIG_THERMAL_HWMON=y CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set CONFIG_THERMAL_GOV_FAIR_SHARE=y CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_GOV_BANG_BANG=y CONFIG_THERMAL_GOV_USER_SPACE=y
# CONFIG_CLOCK_THERMAL is not set
# CONFIG_DEVFREQ_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
#
# Intel thermal drivers
#CONFIG_INTEL_POWERCLAMP=mCONFIG_X86_PKG_TEMP_THERMAL=mCONFIG_INTEL_SOC_DTS_IOSF_CORE=m
# CONFIG_INTEL_SOC_DTS_THERMAL is not set
#
# ACPI INT340X thermal drivers
#CONFIG_INT340X_THERMAL=mCONFIG_ACPI_THERMAL_REL=m
# CONFIG_INT3406_THERMAL is not setCONFIG_PROC_THERMAL_MMIO_RAPL=y
# end of ACPI INT340X thermal drivers
# CONFIG_INTEL_PCH_THERMAL is not set
# end of Intel thermal drivers
# CONFIG_GENERIC_ADC_THERMAL is not setCONFIG_WATCHDOG=yCONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not setCONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=yCONFIG_WATCHDOG_OPEN_TIMEOUT=0CONFIG_WATCHDOG_SYSFS=y
#
# Watchdog Pretimeout Governors
#
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
#
# Watchdog Device Drivers
#CONFIG_SOFT_WATCHDOG=mCONFIG_WDAT_WDT=m
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not setCONFIG_ALIM1535_WDT=mCONFIG_ALIM7101_WDT=m
# CONFIG_EBC_C384_WDT is not setCONFIG_F71808E_WDT=mCONFIG_SP5100_TCO=mCONFIG_SBC_FITPC2_WATCHDOG=m
# CONFIG_EUROTECH_WDT is not setCONFIG_IB700_WDT=mCONFIG_IBMASR=m
# CONFIG_WAFER_WDT is not setCONFIG_I6300ESB_WDT=yCONFIG_IE6XX_WDT=mCONFIG_ITCO_WDT=yCONFIG_ITCO_VENDOR_SUPPORT=yCONFIG_IT8712F_WDT=mCONFIG_IT87_WDT=mCONFIG_HP_WATCHDOG=mCONFIG_HPWDT_NMI_DECODING=y
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not setCONFIG_NV_TCO=m
# CONFIG_60XX_WDT is not set
# CONFIG_CPU5_WDT is not setCONFIG_SMSC_SCH311X_WDT=m
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_TQMX86_WDT is not setCONFIG_VIA_WDT=mCONFIG_W83627HF_WDT=mCONFIG_W83877F_WDT=mCONFIG_W83977F_WDT=mCONFIG_MACHZ_WDT=m
# CONFIG_SBC_EPX_C3_WATCHDOG is not setCONFIG_INTEL_MEI_WDT=m
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set
# CONFIG_MEN_A21_WDT is not setCONFIG_XEN_WDT=m
#
# PCI-based Watchdog Cards
#CONFIG_PCIPCWATCHDOG=mCONFIG_WDTPCI=m
#
# USB-based Watchdog Cards
#CONFIG_USBPCWATCHDOG=mCONFIG_SSB_POSSIBLE=yCONFIG_SSB=mCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=yCONFIG_SSB_SDIOHOST_POSSIBLE=yCONFIG_SSB_SDIOHOST=yCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=yCONFIG_SSB_DRIVER_GPIO=yCONFIG_BCMA_POSSIBLE=yCONFIG_BCMA=mCONFIG_BCMA_HOST_PCI_POSSIBLE=yCONFIG_BCMA_HOST_PCI=y
# CONFIG_BCMA_HOST_SOC is not setCONFIG_BCMA_DRIVER_PCI=yCONFIG_BCMA_DRIVER_GMAC_CMN=yCONFIG_BCMA_DRIVER_GPIO=y
# CONFIG_BCMA_DEBUG is not set
#
# Multifunction device drivers
#CONFIG_MFD_CORE=y
# CONFIG_MFD_AS3711 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not setCONFIG_LPC_ICH=mCONFIG_LPC_SCH=m
# CONFIG_INTEL_SOC_PMIC_CHTDC_TI is not setCONFIG_MFD_INTEL_LPSS=yCONFIG_MFD_INTEL_LPSS_ACPI=yCONFIG_MFD_INTEL_LPSS_PCI=y
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_EZX_PCAP is not setCONFIG_MFD_VIPERBOARD=m
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_UCB1400_CORE is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not setCONFIG_MFD_SM501=mCONFIG_MFD_SM501_GPIO=y
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TQMX86 is not setCONFIG_MFD_VX855=m
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# end of Multifunction device drivers
# CONFIG_REGULATOR is not setCONFIG_RC_CORE=mCONFIG_RC_MAP=mCONFIG_LIRC=yCONFIG_RC_DECODERS=yCONFIG_IR_NEC_DECODER=mCONFIG_IR_RC5_DECODER=mCONFIG_IR_RC6_DECODER=mCONFIG_IR_JVC_DECODER=mCONFIG_IR_SONY_DECODER=mCONFIG_IR_SANYO_DECODER=mCONFIG_IR_SHARP_DECODER=mCONFIG_IR_MCE_KBD_DECODER=m
# CONFIG_IR_XMP_DECODER is not setCONFIG_IR_IMON_DECODER=m
# CONFIG_IR_RCMM_DECODER is not setCONFIG_RC_DEVICES=yCONFIG_RC_ATI_REMOTE=mCONFIG_IR_ENE=mCONFIG_IR_IMON=m
# CONFIG_IR_IMON_RAW is not setCONFIG_IR_MCEUSB=mCONFIG_IR_ITE_CIR=mCONFIG_IR_FINTEK=mCONFIG_IR_NUVOTON=mCONFIG_IR_REDRAT3=mCONFIG_IR_STREAMZAP=mCONFIG_IR_WINBOND_CIR=m
# CONFIG_IR_IGORPLUGUSB is not setCONFIG_IR_IGUANA=mCONFIG_IR_TTUSBIR=mCONFIG_RC_LOOPBACK=m
# CONFIG_IR_SERIAL is not set
# CONFIG_IR_SIR is not set
# CONFIG_RC_XBOX_DVD is not setCONFIG_MEDIA_SUPPORT=m
#
# Multimedia core support
#CONFIG_MEDIA_CAMERA_SUPPORT=yCONFIG_MEDIA_ANALOG_TV_SUPPORT=yCONFIG_MEDIA_DIGITAL_TV_SUPPORT=yCONFIG_MEDIA_RADIO_SUPPORT=y
# CONFIG_MEDIA_SDR_SUPPORT is not set
# CONFIG_MEDIA_CEC_SUPPORT is not setCONFIG_MEDIA_CONTROLLER=yCONFIG_MEDIA_CONTROLLER_DVB=yCONFIG_VIDEO_DEV=m
# CONFIG_VIDEO_V4L2_SUBDEV_API is not setCONFIG_VIDEO_V4L2=mCONFIG_VIDEO_V4L2_I2C=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not setCONFIG_VIDEO_TUNER=mCONFIG_VIDEOBUF_GEN=mCONFIG_VIDEOBUF_DMA_SG=mCONFIG_VIDEOBUF_VMALLOC=mCONFIG_DVB_CORE=m
# CONFIG_DVB_MMAP is not setCONFIG_DVB_NET=yCONFIG_TTPCI_EEPROM=mCONFIG_DVB_MAX_ADAPTERS=8CONFIG_DVB_DYNAMIC_MINORS=y
# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set
# CONFIG_DVB_ULE_DEBUG is not set
#
# Media drivers
#CONFIG_MEDIA_USB_SUPPORT=y
#
# Webcam devices
#CONFIG_USB_VIDEO_CLASS=mCONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=yCONFIG_USB_GSPCA=mCONFIG_USB_M5602=mCONFIG_USB_STV06XX=mCONFIG_USB_GL860=mCONFIG_USB_GSPCA_BENQ=mCONFIG_USB_GSPCA_CONEX=mCONFIG_USB_GSPCA_CPIA1=m
# CONFIG_USB_GSPCA_DTCS033 is not setCONFIG_USB_GSPCA_ETOMS=mCONFIG_USB_GSPCA_FINEPIX=mCONFIG_USB_GSPCA_JEILINJ=mCONFIG_USB_GSPCA_JL2005BCD=m
# CONFIG_USB_GSPCA_KINECT is not setCONFIG_USB_GSPCA_KONICA=mCONFIG_USB_GSPCA_MARS=mCONFIG_USB_GSPCA_MR97310A=mCONFIG_USB_GSPCA_NW80X=mCONFIG_USB_GSPCA_OV519=mCONFIG_USB_GSPCA_OV534=mCONFIG_USB_GSPCA_OV534_9=mCONFIG_USB_GSPCA_PAC207=mCONFIG_USB_GSPCA_PAC7302=mCONFIG_USB_GSPCA_PAC7311=mCONFIG_USB_GSPCA_SE401=mCONFIG_USB_GSPCA_SN9C2028=mCONFIG_USB_GSPCA_SN9C20X=mCONFIG_USB_GSPCA_SONIXB=mCONFIG_USB_GSPCA_SONIXJ=mCONFIG_USB_GSPCA_SPCA500=mCONFIG_USB_GSPCA_SPCA501=mCONFIG_USB_GSPCA_SPCA505=mCONFIG_USB_GSPCA_SPCA506=mCONFIG_USB_GSPCA_SPCA508=mCONFIG_USB_GSPCA_SPCA561=mCONFIG_USB_GSPCA_SPCA1528=mCONFIG_USB_GSPCA_SQ905=mCONFIG_USB_GSPCA_SQ905C=mCONFIG_USB_GSPCA_SQ930X=mCONFIG_USB_GSPCA_STK014=m
# CONFIG_USB_GSPCA_STK1135 is not setCONFIG_USB_GSPCA_STV0680=mCONFIG_USB_GSPCA_SUNPLUS=mCONFIG_USB_GSPCA_T613=mCONFIG_USB_GSPCA_TOPRO=m
# CONFIG_USB_GSPCA_TOUPTEK is not setCONFIG_USB_GSPCA_TV8532=mCONFIG_USB_GSPCA_VC032X=mCONFIG_USB_GSPCA_VICAM=mCONFIG_USB_GSPCA_XIRLINK_CIT=mCONFIG_USB_GSPCA_ZC3XX=mCONFIG_USB_PWC=m
# CONFIG_USB_PWC_DEBUG is not setCONFIG_USB_PWC_INPUT_EVDEV=y
# CONFIG_VIDEO_CPIA2 is not setCONFIG_USB_ZR364XX=mCONFIG_USB_STKWEBCAM=mCONFIG_USB_S2255=m
# CONFIG_VIDEO_USBTV is not set
#
# Analog TV USB devices
#CONFIG_VIDEO_PVRUSB2=mCONFIG_VIDEO_PVRUSB2_SYSFS=yCONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not setCONFIG_VIDEO_HDPVR=mCONFIG_VIDEO_USBVISION=m
# CONFIG_VIDEO_STK1160_COMMON is not set
# CONFIG_VIDEO_GO7007 is not set
#
# Analog/digital TV USB devices
#CONFIG_VIDEO_AU0828=mCONFIG_VIDEO_AU0828_V4L2=y
# CONFIG_VIDEO_AU0828_RC is not setCONFIG_VIDEO_CX231XX=mCONFIG_VIDEO_CX231XX_RC=yCONFIG_VIDEO_CX231XX_ALSA=mCONFIG_VIDEO_CX231XX_DVB=mCONFIG_VIDEO_TM6000=mCONFIG_VIDEO_TM6000_ALSA=mCONFIG_VIDEO_TM6000_DVB=m
#
# Digital TV USB devices
#CONFIG_DVB_USB=m
# CONFIG_DVB_USB_DEBUG is not setCONFIG_DVB_USB_DIB3000MC=mCONFIG_DVB_USB_A800=mCONFIG_DVB_USB_DIBUSB_MB=m
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not setCONFIG_DVB_USB_DIBUSB_MC=mCONFIG_DVB_USB_DIB0700=mCONFIG_DVB_USB_UMT_010=mCONFIG_DVB_USB_CXUSB=m
# CONFIG_DVB_USB_CXUSB_ANALOG is not setCONFIG_DVB_USB_M920X=mCONFIG_DVB_USB_DIGITV=mCONFIG_DVB_USB_VP7045=mCONFIG_DVB_USB_VP702X=mCONFIG_DVB_USB_GP8PSK=mCONFIG_DVB_USB_NOVA_T_USB2=mCONFIG_DVB_USB_TTUSB2=mCONFIG_DVB_USB_DTT200U=mCONFIG_DVB_USB_OPERA1=mCONFIG_DVB_USB_AF9005=mCONFIG_DVB_USB_AF9005_REMOTE=mCONFIG_DVB_USB_PCTV452E=mCONFIG_DVB_USB_DW2102=mCONFIG_DVB_USB_CINERGY_T2=mCONFIG_DVB_USB_DTV5100=mCONFIG_DVB_USB_AZ6027=mCONFIG_DVB_USB_TECHNISAT_USB2=mCONFIG_DVB_USB_V2=mCONFIG_DVB_USB_AF9015=mCONFIG_DVB_USB_AF9035=mCONFIG_DVB_USB_ANYSEE=mCONFIG_DVB_USB_AU6610=mCONFIG_DVB_USB_AZ6007=mCONFIG_DVB_USB_CE6230=mCONFIG_DVB_USB_EC168=mCONFIG_DVB_USB_GL861=mCONFIG_DVB_USB_LME2510=mCONFIG_DVB_USB_MXL111SF=mCONFIG_DVB_USB_RTL28XXU=m
# CONFIG_DVB_USB_DVBSKY is not set
# CONFIG_DVB_USB_ZD1301 is not setCONFIG_DVB_TTUSB_BUDGET=mCONFIG_DVB_TTUSB_DEC=mCONFIG_SMS_USB_DRV=mCONFIG_DVB_B2C2_FLEXCOP_USB=m
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
# CONFIG_DVB_AS102 is not set
#
# Webcam, TV (analog/digital) USB devices
#CONFIG_VIDEO_EM28XX=m
# CONFIG_VIDEO_EM28XX_V4L2 is not setCONFIG_VIDEO_EM28XX_ALSA=mCONFIG_VIDEO_EM28XX_DVB=mCONFIG_VIDEO_EM28XX_RC=mCONFIG_MEDIA_PCI_SUPPORT=y
#
# Media capture support
#
# CONFIG_VIDEO_MEYE is not set
# CONFIG_VIDEO_SOLO6X10 is not set
# CONFIG_VIDEO_TW5864 is not set
# CONFIG_VIDEO_TW68 is not set
# CONFIG_VIDEO_TW686X is not set
#
# Media capture/analog TV support
#CONFIG_VIDEO_IVTV=m
# CONFIG_VIDEO_IVTV_DEPRECATED_IOCTLS is not set
# CONFIG_VIDEO_IVTV_ALSA is not setCONFIG_VIDEO_FB_IVTV=m
# CONFIG_VIDEO_FB_IVTV_FORCE_PAT is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DT3155 is not set
#
# Media capture/analog/hybrid TV support
#CONFIG_VIDEO_CX18=mCONFIG_VIDEO_CX18_ALSA=mCONFIG_VIDEO_CX23885=mCONFIG_MEDIA_ALTERA_CI=m
# CONFIG_VIDEO_CX25821 is not setCONFIG_VIDEO_CX88=mCONFIG_VIDEO_CX88_ALSA=mCONFIG_VIDEO_CX88_BLACKBIRD=mCONFIG_VIDEO_CX88_DVB=mCONFIG_VIDEO_CX88_ENABLE_VP3054=yCONFIG_VIDEO_CX88_VP3054=mCONFIG_VIDEO_CX88_MPEG=mCONFIG_VIDEO_BT848=mCONFIG_DVB_BT8XX=mCONFIG_VIDEO_SAA7134=mCONFIG_VIDEO_SAA7134_ALSA=mCONFIG_VIDEO_SAA7134_RC=yCONFIG_VIDEO_SAA7134_DVB=mCONFIG_VIDEO_SAA7164=m
#
# Media digital TV PCI Adapters
#CONFIG_DVB_AV7110_IR=yCONFIG_DVB_AV7110=mCONFIG_DVB_AV7110_OSD=yCONFIG_DVB_BUDGET_CORE=mCONFIG_DVB_BUDGET=mCONFIG_DVB_BUDGET_CI=mCONFIG_DVB_BUDGET_AV=mCONFIG_DVB_BUDGET_PATCH=mCONFIG_DVB_B2C2_FLEXCOP_PCI=m
# CONFIG_DVB_B2C2_FLEXCOP_PCI_DEBUG is not setCONFIG_DVB_PLUTO2=mCONFIG_DVB_DM1105=mCONFIG_DVB_PT1=m
# CONFIG_DVB_PT3 is not setCONFIG_MANTIS_CORE=mCONFIG_DVB_MANTIS=mCONFIG_DVB_HOPPER=mCONFIG_DVB_NGENE=mCONFIG_DVB_DDBRIDGE=m
# CONFIG_DVB_DDBRIDGE_MSIENABLE is not set
# CONFIG_DVB_SMIPCIE is not set
# CONFIG_DVB_NETUP_UNIDVB is not set
# CONFIG_V4L_PLATFORM_DRIVERS is not set
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
# CONFIG_V4L_TEST_DRIVERS is not set
# CONFIG_DVB_PLATFORM_DRIVERS is not set
#
# Supported MMC/SDIO adapters
#CONFIG_SMS_SDIO_DRV=mCONFIG_RADIO_ADAPTERS=yCONFIG_RADIO_TEA575X=m
# CONFIG_RADIO_SI470X is not set
# CONFIG_RADIO_SI4713 is not set
# CONFIG_USB_MR800 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SHARK is not set
# CONFIG_RADIO_SHARK2 is not set
# CONFIG_USB_KEENE is not set
# CONFIG_USB_RAREMONO is not set
# CONFIG_USB_MA901 is not set
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_SAA7706H is not set
# CONFIG_RADIO_TEF6862 is not set
# CONFIG_RADIO_WL1273 is not set
#
# Texas Instruments WL128x FM driver (ST based)
#
# end of Texas Instruments WL128x FM driver (ST based)
#
# Supported FireWire (IEEE 1394) Adapters
#CONFIG_DVB_FIREDTV=mCONFIG_DVB_FIREDTV_INPUT=yCONFIG_MEDIA_COMMON_OPTIONS=y
#
# common driver options # CONFIG_VIDEO_CX2341X=m CONFIG_VIDEO_TVEEPROM=m CONFIG_CYPRESS_FIRMWARE=m CONFIG_VIDEOBUF2_CORE=m CONFIG_VIDEOBUF2_V4L2=m CONFIG_VIDEOBUF2_MEMOPS=m CONFIG_VIDEOBUF2_VMALLOC=m CONFIG_VIDEOBUF2_DMA_SG=m CONFIG_VIDEOBUF2_DVB=m CONFIG_DVB_B2C2_FLEXCOP=m CONFIG_VIDEO_SAA7146=m CONFIG_VIDEO_SAA7146_VV=m CONFIG_SMS_SIANO_MDTV=m CONFIG_SMS_SIANO_RC=y # CONFIG_SMS_SIANO_DEBUGFS is not set
#
# Media ancillary drivers (tuners, sensors, i2c, spi, frontends) #CONFIG_MEDIA_SUBDRV_AUTOSELECT=yCONFIG_MEDIA_ATTACH=yCONFIG_VIDEO_IR_I2C=m
#
# I2C Encoders, decoders, sensors and other helper chips #
#
# Audio decoders, processors and mixers
#CONFIG_VIDEO_TVAUDIO=mCONFIG_VIDEO_TDA7432=m
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not setCONFIG_VIDEO_MSP3400=mCONFIG_VIDEO_CS3308=mCONFIG_VIDEO_CS5345=mCONFIG_VIDEO_CS53L32A=m
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_UDA1342 is not setCONFIG_VIDEO_WM8775=mCONFIG_VIDEO_WM8739=mCONFIG_VIDEO_VP27SMPX=m
# CONFIG_VIDEO_SONY_BTF_MPX is not set
#
# RDS decoders
#CONFIG_VIDEO_SAA6588=m
#
# Video decoders
#
# CONFIG_VIDEO_ADV7183 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_ML86V7667 is not set
# CONFIG_VIDEO_SAA7110 is not setCONFIG_VIDEO_SAA711X=m
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_TW2804 is not set
# CONFIG_VIDEO_TW9903 is not set
# CONFIG_VIDEO_TW9906 is not set
# CONFIG_VIDEO_TW9910 is not set
# CONFIG_VIDEO_VPX3220 is not set
#
# Video and audio decoders
#CONFIG_VIDEO_SAA717X=mCONFIG_VIDEO_CX25840=m
#
# Video encoders
#CONFIG_VIDEO_SAA7127=m
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_ADV7393 is not set
# CONFIG_VIDEO_AK881X is not set
# CONFIG_VIDEO_THS8200 is not set
#
# Camera sensor devices
#
# CONFIG_VIDEO_OV2640 is not set
# CONFIG_VIDEO_OV2659 is not set
# CONFIG_VIDEO_OV2680 is not set
# CONFIG_VIDEO_OV2685 is not set
# CONFIG_VIDEO_OV6650 is not set
# CONFIG_VIDEO_OV5695 is not set
# CONFIG_VIDEO_OV772X is not set
# CONFIG_VIDEO_OV7640 is not set
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_OV7740 is not set
# CONFIG_VIDEO_OV9640 is not set
# CONFIG_VIDEO_VS6624 is not set
# CONFIG_VIDEO_MT9M111 is not set
# CONFIG_VIDEO_MT9T112 is not set
# CONFIG_VIDEO_MT9V011 is not set
# CONFIG_VIDEO_MT9V111 is not set
# CONFIG_VIDEO_SR030PC30 is not set
# CONFIG_VIDEO_RJ54N1 is not set
#
# Lens drivers
#
# CONFIG_VIDEO_AD5820 is not set
#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
#
# Video improvement chips
#CONFIG_VIDEO_UPD64031A=mCONFIG_VIDEO_UPD64083=m
#
# Audio/Video compression chips
#CONFIG_VIDEO_SAA6752HS=m
#
# SDR tuner chips
#
#
# Miscellaneous helper chips
#
# CONFIG_VIDEO_THS7303 is not setCONFIG_VIDEO_M52790=m
# CONFIG_VIDEO_I2C is not set
# end of I2C Encoders, decoders, sensors and other helper chips
#
# SPI helper chips
#
# end of SPI helper chips
#
# Media SPI Adapters
#
# CONFIG_CXD2880_SPI_DRV is not set
# end of Media SPI Adapters
CONFIG_MEDIA_TUNER=m
#
# Customize TV tuners
#CONFIG_MEDIA_TUNER_SIMPLE=mCONFIG_MEDIA_TUNER_TDA18250=mCONFIG_MEDIA_TUNER_TDA8290=mCONFIG_MEDIA_TUNER_TDA827X=mCONFIG_MEDIA_TUNER_TDA18271=mCONFIG_MEDIA_TUNER_TDA9887=mCONFIG_MEDIA_TUNER_TEA5761=mCONFIG_MEDIA_TUNER_TEA5767=m
# CONFIG_MEDIA_TUNER_MSI001 is not setCONFIG_MEDIA_TUNER_MT20XX=mCONFIG_MEDIA_TUNER_MT2060=mCONFIG_MEDIA_TUNER_MT2063=mCONFIG_MEDIA_TUNER_MT2266=mCONFIG_MEDIA_TUNER_MT2131=mCONFIG_MEDIA_TUNER_QT1010=mCONFIG_MEDIA_TUNER_XC2028=mCONFIG_MEDIA_TUNER_XC5000=mCONFIG_MEDIA_TUNER_XC4000=mCONFIG_MEDIA_TUNER_MXL5005S=mCONFIG_MEDIA_TUNER_MXL5007T=mCONFIG_MEDIA_TUNER_MC44S803=mCONFIG_MEDIA_TUNER_MAX2165=mCONFIG_MEDIA_TUNER_TDA18218=mCONFIG_MEDIA_TUNER_FC0011=mCONFIG_MEDIA_TUNER_FC0012=mCONFIG_MEDIA_TUNER_FC0013=mCONFIG_MEDIA_TUNER_TDA18212=mCONFIG_MEDIA_TUNER_E4000=mCONFIG_MEDIA_TUNER_FC2580=mCONFIG_MEDIA_TUNER_M88RS6000T=mCONFIG_MEDIA_TUNER_TUA9001=mCONFIG_MEDIA_TUNER_SI2157=mCONFIG_MEDIA_TUNER_IT913X=mCONFIG_MEDIA_TUNER_R820T=m
# CONFIG_MEDIA_TUNER_MXL301RF is not setCONFIG_MEDIA_TUNER_QM1D1C0042=mCONFIG_MEDIA_TUNER_QM1D1B0004=m
# end of Customize TV tuners
#
# Customise DVB Frontends
#
#
# Multistandard (satellite) frontends
#CONFIG_DVB_STB0899=mCONFIG_DVB_STB6100=m
CONFIG_DVB_STV090x=mCONFIG_DVB_STV0910=m
CONFIG_DVB_STV6110x=mCONFIG_DVB_STV6111=mCONFIG_DVB_MXL5XX=mCONFIG_DVB_M88DS3103=m
#
# Multistandard (cable + terrestrial) frontends
#CONFIG_DVB_DRXK=mCONFIG_DVB_TDA18271C2DD=mCONFIG_DVB_SI2165=mCONFIG_DVB_MN88472=mCONFIG_DVB_MN88473=m
#
# DVB-S (satellite) frontends
#CONFIG_DVB_CX24110=mCONFIG_DVB_CX24123=mCONFIG_DVB_MT312=mCONFIG_DVB_ZL10036=mCONFIG_DVB_ZL10039=mCONFIG_DVB_S5H1420=mCONFIG_DVB_STV0288=mCONFIG_DVB_STB6000=mCONFIG_DVB_STV0299=mCONFIG_DVB_STV6110=mCONFIG_DVB_STV0900=mCONFIG_DVB_TDA8083=mCONFIG_DVB_TDA10086=mCONFIG_DVB_TDA8261=mCONFIG_DVB_VES1X93=mCONFIG_DVB_TUNER_ITD1000=mCONFIG_DVB_TUNER_CX24113=mCONFIG_DVB_TDA826X=mCONFIG_DVB_TUA6100=mCONFIG_DVB_CX24116=mCONFIG_DVB_CX24117=mCONFIG_DVB_CX24120=mCONFIG_DVB_SI21XX=mCONFIG_DVB_TS2020=mCONFIG_DVB_DS3000=mCONFIG_DVB_MB86A16=mCONFIG_DVB_TDA10071=m
#
# DVB-T (terrestrial) frontends
#CONFIG_DVB_SP8870=mCONFIG_DVB_SP887X=mCONFIG_DVB_CX22700=mCONFIG_DVB_CX22702=m
# CONFIG_DVB_S5H1432 is not setCONFIG_DVB_DRXD=mCONFIG_DVB_L64781=mCONFIG_DVB_TDA1004X=mCONFIG_DVB_NXT6000=mCONFIG_DVB_MT352=mCONFIG_DVB_ZL10353=mCONFIG_DVB_DIB3000MB=mCONFIG_DVB_DIB3000MC=mCONFIG_DVB_DIB7000M=mCONFIG_DVB_DIB7000P=m
# CONFIG_DVB_DIB9000 is not setCONFIG_DVB_TDA10048=mCONFIG_DVB_AF9013=mCONFIG_DVB_EC100=mCONFIG_DVB_STV0367=mCONFIG_DVB_CXD2820R=mCONFIG_DVB_CXD2841ER=mCONFIG_DVB_RTL2830=mCONFIG_DVB_RTL2832=mCONFIG_DVB_SI2168=m
# CONFIG_DVB_ZD1301_DEMOD is not setCONFIG_DVB_GP8PSK_FE=m
# CONFIG_DVB_CXD2880 is not set
#
# DVB-C (cable) frontends
#CONFIG_DVB_VES1820=mCONFIG_DVB_TDA10021=mCONFIG_DVB_TDA10023=mCONFIG_DVB_STV0297=m
#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends #CONFIG_DVB_NXT200X=mCONFIG_DVB_OR51211=mCONFIG_DVB_OR51132=mCONFIG_DVB_BCM3510=mCONFIG_DVB_LGDT330X=mCONFIG_DVB_LGDT3305=mCONFIG_DVB_LGDT3306A=mCONFIG_DVB_LG2160=mCONFIG_DVB_S5H1409=mCONFIG_DVB_AU8522=mCONFIG_DVB_AU8522_DTV=mCONFIG_DVB_AU8522_V4L=mCONFIG_DVB_S5H1411=m
#
# ISDB-T (terrestrial) frontends
#CONFIG_DVB_S921=mCONFIG_DVB_DIB8000=mCONFIG_DVB_MB86A20S=m
#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends #CONFIG_DVB_TC90522=m
# CONFIG_DVB_MN88443X is not set
#
# Digital terrestrial only tuners/PLL
#CONFIG_DVB_PLL=mCONFIG_DVB_TUNER_DIB0070=mCONFIG_DVB_TUNER_DIB0090=m
#
# SEC control devices for DVB-S
#CONFIG_DVB_DRX39XYJ=mCONFIG_DVB_LNBH25=m
# CONFIG_DVB_LNBH29 is not setCONFIG_DVB_LNBP21=mCONFIG_DVB_LNBP22=mCONFIG_DVB_ISL6405=mCONFIG_DVB_ISL6421=mCONFIG_DVB_ISL6423=mCONFIG_DVB_A8293=m
# CONFIG_DVB_LGS8GL5 is not setCONFIG_DVB_LGS8GXX=mCONFIG_DVB_ATBM8830=m
CONFIG_DVB_TDA665x=mCONFIG_DVB_IX2505V=mCONFIG_DVB_M88RS2000=mCONFIG_DVB_AF9033=m
# CONFIG_DVB_HORUS3A is not set
# CONFIG_DVB_ASCOT2E is not set
# CONFIG_DVB_HELENE is not set
#
# Common Interface (EN50221) controller drivers
#CONFIG_DVB_CXD2099=m
# CONFIG_DVB_SP2 is not set
#
# Tools to develop new frontends
#CONFIG_DVB_DUMMY_FE=m
# end of Customise DVB Frontends
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_SIS=yCONFIG_AGP_VIA=yCONFIG_INTEL_GTT=yCONFIG_VGA_ARB=y CONFIG_VGA_ARB_MAX_GPUS=64 CONFIG_VGA_SWITCHEROO=yCONFIG_DRM=mCONFIG_DRM_MIPI_DSI=y CONFIG_DRM_DP_AUX_CHARDEV=y CONFIG_DRM_EXPORT_FOR_TESTS=y CONFIG_DRM_DEBUG_SELFTEST=m CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set CONFIG_DRM_LOAD_EDID_FIRMWARE=y
# CONFIG_DRM_DP_CEC is not set CONFIG_DRM_TTM=m CONFIG_DRM_TTM_DMA_PAGE_POOL=y CONFIG_DRM_VRAM_HELPER=m CONFIG_DRM_TTM_HELPER=m CONFIG_DRM_GEM_SHMEM_HELPER=y
#
# I2C encoder or helper chips
#CONFIG_DRM_I2C_CH7006=mCONFIG_DRM_I2C_SIL164=m
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_I2C_NXP_TDA9950 is not set
# end of I2C encoder or helper chips
#
# ARM devices
#
# end of ARM devices
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
#
# ACP (Audio CoProcessor) Configuration
#
# end of ACP (Audio CoProcessor) Configuration
# CONFIG_DRM_NOUVEAU is not setCONFIG_DRM_I915=m
# CONFIG_DRM_I915_ALPHA_SUPPORT is not setCONFIG_DRM_I915_FORCE_PROBE=""CONFIG_DRM_I915_CAPTURE_ERROR=yCONFIG_DRM_I915_COMPRESS_ERROR=yCONFIG_DRM_I915_USERPTR=yCONFIG_DRM_I915_GVT=yCONFIG_DRM_I915_GVT_KVMGT=m
#
# drm/i915 Debugging # # CONFIG_DRM_I915_WERROR is not set # CONFIG_DRM_I915_DEBUG is not set # CONFIG_DRM_I915_DEBUG_MMIO is not set # CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set # CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set # CONFIG_DRM_I915_DEBUG_GUC is not set # CONFIG_DRM_I915_SELFTEST is not set # CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set # CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set # CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set # end of drm/i915 Debugging
#
# drm/i915 Profile Guided Optimisation # CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500 CONFIG_DRM_I915_PREEMPT_TIMEOUT=640 CONFIG_DRM_I915_SPIN_REQUEST=5 CONFIG_DRM_I915_STOP_TIMEOUT=100 CONFIG_DRM_I915_TIMESLICE_DURATION=1 # end of drm/i915 Profile Guided Optimisation
CONFIG_DRM_VGEM=m
# CONFIG_DRM_VKMS is not setCONFIG_DRM_VMWGFX=mCONFIG_DRM_VMWGFX_FBCON=yCONFIG_DRM_GMA500=mCONFIG_DRM_GMA600=yCONFIG_DRM_GMA3600=yCONFIG_DRM_UDL=mCONFIG_DRM_AST=mCONFIG_DRM_MGAG200=mCONFIG_DRM_CIRRUS_QEMU=mCONFIG_DRM_QXL=mCONFIG_DRM_BOCHS=mCONFIG_DRM_VIRTIO_GPU=mCONFIG_DRM_PANEL=y
#
# Display Panels
#
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# end of Display Panels
CONFIG_DRM_BRIDGE=yCONFIG_DRM_PANEL_BRIDGE=y
#
# Display Interface Bridges
#
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# end of Display Interface Bridges
# CONFIG_DRM_ETNAVIV is not set
# CONFIG_DRM_GM12U320 is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_ST7586 is not set
# CONFIG_TINYDRM_ST7735R is not set
# CONFIG_DRM_XEN is not set
# CONFIG_DRM_VBOXVIDEO is not set
# CONFIG_DRM_LEGACY is not setCONFIG_DRM_PANEL_ORIENTATION_QUIRKS=yCONFIG_DRM_LIB_RANDOM=y
#
# Frame buffer Devices
#CONFIG_FB_CMDLINE=yCONFIG_FB_NOTIFY=yCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not setCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FB_SYS_FILLRECT=mCONFIG_FB_SYS_COPYAREA=mCONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not setCONFIG_FB_SYS_FOPS=mCONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_MODE_HELPERS is not setCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not setCONFIG_FB_VESA=yCONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_XEN_FBDEV_FRONTEND is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not setCONFIG_FB_HYPERV=m
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
# end of Frame buffer Devices
#
# Backlight & LCD device support
#CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not setCONFIG_LCD_PLATFORM=m
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not setCONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_PWM is not setCONFIG_BACKLIGHT_APPLE=m
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630A is not set
# CONFIG_BACKLIGHT_LM3639 is not setCONFIG_BACKLIGHT_LP855X=m
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# end of Backlight & LCD device support
CONFIG_HDMI=y
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=y CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
# CONFIG_VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT is not set CONFIG_DUMMY_CONSOLE=yCONFIG_DUMMY_CONSOLE_COLUMNS=80CONFIG_DUMMY_CONSOLE_ROWS=25CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
# end of Console display driver support
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not setCONFIG_LOGO_LINUX_CLUT224=y
# end of Graphics support
CONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=yCONFIG_SOUND_OSS_CORE_PRECLAIM=yCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_PCM_ELD=yCONFIG_SND_HWDEP=mCONFIG_SND_SEQ_DEVICE=mCONFIG_SND_RAWMIDI=mCONFIG_SND_COMPRESS_OFFLOAD=mCONFIG_SND_JACK=yCONFIG_SND_JACK_INPUT_DEV=yCONFIG_SND_OSSEMUL=y
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not setCONFIG_SND_PCM_TIMER=yCONFIG_SND_HRTIMER=mCONFIG_SND_DYNAMIC_MINORS=yCONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not setCONFIG_SND_PROC_FS=yCONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not setCONFIG_SND_VMASTER=yCONFIG_SND_DMA_SGBUF=yCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_SEQUENCER_OSS=mCONFIG_SND_SEQ_HRTIMER_DEFAULT=yCONFIG_SND_SEQ_MIDI_EVENT=mCONFIG_SND_SEQ_MIDI=mCONFIG_SND_SEQ_MIDI_EMUL=mCONFIG_SND_SEQ_VIRMIDI=mCONFIG_SND_MPU401_UART=mCONFIG_SND_OPL3_LIB=mCONFIG_SND_OPL3_LIB_SEQ=mCONFIG_SND_VX_LIB=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_DRIVERS=yCONFIG_SND_PCSP=mCONFIG_SND_DUMMY=mCONFIG_SND_ALOOP=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=m
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not setCONFIG_SND_MPU401=m
# CONFIG_SND_PORTMAN2X4 is not setCONFIG_SND_AC97_POWER_SAVE=yCONFIG_SND_AC97_POWER_SAVE_DEFAULT=5CONFIG_SND_PCI=yCONFIG_SND_AD1889=m
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not setCONFIG_SND_ALI5451=mCONFIG_SND_ASIHPI=mCONFIG_SND_ATIIXP=mCONFIG_SND_ATIIXP_MODEM=mCONFIG_SND_AU8810=mCONFIG_SND_AU8820=mCONFIG_SND_AU8830=m
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not setCONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not setCONFIG_SND_CA0106=mCONFIG_SND_CMIPCI=mCONFIG_SND_OXYGEN_LIB=mCONFIG_SND_OXYGEN=m
# CONFIG_SND_CS4281 is not setCONFIG_SND_CS46XX=mCONFIG_SND_CS46XX_NEW_DSP=yCONFIG_SND_CTXFI=mCONFIG_SND_DARLA20=mCONFIG_SND_GINA20=mCONFIG_SND_LAYLA20=mCONFIG_SND_DARLA24=mCONFIG_SND_GINA24=mCONFIG_SND_LAYLA24=mCONFIG_SND_MONA=mCONFIG_SND_MIA=mCONFIG_SND_ECHO3G=mCONFIG_SND_INDIGO=mCONFIG_SND_INDIGOIO=mCONFIG_SND_INDIGODJ=mCONFIG_SND_INDIGOIOX=mCONFIG_SND_INDIGODJX=mCONFIG_SND_EMU10K1=mCONFIG_SND_EMU10K1_SEQ=mCONFIG_SND_EMU10K1X=mCONFIG_SND_ENS1370=mCONFIG_SND_ENS1371=m
# CONFIG_SND_ES1938 is not setCONFIG_SND_ES1968=mCONFIG_SND_ES1968_INPUT=yCONFIG_SND_ES1968_RADIO=y
# CONFIG_SND_FM801 is not setCONFIG_SND_HDSP=mCONFIG_SND_HDSPM=mCONFIG_SND_ICE1712=mCONFIG_SND_ICE1724=mCONFIG_SND_INTEL8X0=mCONFIG_SND_INTEL8X0M=mCONFIG_SND_KORG1212=mCONFIG_SND_LOLA=mCONFIG_SND_LX6464ES=mCONFIG_SND_MAESTRO3=mCONFIG_SND_MAESTRO3_INPUT=yCONFIG_SND_MIXART=m
# CONFIG_SND_NM256 is not setCONFIG_SND_PCXHR=m
# CONFIG_SND_RIPTIDE is not setCONFIG_SND_RME32=mCONFIG_SND_RME96=mCONFIG_SND_RME9652=m
# CONFIG_SND_SONICVIBES is not setCONFIG_SND_TRIDENT=mCONFIG_SND_VIA82XX=mCONFIG_SND_VIA82XX_MODEM=mCONFIG_SND_VIRTUOSO=mCONFIG_SND_VX222=m
# CONFIG_SND_YMFPCI is not set
#
# HD-Audio
#CONFIG_SND_HDA=mCONFIG_SND_HDA_INTEL=mCONFIG_SND_HDA_HWDEP=yCONFIG_SND_HDA_RECONFIG=yCONFIG_SND_HDA_INPUT_BEEP=yCONFIG_SND_HDA_INPUT_BEEP_MODE=0CONFIG_SND_HDA_PATCH_LOADER=yCONFIG_SND_HDA_CODEC_REALTEK=mCONFIG_SND_HDA_CODEC_ANALOG=mCONFIG_SND_HDA_CODEC_SIGMATEL=mCONFIG_SND_HDA_CODEC_VIA=mCONFIG_SND_HDA_CODEC_HDMI=mCONFIG_SND_HDA_CODEC_CIRRUS=mCONFIG_SND_HDA_CODEC_CONEXANT=mCONFIG_SND_HDA_CODEC_CA0110=mCONFIG_SND_HDA_CODEC_CA0132=mCONFIG_SND_HDA_CODEC_CA0132_DSP=yCONFIG_SND_HDA_CODEC_CMEDIA=mCONFIG_SND_HDA_CODEC_SI3054=mCONFIG_SND_HDA_GENERIC=mCONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# end of HD-Audio
CONFIG_SND_HDA_CORE=mCONFIG_SND_HDA_DSP_LOADER=yCONFIG_SND_HDA_COMPONENT=yCONFIG_SND_HDA_I915=yCONFIG_SND_HDA_EXT_CORE=mCONFIG_SND_HDA_PREALLOC_SIZE=0CONFIG_SND_INTEL_NHLT=yCONFIG_SND_INTEL_DSP_CONFIG=m
# CONFIG_SND_SPI is not setCONFIG_SND_USB=yCONFIG_SND_USB_AUDIO=mCONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=yCONFIG_SND_USB_UA101=mCONFIG_SND_USB_USX2Y=mCONFIG_SND_USB_CAIAQ=mCONFIG_SND_USB_CAIAQ_INPUT=yCONFIG_SND_USB_US122L=mCONFIG_SND_USB_6FIRE=mCONFIG_SND_USB_HIFACE=mCONFIG_SND_BCD2000=mCONFIG_SND_USB_LINE6=mCONFIG_SND_USB_POD=mCONFIG_SND_USB_PODHD=mCONFIG_SND_USB_TONEPORT=mCONFIG_SND_USB_VARIAX=mCONFIG_SND_FIREWIRE=yCONFIG_SND_FIREWIRE_LIB=m
# CONFIG_SND_DICE is not set
# CONFIG_SND_OXFW is not setCONFIG_SND_ISIGHT=m
# CONFIG_SND_FIREWORKS is not set
# CONFIG_SND_BEBOB is not set
# CONFIG_SND_FIREWIRE_DIGI00X is not set
# CONFIG_SND_FIREWIRE_TASCAM is not set
# CONFIG_SND_FIREWIRE_MOTU is not set
# CONFIG_SND_FIREFACE is not setCONFIG_SND_SOC=mCONFIG_SND_SOC_COMPRESS=yCONFIG_SND_SOC_TOPOLOGY=yCONFIG_SND_SOC_ACPI=m
# CONFIG_SND_SOC_AMD_ACP is not set
# CONFIG_SND_SOC_AMD_ACP3x is not set
# CONFIG_SND_ATMEL_SOC is not set
# CONFIG_SND_DESIGNWARE_I2S is not set
#
# SoC Audio for Freescale CPUs
#
#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of SoC Audio for Freescale CPUs
# CONFIG_SND_I2S_HI6210_I2S is not set
# CONFIG_SND_SOC_IMG is not set CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y CONFIG_SND_SST_IPC=mCONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST=m CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_HASWELL=m CONFIG_SND_SST_ATOM_HIFI2_PLATFORM=m
# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI is not set CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI=m CONFIG_SND_SOC_INTEL_SKYLAKE=m CONFIG_SND_SOC_INTEL_SKL=m CONFIG_SND_SOC_INTEL_APL=m CONFIG_SND_SOC_INTEL_KBL=m CONFIG_SND_SOC_INTEL_GLK=m CONFIG_SND_SOC_INTEL_CNL=m CONFIG_SND_SOC_INTEL_CFL=m
# CONFIG_SND_SOC_INTEL_CML_H is not set
# CONFIG_SND_SOC_INTEL_CML_LP is not set CONFIG_SND_SOC_INTEL_SKYLAKE_FAMILY=m CONFIG_SND_SOC_INTEL_SKYLAKE_SSP_CLK=m
# CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC is not set CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON=m CONFIG_SND_SOC_ACPI_INTEL_MATCH=m CONFIG_SND_SOC_INTEL_MACH=y
# CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set CONFIG_SND_SOC_INTEL_HASWELL_MACH=m
# CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH is not set CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH=m CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m
# CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH is not set # CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH is not set CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH=m CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH=m CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH=m CONFIG_SND_SOC_INTEL_SKL_RT286_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_DA7219_MAX98357A_GENERIC=m CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON=m CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH=m # CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH is not set # CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH is not set # CONFIG_SND_SOC_INTEL_KBL_RT5660_MACH is not set # CONFIG_SND_SOC_MTK_BTCVSD is not set
# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
#
# STMicroelectronics STM32 SOC audio support
#
# end of STMicroelectronics STM32 SOC audio support
# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set # CONFIG_SND_SOC_XILINX_SPDIF is not set
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# CONFIG_ZX_TDM is not set CONFIG_SND_SOC_I2C_AND_SPI=m
#
# CODEC drivers
#
# CONFIG_SND_SOC_AC97_CODEC is not set
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_ADAU1761_I2C is not set
# CONFIG_SND_SOC_ADAU1761_SPI is not set
# CONFIG_SND_SOC_ADAU7002 is not set
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
# CONFIG_SND_SOC_AK4104 is not set
# CONFIG_SND_SOC_AK4118 is not set
# CONFIG_SND_SOC_AK4458 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4613 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_AK5558 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_BD28623 is not set
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# CONFIG_SND_SOC_CS35L34 is not set
# CONFIG_SND_SOC_CS35L35 is not set
# CONFIG_SND_SOC_CS35L36 is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_CS43130 is not set
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CX2072X is not setCONFIG_SND_SOC_DA7213=mCONFIG_SND_SOC_DA7219=mCONFIG_SND_SOC_DMIC=m
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not setCONFIG_SND_SOC_ES8316=m
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_GTM601 is not setCONFIG_SND_SOC_HDAC_HDMI=m
# CONFIG_SND_SOC_INNO_RK3036 is not set
# CONFIG_SND_SOC_MAX98088 is not setCONFIG_SND_SOC_MAX98090=mCONFIG_SND_SOC_MAX98357A=m
# CONFIG_SND_SOC_MAX98504 is not set
# CONFIG_SND_SOC_MAX9867 is not setCONFIG_SND_SOC_MAX98927=m
# CONFIG_SND_SOC_MAX98373 is not set
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM1789_I2C is not set
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
# CONFIG_SND_SOC_PCM186X_I2C is not set
# CONFIG_SND_SOC_PCM186X_SPI is not set
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_RK3328 is not setCONFIG_SND_SOC_RL6231=mCONFIG_SND_SOC_RL6347A=mCONFIG_SND_SOC_RT286=mCONFIG_SND_SOC_RT298=mCONFIG_SND_SOC_RT5514=mCONFIG_SND_SOC_RT5514_SPI=m
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not setCONFIG_SND_SOC_RT5640=mCONFIG_SND_SOC_RT5645=mCONFIG_SND_SOC_RT5651=mCONFIG_SND_SOC_RT5663=mCONFIG_SND_SOC_RT5670=mCONFIG_SND_SOC_RT5677=mCONFIG_SND_SOC_RT5677_SPI=m
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SSM2305 is not set
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not setCONFIG_SND_SOC_SSM4567=m
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
# CONFIG_SND_SOC_TAS6424 is not set
# CONFIG_SND_SOC_TDA7419 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X is not setCONFIG_SND_SOC_TS3A227E=m
# CONFIG_SND_SOC_TSCS42XX is not set
# CONFIG_SND_SOC_TSCS454 is not set
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8524 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731 is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_ZX_AUD96P22 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8540 is not set
# CONFIG_SND_SOC_NAU8810 is not set
# CONFIG_SND_SOC_NAU8822 is not setCONFIG_SND_SOC_NAU8824=mCONFIG_SND_SOC_NAU8825=m
# CONFIG_SND_SOC_TPA6130A2 is not set
# end of CODEC drivers
# CONFIG_SND_SIMPLE_CARD is not setCONFIG_SND_X86=yCONFIG_HDMI_LPE_AUDIO=mCONFIG_SND_SYNTH_EMUX=m
# CONFIG_SND_XEN_FRONTEND is not setCONFIG_AC97_BUS=m
#
# HID support
#CONFIG_HID=yCONFIG_HID_BATTERY_STRENGTH=yCONFIG_HIDRAW=yCONFIG_UHID=mCONFIG_HID_GENERIC=y
#
# Special HID drivers
#CONFIG_HID_A4TECH=y
# CONFIG_HID_ACCUTOUCH is not setCONFIG_HID_ACRUX=m
# CONFIG_HID_ACRUX_FF is not setCONFIG_HID_APPLE=yCONFIG_HID_APPLEIR=m
# CONFIG_HID_ASUS is not setCONFIG_HID_AUREAL=mCONFIG_HID_BELKIN=y
# CONFIG_HID_BETOP_FF is not set
# CONFIG_HID_BIGBEN_FF is not setCONFIG_HID_CHERRY=yCONFIG_HID_CHICONY=y
# CONFIG_HID_CORSAIR is not set
# CONFIG_HID_COUGAR is not set
# CONFIG_HID_MACALLY is not setCONFIG_HID_PRODIKEYS=m
# CONFIG_HID_CMEDIA is not set
# CONFIG_HID_CP2112 is not set
# CONFIG_HID_CREATIVE_SB0540 is not setCONFIG_HID_CYPRESS=yCONFIG_HID_DRAGONRISE=m
# CONFIG_DRAGONRISE_FF is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELAN is not setCONFIG_HID_ELECOM=m
# CONFIG_HID_ELO is not setCONFIG_HID_EZKEY=y
# CONFIG_HID_GEMBIRD is not set
# CONFIG_HID_GFRM is not setCONFIG_HID_HOLTEK=m
# CONFIG_HOLTEK_FF is not set
# CONFIG_HID_GT683R is not setCONFIG_HID_KEYTOUCH=mCONFIG_HID_KYE=mCONFIG_HID_UCLOGIC=mCONFIG_HID_WALTOP=m
# CONFIG_HID_VIEWSONIC is not setCONFIG_HID_GYRATION=mCONFIG_HID_ICADE=mCONFIG_HID_ITE=y
# CONFIG_HID_JABRA is not setCONFIG_HID_TWINHAN=mCONFIG_HID_KENSINGTON=yCONFIG_HID_LCPOWER=mCONFIG_HID_LED=m
# CONFIG_HID_LENOVO is not setCONFIG_HID_LOGITECH=yCONFIG_HID_LOGITECH_DJ=mCONFIG_HID_LOGITECH_HIDPP=m
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not setCONFIG_HID_MAGICMOUSE=y
# CONFIG_HID_MALTRON is not set
# CONFIG_HID_MAYFLASH is not setCONFIG_HID_REDRAGON=yCONFIG_HID_MICROSOFT=yCONFIG_HID_MONTEREY=yCONFIG_HID_MULTITOUCH=m
# CONFIG_HID_NTI is not setCONFIG_HID_NTRIG=yCONFIG_HID_ORTEK=mCONFIG_HID_PANTHERLORD=m
# CONFIG_PANTHERLORD_FF is not set
# CONFIG_HID_PENMOUNT is not setCONFIG_HID_PETALYNX=mCONFIG_HID_PICOLCD=mCONFIG_HID_PICOLCD_FB=yCONFIG_HID_PICOLCD_BACKLIGHT=yCONFIG_HID_PICOLCD_LCD=yCONFIG_HID_PICOLCD_LEDS=yCONFIG_HID_PICOLCD_CIR=yCONFIG_HID_PLANTRONICS=yCONFIG_HID_PRIMAX=m
# CONFIG_HID_RETRODE is not setCONFIG_HID_ROCCAT=mCONFIG_HID_SAITEK=mCONFIG_HID_SAMSUNG=mCONFIG_HID_SONY=m
# CONFIG_SONY_FF is not setCONFIG_HID_SPEEDLINK=m
# CONFIG_HID_STEAM is not setCONFIG_HID_STEELSERIES=mCONFIG_HID_SUNPLUS=mCONFIG_HID_RMI=mCONFIG_HID_GREENASIA=m
# CONFIG_GREENASIA_FF is not setCONFIG_HID_HYPERV_MOUSE=mCONFIG_HID_SMARTJOYPLUS=m
# CONFIG_SMARTJOYPLUS_FF is not setCONFIG_HID_TIVO=mCONFIG_HID_TOPSEED=mCONFIG_HID_THINGM=mCONFIG_HID_THRUSTMASTER=m
# CONFIG_THRUSTMASTER_FF is not set
# CONFIG_HID_UDRAW_PS3 is not set
# CONFIG_HID_U2FZERO is not setCONFIG_HID_WACOM=mCONFIG_HID_WIIMOTE=m
# CONFIG_HID_XINMO is not setCONFIG_HID_ZEROPLUS=m
# CONFIG_ZEROPLUS_FF is not setCONFIG_HID_ZYDACRON=mCONFIG_HID_SENSOR_HUB=mCONFIG_HID_SENSOR_CUSTOM_SENSOR=mCONFIG_HID_ALPS=m
# end of Special HID drivers
#
# USB HID support
#CONFIG_USB_HID=yCONFIG_HID_PID=yCONFIG_USB_HIDDEV=y
# end of USB HID support
#
# I2C HID support
#CONFIG_I2C_HID=m
# end of I2C HID support
#
# Intel ISH HID support
#CONFIG_INTEL_ISH_HID=y
# CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER is not set
# end of Intel ISH HID support # end of HID support
CONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=y
# CONFIG_USB_LED_TRIG is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_USB_CONN_GPIO is not setCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB=yCONFIG_USB_PCI=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not setCONFIG_USB_LEDS_TRIGGER_USBPORT=mCONFIG_USB_AUTOSUSPEND_DELAY=2CONFIG_USB_MON=y
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not setCONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_DBGCAP is not setCONFIG_USB_XHCI_PCI=y
# CONFIG_USB_XHCI_PLATFORM is not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=yCONFIG_USB_EHCI_PCI=y
# CONFIG_USB_EHCI_FSL is not set
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
# CONFIG_USB_MAX3421_HCD is not setCONFIG_USB_OHCI_HCD=yCONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not setCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_U132_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_BCMA is not set
# CONFIG_USB_HCD_SSB is not set
# CONFIG_USB_HCD_TEST_MODE is not set
#
# USB Device Class drivers
#CONFIG_USB_ACM=mCONFIG_USB_PRINTER=mCONFIG_USB_WDM=mCONFIG_USB_TMC=m
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_REALTEK=m CONFIG_REALTEK_AUTOPM=y CONFIG_USB_STORAGE_DATAFAB=m CONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=m CONFIG_USB_STORAGE_SDDR09=m CONFIG_USB_STORAGE_SDDR55=m CONFIG_USB_STORAGE_JUMPSHOT=m CONFIG_USB_STORAGE_ALAUDA=m CONFIG_USB_STORAGE_ONETOUCH=m CONFIG_USB_STORAGE_KARMA=m CONFIG_USB_STORAGE_CYPRESS_ATACB=m CONFIG_USB_STORAGE_ENE_UB6250=m CONFIG_USB_UAS=m
#
# USB Imaging devices
#CONFIG_USB_MDC800=mCONFIG_USB_MICROTEK=mCONFIG_USBIP_CORE=m
# CONFIG_USBIP_VHCI_HCD is not set
# CONFIG_USBIP_HOST is not set
# CONFIG_USBIP_DEBUG is not set
# CONFIG_USB_CDNS3 is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# CONFIG_USB_ISP1760 is not set
#
# USB port drivers
#CONFIG_USB_USS720=mCONFIG_USB_SERIAL=yCONFIG_USB_SERIAL_CONSOLE=yCONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_SIMPLE is not setCONFIG_USB_SERIAL_AIRCABLE=mCONFIG_USB_SERIAL_ARK3116=mCONFIG_USB_SERIAL_BELKIN=mCONFIG_USB_SERIAL_CH341=mCONFIG_USB_SERIAL_WHITEHEAT=mCONFIG_USB_SERIAL_DIGI_ACCELEPORT=mCONFIG_USB_SERIAL_CP210X=mCONFIG_USB_SERIAL_CYPRESS_M8=mCONFIG_USB_SERIAL_EMPEG=mCONFIG_USB_SERIAL_FTDI_SIO=mCONFIG_USB_SERIAL_VISOR=mCONFIG_USB_SERIAL_IPAQ=mCONFIG_USB_SERIAL_IR=mCONFIG_USB_SERIAL_EDGEPORT=mCONFIG_USB_SERIAL_EDGEPORT_TI=m
# CONFIG_USB_SERIAL_F81232 is not set
# CONFIG_USB_SERIAL_F8153X is not setCONFIG_USB_SERIAL_GARMIN=mCONFIG_USB_SERIAL_IPW=mCONFIG_USB_SERIAL_IUU=mCONFIG_USB_SERIAL_KEYSPAN_PDA=mCONFIG_USB_SERIAL_KEYSPAN=mCONFIG_USB_SERIAL_KLSI=mCONFIG_USB_SERIAL_KOBIL_SCT=mCONFIG_USB_SERIAL_MCT_U232=m
# CONFIG_USB_SERIAL_METRO is not setCONFIG_USB_SERIAL_MOS7720=mCONFIG_USB_SERIAL_MOS7715_PARPORT=yCONFIG_USB_SERIAL_MOS7840=m
# CONFIG_USB_SERIAL_MXUPORT is not setCONFIG_USB_SERIAL_NAVMAN=mCONFIG_USB_SERIAL_PL2303=mCONFIG_USB_SERIAL_OTI6858=mCONFIG_USB_SERIAL_QCAUX=mCONFIG_USB_SERIAL_QUALCOMM=mCONFIG_USB_SERIAL_SPCP8X5=mCONFIG_USB_SERIAL_SAFE=mCONFIG_USB_SERIAL_SAFE_PADDED=yCONFIG_USB_SERIAL_SIERRAWIRELESS=mCONFIG_USB_SERIAL_SYMBOL=m
# CONFIG_USB_SERIAL_TI is not setCONFIG_USB_SERIAL_CYBERJACK=mCONFIG_USB_SERIAL_XIRCOM=mCONFIG_USB_SERIAL_WWAN=mCONFIG_USB_SERIAL_OPTION=mCONFIG_USB_SERIAL_OMNINET=mCONFIG_USB_SERIAL_OPTICON=mCONFIG_USB_SERIAL_XSENS_MT=m
# CONFIG_USB_SERIAL_WISHBONE is not setCONFIG_USB_SERIAL_SSU100=mCONFIG_USB_SERIAL_QT2=m
# CONFIG_USB_SERIAL_UPD78F0730 is not setCONFIG_USB_SERIAL_DEBUG=m
#
# USB Miscellaneous drivers
#CONFIG_USB_EMI62=mCONFIG_USB_EMI26=mCONFIG_USB_ADUTUX=mCONFIG_USB_SEVSEG=mCONFIG_USB_LEGOTOWER=mCONFIG_USB_LCD=m
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not setCONFIG_USB_IDMOUSE=mCONFIG_USB_FTDI_ELAN=mCONFIG_USB_APPLEDISPLAY=mCONFIG_USB_SISUSBVGA=mCONFIG_USB_SISUSBVGA_CON=yCONFIG_USB_LD=m
# CONFIG_USB_TRANCEVIBRATOR is not setCONFIG_USB_IOWARRIOR=m
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not setCONFIG_USB_ISIGHTFW=m
# CONFIG_USB_YUREX is not setCONFIG_USB_EZUSB_FX2=m
# CONFIG_USB_HUB_USB251XB is not setCONFIG_USB_HSIC_USB3503=m
# CONFIG_USB_HSIC_USB4604 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set
# CONFIG_USB_CHAOSKEY is not setCONFIG_USB_ATM=mCONFIG_USB_SPEEDTOUCH=mCONFIG_USB_CXACRU=mCONFIG_USB_UEAGLEATM=mCONFIG_USB_XUSBATM=m
#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ISP1301 is not set
# end of USB Physical Layer drivers
# CONFIG_USB_GADGET is not setCONFIG_TYPEC=y
# CONFIG_TYPEC_TCPM is not setCONFIG_TYPEC_UCSI=y
# CONFIG_UCSI_CCG is not setCONFIG_UCSI_ACPI=y
# CONFIG_TYPEC_TPS6598X is not set
#
# USB Type-C Multiplexer/DeMultiplexer Switch support #
# CONFIG_TYPEC_MUX_PI3USB30532 is not set
# end of USB Type-C Multiplexer/DeMultiplexer Switch support
#
# USB Type-C Alternate Mode drivers
#
# CONFIG_TYPEC_DP_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers
# CONFIG_USB_ROLE_SWITCH is not setCONFIG_MMC=mCONFIG_MMC_BLOCK=mCONFIG_MMC_BLOCK_MINORS=8CONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set
#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not setCONFIG_MMC_SDHCI=mCONFIG_MMC_SDHCI_IO_ACCESSORS=yCONFIG_MMC_SDHCI_PCI=mCONFIG_MMC_RICOH_MMC=yCONFIG_MMC_SDHCI_ACPI=mCONFIG_MMC_SDHCI_PLTFM=m
# CONFIG_MMC_SDHCI_F_SDH30 is not set
# CONFIG_MMC_WBSD is not setCONFIG_MMC_TIFM_SD=m
# CONFIG_MMC_SPI is not setCONFIG_MMC_CB710=mCONFIG_MMC_VIA_SDMMC=mCONFIG_MMC_VUB300=mCONFIG_MMC_USHC=m
# CONFIG_MMC_USDHI6ROL0 is not setCONFIG_MMC_CQHCI=m
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MMC_MTK is not set
# CONFIG_MMC_SDHCI_XENON is not setCONFIG_MEMSTICK=m
# CONFIG_MEMSTICK_DEBUG is not set
#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not setCONFIG_MSPRO_BLOCK=m
# CONFIG_MS_BLOCK is not set
#
# MemoryStick Host Controller Drivers
#CONFIG_MEMSTICK_TIFM_MS=mCONFIG_MEMSTICK_JMICRON_38X=mCONFIG_MEMSTICK_R592=mCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
#
# LED drivers
#
# CONFIG_LEDS_APU is not setCONFIG_LEDS_LM3530=m
# CONFIG_LEDS_LM3532 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not setCONFIG_LEDS_LP3944=m
# CONFIG_LEDS_LP3952 is not setCONFIG_LEDS_LP55XX_COMMON=mCONFIG_LEDS_LP5521=mCONFIG_LEDS_LP5523=mCONFIG_LEDS_LP5562=m
# CONFIG_LEDS_LP8501 is not setCONFIG_LEDS_CLEVO_MAIL=m
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_PWM is not set
# CONFIG_LEDS_BD2802 is not setCONFIG_LEDS_INTEL_SS4200=m
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_TLC591XX is not set
# CONFIG_LEDS_LM355x is not set
#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM) #CONFIG_LEDS_BLINKM=m
# CONFIG_LEDS_MLXCPLD is not set
# CONFIG_LEDS_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_NIC78BX is not set
# CONFIG_LEDS_TI_LMU_COMMON is not set
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=mCONFIG_LEDS_TRIGGER_ONESHOT=m
# CONFIG_LEDS_TRIGGER_DISK is not set
# CONFIG_LEDS_TRIGGER_MTD is not setCONFIG_LEDS_TRIGGER_HEARTBEAT=mCONFIG_LEDS_TRIGGER_BACKLIGHT=m
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_ACTIVITY is not setCONFIG_LEDS_TRIGGER_GPIO=mCONFIG_LEDS_TRIGGER_DEFAULT_ON=m
#
# iptables trigger is under Netfilter config (LED target) # CONFIG_LEDS_TRIGGER_TRANSIENT=m CONFIG_LEDS_TRIGGER_CAMERA=m # CONFIG_LEDS_TRIGGER_PANIC is not set # CONFIG_LEDS_TRIGGER_NETDEV is not set # CONFIG_LEDS_TRIGGER_PATTERN is not set CONFIG_LEDS_TRIGGER_AUDIO=m # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set CONFIG_EDAC_DECODE_MCE=m CONFIG_EDAC_GHES=y CONFIG_EDAC_AMD64=m # CONFIG_EDAC_AMD64_ERROR_INJECTION is not set CONFIG_EDAC_E752X=m CONFIG_EDAC_I82975X=m CONFIG_EDAC_I3000=m CONFIG_EDAC_I3200=m CONFIG_EDAC_IE31200=m CONFIG_EDAC_X38=m CONFIG_EDAC_I5400=m CONFIG_EDAC_I7CORE=m CONFIG_EDAC_I5000=m CONFIG_EDAC_I5100=m CONFIG_EDAC_I7300=m CONFIG_EDAC_SBRIDGE=m CONFIG_EDAC_SKX=m # CONFIG_EDAC_I10NM is not set CONFIG_EDAC_PND2=m CONFIG_RTC_LIB=y CONFIG_RTC_MC146818_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_SYSTOHC is not set # CONFIG_RTC_DEBUG is not set CONFIG_RTC_NVMEM=y
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
2,414 lines not shown · raw message
Part of this message is not shown here. View the raw message.
Re: [nfs] c5654df66d: stress-ng.msg.ops_per_sec 15.5% improvement
Quoted 8 lines · kernel test robot
Greeting,
FYI, we noticed a 15.5% improvement of stress-ng.msg.ops_per_sec due to commit:
commit:
c5654df66d65f6b5f8967f15a0b61f89acb5941e("[PATCH 09/13] nfs: define and use theNFS_INO_INVALID_XATTRflag")
url: https://github.com/0day-ci/linux/commits/Frank-van-der-Linden/client-side-user-xattr-RFC8276-support/20200312-064740
base:git://git.linux-nfs.org/projects/trondmy/linux-nfs.gitlinux-next
Hm, I think I have doubts about the validity of a test that sees a 15% improvement in SysV msg ops after a change in the NFS client code :-)
- Frank
PATCH 10/13 nfs: make the buf_to_pages_noslab function available to the nfs code
In reply to Frank van der LindenMake the buf_to_pages_noslab function available to the rest of the NFS code. Rename it to nfs4_buf_to_pages_noslab to be consistent.
This will be used later in the NFSv4.2 xattr code.
--- fs/nfs/internal.h | 3 +++ fs/nfs/nfs4proc.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-)
fs/nfs/internal.h +3 -0
@@ -317,6 +317,9 @@ extern const u32 nfs42_maxlistxattrs_overhead;extern const struct rpc_procinfo nfs4_procedures[];#endif +extern int nfs4_buf_to_pages_noslab (const void *buf,size_t buflen, +struct page **pages); +#ifdef CONFIG_NFS_V4_SECURITY_LABEL extern struct nfs4_label *nfs4_label_alloc (struct nfs_server *server,gfp_t flags); static inline struct nfs4_label *
fs/nfs/nfs4proc.c +2 -2
@@ -5553,7 +5553,7 @@ static inline int nfs4_server_supports_acls(struct nfs_server *server)*/ #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE) -static int buf_to_pages_noslab (const void *buf,size_t buflen, +int nfs4_buf_to_pages_noslab (const void *buf,size_t buflen,struct page **pages) {struct page *newpage, **spages;
@@ -5795,7 +5795,7 @@ static int __nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflreturn -EOPNOTSUPP ;if (npages >ARRAY_SIZE (pages))return -ERANGE ; - i =buf_to_pages_noslab (buf, buflen, arg.acl_pages); + i =nfs4_buf_to_pages_noslab (buf, buflen, arg.acl_pages);if (i <0 )return i;nfs4_inode_make_writeable (inode);
Signature · 1 line
2.16.6
Re: [PATCH 10/13] nfs: make the buf_to_pages_noslab function available to the nfs code
Hi Frank,
Quoted 16 lines · Frank van der Linden
Make the
buf_to_pages_noslabfunction available to the rest of the NFS code. Rename it tonfs4_buf_to_pages_noslabto be consistent.This will be used later in the NFSv4.2 xattr code.
Signed-off-by Frank van der Linden <[email protected]>--- fs/nfs/internal.h | 3 +++ fs/nfs/nfs4proc.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-)fs/nfs/internal.h +0
-0
fs/nfs/internal.h extern const u32 nfs42_maxlistxattrs_overhead; · line 322
Quoted 6 lines
fs/nfs/internal.h +3
-0@@ -317,6 +317,9 @@ extern const u32 nfs42_maxlistxattrs_overhead;extern const struct rpc_procinfo nfs4_procedures[];#endif +extern int nfs4_buf_to_pages_noslab (const void *buf,size_t buflen, +struct page **pages); +
Please put this in nfs4_fs.h, as its only callers are nfs4proc.c and nfs42proc.c
Thanks,
Anna
Quoted 28 lines
fs/nfs/internal.h +0
-0#ifdef CONFIG_NFS_V4_SECURITY_LABEL extern struct nfs4_label *nfs4_label_alloc (struct nfs_server *server,gfp_t flags);static inline struct
nfs4_label*fs/nfs/nfs4proc.c +1
-1@@ -5553,7 +5553,7 @@ static inline int nfs4_server_supports_acls(structnfs_server *server) */ #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE) -static int buf_to_pages_noslab (const void *buf,size_t buflen, +int nfs4_buf_to_pages_noslab (const void *buf,size_t buflen,struct page **pages) {fs/nfs/nfs4proc.c +0
-0struct page *newpage, **spages;@@ -5795,7 +5795,7 @@ static int __nfs4_proc_set_acl(struct inode *inode,const void *buf,
size_tbuflfs/nfs/nfs4proc.c +1
-1return -EOPNOTSUPP ;if (npages >ARRAY_SIZE (pages))return -ERANGE ; - i =buf_to_pages_noslab (buf, buflen, arg.acl_pages); + i =nfs4_buf_to_pages_noslab (buf, buflen, arg.acl_pages);if (i <0 )return i;nfs4_inode_make_writeable (inode);
PATCH 11/13 NFSv4.2: add the extended attribute proc functions.
In reply to Frank van der LindenImplement the extended attribute procedures for NFSv4.2 extended attribute support (RFC 8276).
--- fs/nfs/nfs42.h | 8 ++ fs/nfs/nfs42proc.c | 236 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 244 insertions(+)
fs/nfs/nfs42.h +8 -0
@@ -39,6 +39,14 @@ static inline bool nfs42_files_from_same_server(struct file *in, c_out->cl_serverowner); } +ssize_t nfs42_proc_getxattr (struct inode *inode,const char *name, +void *buf,size_t buflen); +int nfs42_proc_setxattr (struct inode *inode,const char *name, +const void *buf,size_t buflen,int flags); +ssize_t nfs42_proc_listxattrs (struct inode *inode,void *buf, +size_t buflen,u64 *cookiep,bool *eofp); +int nfs42_proc_removexattr (struct inode *inode,const char *name); +/* * Maximum XDR buffer size needed for a listxattr buffer of buflen size. *
fs/nfs/nfs42proc.c +236 -0
239 lines not on this page · raw message
Signature · 1 line
2.16.6
PATCH 12/13 NFSv4.2: hook in the user extended attribute handlers
In reply to Frank van der LindenNow that all the lower level code is there to make the RPC calls, hook it in to the xattr handlers and the listxattr entry point, to make them available.
--- fs/nfs/nfs4proc.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 121 insertions(+), 2 deletions(-)
fs/nfs/nfs4proc.c +121 -2
@@ -66,6 +66,7 @@#include "nfs4idmap.h" #include "nfs4session.h" #include "fscache.h" +#include "nfs42.h" #include "nfs4trace.h"
@@ -7451,6 +7452,103 @@ nfs4_listxattr_nfs4_label(struct inode *inode, char *list, size_t list_len)#endif +#ifdef CONFIG_NFS_V4_2 +static int nfs4_xattr_set_nfs4_user (const struct xattr_handler *handler, +struct dentry *unused,struct inode *inode, +const char *key,const void *buf, +size_t buflen,int flags) +{ +struct nfs_access_entry cache; + +if (!nfs_server_capable (inode,NFS_CAP_XATTR )) +return -EOPNOTSUPP ; + +/* +* There is no mapping from the MAY_* flags to the NFS_ACCESS_XA* +* flags right now. Handling of xattr operations use the normal +* file read/write permissions. +* +* Just in case the server has other ideas (which RFC 8276 allows), +* do a cached access check for the XA* flags to possibly avoid +* doing an RPC and getting EACCES back. +*/ +if (!nfs_access_get_cached (inode,current_cred (), &cache, true)) { +if (!(cache.mask &NFS_ACCESS_XAWRITE )) +return -EACCES ; + } + +if (buf ==NULL ) +return nfs42_proc_removexattr (inode, key); +else +return nfs42_proc_setxattr (inode, key, buf, buflen, flags); +} + +static int nfs4_xattr_get_nfs4_user (const struct xattr_handler *handler, +struct dentry *unused,struct inode *inode, +const char *key,void *buf,size_t buflen) +{ +struct nfs_access_entry cache; + +if (!nfs_server_capable (inode,NFS_CAP_XATTR )) +return -EOPNOTSUPP ; + +if (!nfs_access_get_cached (inode,current_cred (), &cache, true)) { +if (!(cache.mask &NFS_ACCESS_XAREAD )) +return -EACCES ; + } + +return nfs42_proc_getxattr (inode, key, buf, buflen); +} + +static ssize_t +nfs4_listxattr_nfs4_user (struct inode *inode,char *list,size_t list_len) +{ +u64 cookie; +bool eof; +int ret, size; +char *buf; +size_t buflen; +struct nfs_access_entry cache; + +if (!nfs_server_capable (inode,NFS_CAP_XATTR )) +return 0 ; + +if (!nfs_access_get_cached (inode,current_cred (), &cache, true)) { +if (!(cache.mask &NFS_ACCESS_XALIST )) +return 0 ; + } + + cookie =0 ; + eof = false; + buflen = list_len ? list_len :XATTR_LIST_MAX ; + buf = list_len ? list :NULL ; + size =0 ; + +while (!eof) { + ret =nfs42_proc_listxattrs (inode, buf, buflen, + &cookie, &eof); +if (ret <0 ) +return ret; + +if (list_len) { + buf += ret; + buflen -= ret; + } + size += ret; + } + +return size; +} + +#else + +static ssize_t +nfs4_listxattr_nfs4_user (struct inode *inode,char *list,size_t list_len) +{ +return 0 ; +} +#endif /* CONFIG_NFS_V4_2 */ +/* * nfs_fhget will use either the mounted_on_fileid or the fileid */
@@ -10048,7 +10146,7 @@ const struct nfs4_minor_version_ops *nfs_v4_minor_ops[] = {static ssize_t nfs4_listxattr (struct dentry *dentry,char *list,size_t size) { -ssize_t error, error2; +ssize_t error, error2, error3; error =generic_listxattr (dentry, list, size);if (error <0 )
@@ -10061,7 +10159,17 @@ static ssize_t nfs4_listxattr(struct dentry *dentry, char *list, size_t size) error2 =nfs4_listxattr_nfs4_label (d_inode (dentry), list, size);if (error2 <0 )return error2; -return error + error2; + +if (list) { + list += error2; + size -= error2; + } + + error3 =nfs4_listxattr_nfs4_user (d_inode (dentry), list, size); +if (error3 <0 ) +return error3; + +return error + error2 + error3; }static const struct inode_operations nfs4_dir_inode_operations = {
@@ -10149,10 +10257,21 @@ static const struct xattr_handler nfs4_xattr_nfs4_acl_handler = { .set = nfs4_xattr_set_nfs4_acl, }; +#ifdef CONFIG_NFS_V4_2 +static const struct xattr_handler nfs4_xattr_nfs4_user_handler = { + .prefix =XATTR_USER_PREFIX , + .get = nfs4_xattr_get_nfs4_user, + .set = nfs4_xattr_set_nfs4_user, +}; +#endif +const struct xattr_handler *nfs4_xattr_handlers[] = { &nfs4_xattr_nfs4_acl_handler, #ifdef CONFIG_NFS_V4_SECURITY_LABEL &nfs4_xattr_nfs4_label_handler, +#endif +#ifdef CONFIG_NFS_V4_2 + &nfs4_xattr_nfs4_user_handler, #endifNULL };
Signature · 1 line
2.16.6
PATCH 13/13 NFSv4.2: add client side xattr caching.
In reply to Frank van der LindenImplement client side caching for NFSv4.2 extended attributes. The cache is a per-inode hashtable, with name/value entries. There is one special entry for the listxattr cache.
NFS inodes have a pointer to a cache structure. The cache structure is allocated on demand, freed when the cache is invalidated.
Memory shrinkers keep the size in check. Large entries (> PAGE_SIZE) are collected by a separate shrinker, and freed more aggressively than others.
--- fs/nfs/Makefile | 1 + fs/nfs/inode.c | 9 +- fs/nfs/internal.h | 20 + fs/nfs/nfs42proc.c | 12 + fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4proc.c | 42 +- fs/nfs/nfs4super.c | 10 + include/linux/nfs_fs.h | 6 + include/uapi/linux/nfs_fs.h | 1 + 9 files changed, 1177 insertions(+), 7 deletions(-) create mode 100644 fs/nfs/nfs42xattr.c
fs/nfs/Makefile +1 -0
@@ -31,6 +31,7 @@ nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o +nfsv4-$(CONFIG_NFS_V4_2) += nfs42xattr.o obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ obj-$(CONFIG_PNFS_BLOCK) += blocklayout/
fs/nfs/inode.c +8 -1
@@ -194,6 +194,7 @@ bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags)return nfs_check_cache_invalid_not_delegated (inode, flags); } +EXPORT_SYMBOL_GPL (nfs_check_cache_invalid);static void nfs_set_cache_invalid (struct inode *inode,unsigned long flags) {
@@ -235,11 +236,13 @@ static void nfs_zap_caches_locked(struct inode *inode) | NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR | NFS_INO_REVAL_PAGECACHE); }else nfs_set_cache_invalid (inode,NFS_INO_INVALID_ATTR |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR |NFS_INO_REVAL_PAGECACHE );nfs_zap_label_cache_locked (nfsi); }
@@ -1885,7 +1888,8 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)if (!(have_writers || have_delegation)) { invalid |=NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS - |NFS_INO_INVALID_ACL ; + |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR ;/* Force revalidate of all attributes */ save_cache_validity |=NFS_INO_INVALID_CTIME |NFS_INO_INVALID_MTIME
@@ -2084,6 +2088,9 @@ struct inode *nfs_alloc_inode(struct super_block *sb)#if IS_ENABLED (CONFIG_NFS_V4 ) nfsi->nfs4_acl =NULL ;#endif /* CONFIG_NFS_V4 */ +#ifdef CONFIG_NFS_V4_2 + nfsi->xattr_cache =NULL ; +#endif return &nfsi->vfs_inode; }EXPORT_SYMBOL_GPL (nfs_alloc_inode);
fs/nfs/internal.h +20 -0
@@ -575,6 +575,26 @@ extern void nfs4_test_session_trunk(struct rpc_clnt *clnt,struct rpc_xprt *xprt, void *data); +#ifdef CONFIG_NFS_V4_2 +extern int __init nfs4_xattr_cache_init (void ); +extern void nfs4_xattr_cache_exit (void ); +extern void nfs4_xattr_cache_add (struct inode *inode,const char *name, +const char *buf,struct page **pages, +ssize_t buflen); +extern void nfs4_xattr_cache_remove (struct inode *inode,const char *name); +extern ssize_t nfs4_xattr_cache_get (struct inode *inode,const char *name, +char *buf,ssize_t buflen); +extern void nfs4_xattr_cache_set_list (struct inode *inode,const char *buf, +ssize_t buflen); +extern ssize_t nfs4_xattr_cache_list (struct inode *inode,char *buf, +ssize_t buflen); +extern void nfs4_xattr_cache_zap (struct inode *inode); +#else +static inline void nfs4_xattr_cache_zap (struct inode *inode) +{ +} +#endif +static inline struct inode *nfs_igrab_and_active (struct inode *inode) { inode =igrab (inode);
fs/nfs/nfs42proc.c +12 -0
@@ -1182,6 +1182,18 @@ static ssize_t _nfs42_proc_getxattr(struct inode *inode, const char *name,if (ret <0 )return ret; +/* +* Normally, the caching is done one layer up, but for successful +* RPCS, always cache the result here, even if the caller was +* just querying the length, or if the reply was too big for +* the caller. This avoids a second RPC in the case of the +* common query-alloc-retrieve cycle for xattrs. +* +* Note that xattr_len is always capped to XATTR_SIZE_MAX. +*/ + +nfs4_xattr_cache_add (inode, name,NULL , pages, res.xattr_len); +if (buflen) {if (res.xattr_len > buflen)return -ERANGE ;
fs/nfs/nfs42xattr.c new file +1083 -0
1,083 lines not on this page · raw message
fs/nfs/nfs4proc.c +36 -6
84 lines not on this page · raw message
fs/nfs/nfs4super.c +10 -0
@@ -69,6 +69,7 @@ static void nfs4_evict_inode(struct inode *inode)pnfs_destroy_layout (NFS_I (inode));/* First call standard NFS clear_inode() code */ nfs_clear_inode (inode); +nfs4_xattr_cache_zap (inode); }struct nfs_referral_count {
@@ -268,6 +269,12 @@ static int __init init_nfs_v4(void)if (err) goto out1; +#ifdef CONFIG_NFS_V4_2 + err =nfs4_xattr_cache_init (); +if (err) + goto out2; +#endif + err =nfs4_register_sysctl ();if (err) goto out2;
@@ -288,6 +295,9 @@ static void __exit exit_nfs_v4(void)nfs4_pnfs_v3_ds_connect_unload ();unregister_nfs_version (&nfs_v4); +#ifdef CONFIG_NFS_V4_2 +nfs4_xattr_cache_exit (); +#endif nfs4_unregister_sysctl ();nfs_idmap_quit ();nfs_dns_resolver_destroy ();
include/linux/nfs_fs.h +6 -0
@@ -102,6 +102,8 @@ struct nfs_delegation;struct posix_acl ; +struct nfs4_xattr_cache ; +/* * nfs fs inode data in memory */
@@ -188,6 +190,10 @@ struct nfs_inode {struct fscache_cookie *fscache;#endif struct inode vfs_inode; + +#ifdef CONFIG_NFS_V4_2 +struct nfs4_xattr_cache *xattr_cache; +#endif };struct nfs4_copy_state {
include/uapi/linux/nfs_fs.h +1 -0
@@ -56,6 +56,7 @@#define NFSDBG_PNFS 0x1000#define NFSDBG_PNFS_LD 0x2000#define NFSDBG_STATE 0x4000 +#define NFSDBG_XATTRCACHE 0x8000#define NFSDBG_ALL 0xFFFF
Signature · 1 line
2.16.6
Re: [PATCH 13/13] NFSv4.2: add client side xattr caching.
Hi Frank,
Quoted 105 lines · Frank van der Linden
Implement client side caching for NFSv4.2 extended attributes. The cache is a per-inode hashtable, with name/value entries. There is one special entry for the listxattr cache.
NFS inodes have a pointer to a cache structure. The cache structure is allocated on demand, freed when the cache is invalidated.
Memory shrinkers keep the size in check. Large entries (>
PAGE_SIZE) are collected by a separate shrinker, and freed more aggressively than others.Signed-off-by Frank van der Linden <[email protected]>--- fs/nfs/Makefile | 1 + fs/nfs/inode.c | 9 +- fs/nfs/internal.h | 20 + fs/nfs/nfs42proc.c | 12 + fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4proc.c | 42 +- fs/nfs/nfs4super.c | 10 + include/linux/nfs_fs.h | 6 + include/uapi/linux/nfs_fs.h | 1 + 9 files changed, 1177 insertions(+), 7 deletions(-) create mode 100644 fs/nfs/nfs42xattr.cfs/nfs/Makefile +1
-0@@ -31,6 +31,7 @@ nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o +nfsv4-$(CONFIG_NFS_V4_2) += nfs42xattr.o obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ obj-$(CONFIG_PNFS_BLOCK) += blocklayout/fs/nfs/inode.c +1
-0@@ -194,6 +194,7 @@ bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags)return nfs_check_cache_invalid_not_delegated (inode, flags); } +EXPORT_SYMBOL_GPL (nfs_check_cache_invalid);static void nfs_set_cache_invalid (struct inode *inode,unsigned long flags){
fs/nfs/inode.c +4
-1@@ -235,11 +236,13 @@ static void nfs_zap_caches_locked(struct inode *inode) | NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR | NFS_INO_REVAL_PAGECACHE); }else nfs_set_cache_invalid (inode,NFS_INO_INVALID_ATTR |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR |NFS_INO_REVAL_PAGECACHE );nfs_zap_label_cache_locked (nfsi); }@@ -1885,7 +1888,8 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)if (!(have_writers || have_delegation)) { invalid |=NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS - |NFS_INO_INVALID_ACL ; + |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR ;/* Force revalidate of all attributes */ save_cache_validity |=NFS_INO_INVALID_CTIME fs/nfs/inode.c +3
-0| NFS_INO_INVALID_MTIME@@ -2084,6 +2088,9 @@ struct inode *nfs_alloc_inode(struct super_block *sb)#if IS_ENABLED (CONFIG_NFS_V4 ) nfsi->nfs4_acl =NULL ;#endif /* CONFIG_NFS_V4 */ +#ifdef CONFIG_NFS_V4_2 + nfsi->xattr_cache =NULL ; +#endif return &nfsi->vfs_inode; }EXPORT_SYMBOL_GPL (nfs_alloc_inode);fs/nfs/internal.h +10
-0@@ -575,6 +575,26 @@ extern void nfs4_test_session_trunk(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *data); +#ifdef CONFIG_NFS_V4_2 +extern int __init nfs4_xattr_cache_init (void ); +extern void nfs4_xattr_cache_exit (void ); +extern void nfs4_xattr_cache_add (struct inode *inode,const char *name, +const char *buf,struct page **pages, +ssize_t buflen); +extern void nfs4_xattr_cache_remove (struct inode *inode,const char *name); +extern ssize_t nfs4_xattr_cache_get (struct inode *inode,const char *name, +char *buf,ssize_t buflen); +extern void nfs4_xattr_cache_set_list(struct inode *inode, const char *buf,
fs/nfs/internal.h extern void nfs4_test_session_trunk(struct rpc_clnt · line 598
Quoted 10 lines
fs/nfs/internal.h +10
-0+ ssize_t buflen); +extern ssize_t nfs4_xattr_cache_list (struct inode *inode,char *buf, +ssize_t buflen); +extern void nfs4_xattr_cache_zap (struct inode *inode); +#else +static inline void nfs4_xattr_cache_zap (struct inode *inode) +{ +} +#endif +
Same thing with these functions. The generic client doesn't need to know about them, so please move it into nfs4_fs.h instead.
Thanks,
Anna
Quoted 1,291 lines
fs/nfs/internal.h +0
-0static inline struct inode *nfs_igrab_and_active (struct inode *inode) {fs/nfs/internal.h +0
-0inode =igrab (inode);fs/nfs/nfs42proc.c +12
-0@@ -1182,6 +1182,18 @@ static ssize_t _nfs42_proc_getxattr(struct inode *inode, const char *name, if (ret < 0)return ret; +/* +* Normally, the caching is done one layer up, but for successful +* RPCS, always cache the result here, even if the caller was +* just querying the length, or if the reply was too big for +* the caller. This avoids a second RPC in the case of the +* common query-alloc-retrieve cycle for xattrs. +* +* Note that xattr_len is always capped to XATTR_SIZE_MAX. +*/ + +nfs4_xattr_cache_add (inode, name,NULL , pages, res.xattr_len); +if (buflen) {if (res.xattr_len > buflen)fs/nfs/nfs42proc.c +0
-0return -ERANGE ;fs/nfs/nfs42xattr.c new file +4
-0@@ -0,0 +1,1083 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Copyright 2019, 2020 Amazon.com, Inc. or its affiliates. All rights reserved.
+ *
+ * User extended attribute client side cache functions.
+ *
+ * Author: Frank van der Linden <[email protected]>
+ */fs/nfs/nfs42xattr.c new file +620
-0+#include <linux/errno.h> +#include <linux/nfs_fs.h> +#include <linux/hashtable.h> +#include <linux/refcount.h> +#include <uapi/linux/xattr.h> + +#include "nfs4_fs.h" +#include "internal.h" + +/* +* User extended attributes client side caching is implemented by having +* a cache structure attached to NFS inodes. This structure is allocated +* when needed, and freed when the cache is zapped. +* +* The cache structure contains as hash table of entries, and a pointer +* to a special-cased entry for the listxattr cache. +* +* Accessing and allocating / freeing the caches is done via reference +* counting. The cache entries use a similar refcounting scheme. +* +* This makes freeing a cache, both from the shrinker and from the +* zap cache path, easy. It also means that, in current use cases, +* the large majority of inodes will not waste any memory, as they +* will never have any user extended attributes assigned to them. +* +* Attribute entries are hashed in to a simple hash table. They are +* also part of an LRU. +* +* There are three shrinkers. +* +* Two shrinkers deal with the cache entries themselves: one for +* large entries (> PAGE_SIZE), and one for smaller entries. The +* shrinker for the larger entries works more aggressively than +* those for the smaller entries. +* +* The other shrinker frees the cache structures themselves. +*/ + +/* +* 64 buckets is a good default. There is likely no reasonable +* workload that uses more than even 64 user extended attributes. +* You can certainly add a lot more - but you get what you ask for +* in those circumstances. +*/ +#define NFS4_XATTR_HASH_SIZE 64 + +#define NFSDBG_FACILITY NFSDBG_XATTRCACHE + +struct nfs4_xattr_cache ; +struct nfs4_xattr_entry ; + +struct nfs4_xattr_bucket { +spinlock_t lock; +struct hlist_head hlist; +struct nfs4_xattr_cache *cache; +bool draining; +}; + +struct nfs4_xattr_cache { +struct kref ref; +spinlock_t hash_lock;/* protects hashtable and lru */ +struct nfs4_xattr_bucket buckets[NFS4_XATTR_HASH_SIZE ]; +struct list_head lru; +struct list_head dispose; +atomic_long_t nent; +spinlock_t listxattr_lock; +struct inode *inode; +struct nfs4_xattr_entry *listxattr; +struct work_struct work; +}; + +struct nfs4_xattr_entry { +struct kref ref; +struct hlist_node hnode; +struct list_head lru; +struct list_head dispose; +char *xattr_name; +void *xattr_value; +size_t xattr_size; +struct nfs4_xattr_bucket *bucket; +uint32_t flags; +}; + +#define NFS4_XATTR_ENTRY_EXTVAL 0x0001 + +/* +* LRU list of NFS inodes that have xattr caches. +*/ +static struct list_lru nfs4_xattr_cache_lru; +static struct list_lru nfs4_xattr_entry_lru; +static struct list_lru nfs4_xattr_large_entry_lru; + +static struct kmem_cache *nfs4_xattr_cache_cachep; + +static struct workqueue_struct *nfs4_xattr_cache_wq; + +/* +* Hashing helper functions. +*/ +static void +nfs4_xattr_hash_init (struct nfs4_xattr_cache *cache) +{ +unsigned int i; + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { +INIT_HLIST_HEAD (&cache->buckets[i].hlist); +spin_lock_init (&cache->buckets[i].lock); + cache->buckets[i].cache = cache; + cache->buckets[i].draining = false; + } +} + +/* +* Locking order: +* 1. inode i_lock or bucket lock +* 2. list_lru lock (taken by list_lru_* functions) +*/ + +/* +* Wrapper functions to add a cache entry to the right LRU. +*/ +static bool +nfs4_xattr_entry_lru_add (struct nfs4_xattr_entry *entry) +{ +struct list_lru *lru; + + lru = (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + +return list_lru_add (lru, &entry->lru); +} + +static bool +nfs4_xattr_entry_lru_del (struct nfs4_xattr_entry *entry) +{ +struct list_lru *lru; + + lru = (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + +return list_lru_del (lru, &entry->lru); +} + +/* +* This function allocates cache entries. They are the normal +* extended attribute name/value pairs, but may also be a listxattr +* cache. Those allocations use the same entry so that they can be +* treated as one by the memory shrinker. +* +* xattr cache entries are allocated together with names. If the +* value fits in to one page with the entry structure and the name, +* it will also be part of the same allocation (kmalloc). This is +* expected to be the vast majority of cases. Larger allocations +* have a value pointer that is allocated separately by kvmalloc. +* +* Parameters: +* +* @name: Name of the extended attribute. NULL for listxattr cache +* entry. +* @value: Value of attribute, or listxattr cache. NULL if the +* value is to be copied from pages instead. +* @pages: Pages to copy the value from, if not NULL. Passed in to +* make it easier to copy the value after an RPC, even if +* the value will not be passed up to application (e.g. +* for a 'query' getxattr with NULL buffer). +* @len: Length of the value. Can be 0 for zero-length attribues. +* @value and @pages will be NULL if @len is 0. +*/ +static struct nfs4_xattr_entry * +nfs4_xattr_alloc_entry (const char *name,const void *value, +struct page **pages,size_t len) +{ +struct nfs4_xattr_entry *entry; +void *valp; +char *namep; +size_t alloclen, slen; +char *buf; +uint32_t flags; + +BUILD_BUG_ON (sizeof (struct nfs4_xattr_entry ) + +XATTR_NAME_MAX +1 >PAGE_SIZE ); + + alloclen =sizeof (struct nfs4_xattr_entry ); +if (name !=NULL ) { + slen =strlen (name) +1 ; + alloclen += slen; + }else + slen =0 ; + +if (alloclen + len <=PAGE_SIZE ) { + alloclen += len; + flags =0 ; + }else { + flags =NFS4_XATTR_ENTRY_EXTVAL ; + } + + buf =kmalloc (alloclen,GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (buf ==NULL ) +return NULL ; + entry = (struct nfs4_xattr_entry *)buf; + +if (name !=NULL ) { + namep = buf +sizeof (struct nfs4_xattr_entry ); +memcpy (namep, name, slen); + }else { + namep =NULL ; + } + + +if (flags &NFS4_XATTR_ENTRY_EXTVAL ) { + valp =kvmalloc (len,GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (valp ==NULL ) { +kfree (buf); +return NULL ; + } + }else if (len !=0 ) { + valp = buf +sizeof (struct nfs4_xattr_entry ) + slen; + }else + valp =NULL ; + +if (valp !=NULL ) { +if (value !=NULL ) +memcpy (valp, value, len); +else +_copy_from_pages (valp, pages,0 , len); + } + + entry->flags = flags; + entry->xattr_value = valp; +kref_init (&entry->ref); + entry->xattr_name = namep; + entry->xattr_size = len; + entry->bucket =NULL ; +INIT_LIST_HEAD (&entry->lru); +INIT_LIST_HEAD (&entry->dispose); +INIT_HLIST_NODE (&entry->hnode); + +return entry; +} + +static void +nfs4_xattr_free_entry (struct nfs4_xattr_entry *entry) +{ +if (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) +kvfree (entry->xattr_value); +kfree (entry); +} + +static void +nfs4_xattr_free_entry_cb (struct kref *kref) +{ +struct nfs4_xattr_entry *entry; + + entry = container_of(kref, struct nfs4_xattr_entry, ref); + +if (WARN_ON (!list_empty (&entry->lru))) +return ; + +nfs4_xattr_free_entry (entry); +} + +static void +nfs4_xattr_free_cache_cb (struct kref *kref) +{ +struct nfs4_xattr_cache *cache; +int i; + + cache = container_of(kref, struct nfs4_xattr_cache, ref); + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { +if (WARN_ON (!hlist_empty (&cache->buckets[i].hlist))) +return ; + cache->buckets[i].draining = false; + } + + cache->listxattr =NULL ; + +kmem_cache_free (nfs4_xattr_cache_cachep, cache); + +} + +static struct nfs4_xattr_cache * +nfs4_xattr_alloc_cache (void ) +{ +struct nfs4_xattr_cache *cache; + + cache =kmem_cache_alloc (nfs4_xattr_cache_cachep, +GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (cache ==NULL ) +return NULL ; + +kref_init (&cache->ref); +atomic_long_set (&cache->nent,0 ); + +return cache; +} + +/* +* Set the listxattr cache, which is a special-cased cache entry. +* The special value ERR_PTR(-ESTALE) is used to indicate that +* the cache is being drained - this prevents a new listxattr +* cache from being added to what is now a stale cache. +*/ +static int +nfs4_xattr_set_listcache (struct nfs4_xattr_cache *cache, +struct nfs4_xattr_entry *new) +{ +struct nfs4_xattr_entry *old; +int ret =1 ; + +spin_lock (&cache->listxattr_lock); + + old = cache->listxattr; + +if (old ==ERR_PTR (-ESTALE )) { + ret =0 ; + goto out; + } + + cache->listxattr = new; +if (new !=NULL && new !=ERR_PTR (-ESTALE )) +nfs4_xattr_entry_lru_add (new); + +if (old !=NULL ) { +nfs4_xattr_entry_lru_del (old); +kref_put (&old->ref, nfs4_xattr_free_entry_cb); + } +out: +spin_unlock (&cache->listxattr_lock); + +return ret; +} + +/* +* Unlink a cache from its parent inode, clearing out an invalid +* cache. Must be called with i_lock held. +*/ +static struct nfs4_xattr_cache * +nfs4_xattr_cache_unlink (struct inode *inode) +{ +struct nfs_inode *nfsi; +struct nfs4_xattr_cache *oldcache; + + nfsi =NFS_I (inode); + + oldcache = nfsi->xattr_cache; +if (oldcache !=NULL ) { +list_lru_del (&nfs4_xattr_cache_lru, &oldcache->lru); + oldcache->inode =NULL ; + } + nfsi->xattr_cache =NULL ; + nfsi->cache_validity &= ~NFS_INO_INVALID_XATTR ; + +return oldcache; + +} + +/* +* Discard a cache. Usually called by a worker, since walking all +* the entries can take up some cycles that we don't want to waste +* in the I/O path. Can also be called from the shrinker callback. +* +* The cache is dead, it has already been unlinked from its inode, +* and no longer appears on the cache LRU list. +* +* Mark all buckets as draining, so that no new entries are added. This +* could still happen in the unlikely, but possible case that another +* thread had grabbed a reference before it was unlinked from the inode, +* and is still holding it for an add operation. +* +* Remove all entries from the LRU lists, so that there is no longer +* any way to 'find' this cache. Then, remove the entries from the hash +* table. +* +* At that point, the cache will remain empty and can be freed when the final +* reference drops, which is very likely the kref_put at the end of +* this function, or the one called immediately afterwards in the +* shrinker callback. +*/ +static void +nfs4_xattr_discard_cache (struct nfs4_xattr_cache *cache) +{ +unsigned int i; +struct nfs4_xattr_entry *entry; +struct nfs4_xattr_bucket *bucket; +struct hlist_node *n; + +nfs4_xattr_set_listcache (cache,ERR_PTR (-ESTALE )); + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { + bucket = &cache->buckets[i]; + +spin_lock (&bucket->lock); + bucket->draining = true; +hlist_for_each_entry_safe (entry, n, &bucket->hlist, hnode) { +nfs4_xattr_entry_lru_del (entry); +hlist_del_init (&entry->hnode); +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + } +spin_unlock (&bucket->lock); + } + +atomic_long_set (&cache->nent,0 ); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +static void +nfs4_xattr_discard_cache_worker (struct work_struct *work) +{ +struct nfs4_xattr_cache *cache =container_of (work, + struct nfs4_xattr_cache, work); + +nfs4_xattr_discard_cache (cache); +} + +static void +nfs4_xattr_reap_cache (struct nfs4_xattr_cache *cache) +{ +queue_work (nfs4_xattr_cache_wq, &cache->work); +} + +/* +* Get a referenced copy of the cache structure. Avoid doing allocs +* while holding i_lock. Which means that we do some optimistic allocation, +* and might have to free the result in rare cases. +* +* This function only checks the NFS_INO_INVALID_XATTR cache validity bit +* and acts accordingly, replacing the cache when needed. For the read case +* (!add), this means that the caller must make sure that the cache +* is valid before caling this function. getxattr and listxattr call +* revalidate_inode to do this. The attribute cache timeout (for the +* non-delegated case) is expected to be dealt with in the revalidate +* call. +*/ + +static struct nfs4_xattr_cache * +nfs4_xattr_get_cache (struct inode *inode,int add) +{ +struct nfs_inode *nfsi; +struct nfs4_xattr_cache *cache, *oldcache, *newcache; + + nfsi =NFS_I (inode); + + cache = oldcache =NULL ; + +spin_lock (&inode->i_lock); + +if (nfsi->cache_validity &NFS_INO_INVALID_XATTR ) + oldcache =nfs4_xattr_cache_unlink (inode); +else + cache = nfsi->xattr_cache; + +if (cache !=NULL ) +kref_get (&cache->ref); + +spin_unlock (&inode->i_lock); + +if (add && cache ==NULL ) { + newcache =NULL ; + + cache =nfs4_xattr_alloc_cache (); +if (cache ==NULL ) + goto out; + +spin_lock (&inode->i_lock); +if (nfsi->cache_validity &NFS_INO_INVALID_XATTR ) { +/* +* The cache was invalidated again. Give up, +* since what we want to enter is now likely +* outdated anyway. +*/ +spin_unlock (&inode->i_lock); +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + cache =NULL ; + goto out; + } + +/* +* Check if someone beat us to it. +*/ +if (nfsi->xattr_cache !=NULL ) { + newcache = nfsi->xattr_cache; +kref_get (&newcache->ref); + }else { +kref_get (&cache->ref); + nfsi->xattr_cache = cache; + cache->inode = inode; +list_lru_add (&nfs4_xattr_cache_lru, &cache->lru); + } + +spin_unlock (&inode->i_lock); + +/* +* If there was a race, throw away the cache we just +* allocated, and use the new one allocated by someone +* else. +*/ +if (newcache !=NULL ) { +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + cache = newcache; + } + } + +out: +/* +* Discarding an old cache is done via a workqueue. +*/ +if (oldcache !=NULL ) +nfs4_xattr_reap_cache (oldcache); + +return cache; +} + +static inline struct nfs4_xattr_bucket * +nfs4_xattr_hash_bucket (struct nfs4_xattr_cache *cache,const char *name) +{ +return &cache->buckets[jhash (name,strlen (name),0 ) & + (ARRAY_SIZE (cache->buckets) -1 )]; +} + +static struct nfs4_xattr_entry * +nfs4_xattr_get_entry (struct nfs4_xattr_bucket *bucket,const char *name) +{ +struct nfs4_xattr_entry *entry; + + entry =NULL ; + +hlist_for_each_entry (entry, &bucket->hlist, hnode) { +if (!strcmp (entry->xattr_name, name)) +break ; + } + +return entry; +} + +static int +nfs4_xattr_hash_add (struct nfs4_xattr_cache *cache, +struct nfs4_xattr_entry *entry) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *oldentry =NULL ; +int ret =1 ; + + bucket =nfs4_xattr_hash_bucket (cache, entry->xattr_name); + entry->bucket = bucket; + +spin_lock (&bucket->lock); + +if (bucket->draining) { + ret =0 ; + goto out; + } + + oldentry =nfs4_xattr_get_entry (bucket, entry->xattr_name); +if (oldentry !=NULL ) { +hlist_del_init (&oldentry->hnode); +nfs4_xattr_entry_lru_del (oldentry); + }else { +atomic_long_inc (&cache->nent); + } + +hlist_add_head (&entry->hnode, &bucket->hlist); +nfs4_xattr_entry_lru_add (entry); + +out: +spin_unlock (&bucket->lock); + +if (oldentry !=NULL ) +kref_put (&oldentry->ref, nfs4_xattr_free_entry_cb); + +return ret; +} + +static void +nfs4_xattr_hash_remove (struct nfs4_xattr_cache *cache,const char *name) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *entry; + + bucket =nfs4_xattr_hash_bucket (cache, name); + +spin_lock (&bucket->lock); + + entry =nfs4_xattr_get_entry (bucket, name); +if (entry !=NULL ) { +hlist_del_init (&entry->hnode); +nfs4_xattr_entry_lru_del (entry); +atomic_long_dec (&cache->nent); + } + +spin_unlock (&bucket->lock); + +if (entry !=NULL ) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); +} + +static struct nfs4_xattr_entry * +nfs4_xattr_hash_find (struct nfs4_xattr_cache *cache,const char *name) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *entry; + + bucket =nfs4_xattr_hash_bucket (cache, name); + +spin_lock (&bucket->lock); + + entry =nfs4_xattr_get_entry (bucket, name); +if (entry !=NULL ) +kref_get (&entry->ref); + +spin_unlock (&bucket->lock); + +return entry; +} + +/* +* Entry point to retrieve an entry from the cache. +*/ +ssize_t nfs4_xattr_cache_get(struct inode *inode, const char *name, char*buf,
fs/nfs/nfs42xattr.c new file +454
-0+ ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; +ssize_t ret; + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return -ENOENT ; + + ret =0 ; + entry =nfs4_xattr_hash_find (cache, name); + +if (entry !=NULL ) { +dprintk ("%s: cache hit '%s', len %lu\n" , __func__, + entry->xattr_name, (unsigned long )entry->xattr_size); +if (buflen ==0 ) { +/* Length probe only */ + ret = entry->xattr_size; + }else if (buflen < entry->xattr_size) + ret = -ERANGE ; +else { +memcpy (buf, entry->xattr_value, entry->xattr_size); + ret = entry->xattr_size; + } +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + }else { +dprintk ("%s: cache miss '%s'\n" , __func__, name); + ret = -ENOENT ; + } + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + +return ret; +} + +/* +* Retrieve a cached list of xattrs from the cache. +*/ +ssize_t nfs4_xattr_cache_list (struct inode *inode,char *buf,ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; +ssize_t ret; + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return -ENOENT ; + +spin_lock (&cache->listxattr_lock); + + entry = cache->listxattr; + +if (entry !=NULL && entry !=ERR_PTR (-ESTALE )) { +if (buflen ==0 ) { +/* Length probe only */ + ret = entry->xattr_size; + }else if (entry->xattr_size > buflen) + ret = -ERANGE ; +else { +memcpy (buf, entry->xattr_value, entry->xattr_size); + ret = entry->xattr_size; + } + }else { + ret = -ENOENT ; + } + +spin_unlock (&cache->listxattr_lock); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + +return ret; +} + +/* +* Add an xattr to the cache. +* +* This also invalidates the xattr list cache. +*/ +void nfs4_xattr_cache_add (struct inode *inode,const char *name, +const char *buf,struct page **pages,ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; + +dprintk ("%s: add '%s' len %lu\n" , __func__, + name, (unsigned long )buflen); + + cache =nfs4_xattr_get_cache (inode,1 ); +if (cache ==NULL ) +return ; + + entry =nfs4_xattr_alloc_entry (name, buf, pages, buflen); +if (entry ==NULL ) + goto out; + + (void )nfs4_xattr_set_listcache (cache,NULL ); + +if (!nfs4_xattr_hash_add (cache, entry)) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + +out: +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + + +/* +* Remove an xattr from the cache. +* +* This also invalidates the xattr list cache. +*/ +void nfs4_xattr_cache_remove (struct inode *inode,const char *name) +{ +struct nfs4_xattr_cache *cache; + +dprintk ("%s: remove '%s'\n" , __func__, name); + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return ; + + (void )nfs4_xattr_set_listcache (cache,NULL ); +nfs4_xattr_hash_remove (cache, name); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +/* +* Cache listxattr output, replacing any possible old one. +*/ +void nfs4_xattr_cache_set_list (struct inode *inode,const char *buf, +ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; + + cache =nfs4_xattr_get_cache (inode,1 ); +if (cache ==NULL ) +return ; + + entry =nfs4_xattr_alloc_entry (NULL , buf,NULL , buflen); +if (entry ==NULL ) + goto out; + +/* +* This is just there to be able to get to bucket->cache, +* which is obviously the same for all buckets, so just +* use bucket 0. +*/ + entry->bucket = &cache->buckets[0 ]; + +if (!nfs4_xattr_set_listcache (cache, entry)) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + +out: +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +/* +* Zap the entire cache. Called when an inode is evicted. +*/ +void nfs4_xattr_cache_zap (struct inode *inode) +{ +struct nfs4_xattr_cache *oldcache; + +spin_lock (&inode->i_lock); + oldcache =nfs4_xattr_cache_unlink (inode); +spin_unlock (&inode->i_lock); + +if (oldcache) +nfs4_xattr_discard_cache (oldcache); +} + +/* +* The entry LRU is shrunk more aggressively than the cache LRU, +* by settings @seeks to 1. +* +* Cache structures are freed only when they've become empty, after +* pruning all but one entry. +*/ + +static unsigned long nfs4_xattr_cache_count (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_entry_count (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_cache_scan (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_entry_scan (struct shrinker *shrink, +struct shrink_control *sc); + +static struct shrinker nfs4_xattr_cache_shrinker = { + .count_objects = nfs4_xattr_cache_count, + .scan_objects = nfs4_xattr_cache_scan, + .seeks =DEFAULT_SEEKS , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static struct shrinker nfs4_xattr_entry_shrinker = { + .count_objects = nfs4_xattr_entry_count, + .scan_objects = nfs4_xattr_entry_scan, + .seeks =DEFAULT_SEEKS , + .batch =512 , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static struct shrinker nfs4_xattr_large_entry_shrinker = { + .count_objects = nfs4_xattr_entry_count, + .scan_objects = nfs4_xattr_entry_scan, + .seeks =1 , + .batch =512 , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static enum lru_status +cache_lru_isolate (struct list_head *item, +struct list_lru_one *lru,spinlock_t *lru_lock,void *arg) +{ +struct list_head *dispose = arg; +struct inode *inode; +struct nfs4_xattr_cache *cache =container_of (item, + struct nfs4_xattr_cache, lru); + +if (atomic_long_read (&cache->nent) >1 ) +return LRU_SKIP ; + +/* +* If a cache structure is on the LRU list, we know that +* its inode is valid. Try to lock it to break the link. +* Since we're inverting the lock order here, only try. +*/ + inode = cache->inode; + +if (!spin_trylock (&inode->i_lock)) +return LRU_SKIP ; + +kref_get (&cache->ref); + + cache->inode =NULL ; +NFS_I (inode)->xattr_cache =NULL ; +NFS_I (inode)->cache_validity &= ~NFS_INO_INVALID_XATTR ; +list_lru_isolate (lru, &cache->lru); + +spin_unlock (&inode->i_lock); + +list_add_tail (&cache->dispose, dispose); +return LRU_REMOVED ; +} + +static unsigned long +nfs4_xattr_cache_scan (struct shrinker *shrink,struct shrink_control *sc) +{ +LIST_HEAD (dispose); +unsigned long freed; +struct nfs4_xattr_cache *cache; + + freed =list_lru_shrink_walk (&nfs4_xattr_cache_lru, sc, + cache_lru_isolate, &dispose); +while (!list_empty (&dispose)) { + cache = list_first_entry(&dispose, struct nfs4_xattr_cache, + dispose); +list_del_init (&cache->dispose); +nfs4_xattr_discard_cache (cache); +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + } + +return freed; +} + + +static unsigned long +nfs4_xattr_cache_count (struct shrinker *shrink,struct shrink_control *sc) +{ +unsigned long count; + + count =list_lru_count (&nfs4_xattr_cache_lru); +return vfs_pressure_ratio (count); +} + +static enum lru_status +entry_lru_isolate (struct list_head *item, +struct list_lru_one *lru,spinlock_t *lru_lock,void *arg) +{ +struct list_head *dispose = arg; +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry =container_of (item, + struct nfs4_xattr_entry, lru); + + bucket = entry->bucket; + cache = bucket->cache; + +/* +* Unhook the entry from its parent (either a cache bucket +* or a cache structure if it's a listxattr buf), so that +* it's no longer found. Then add it to the isolate list, +* to be freed later. +* +* In both cases, we're reverting lock order, so use +* trylock and skip the entry if we can't get the lock. +*/ +if (entry->xattr_name !=NULL ) { +/* Regular cache entry */ +if (!spin_trylock (&bucket->lock)) +return LRU_SKIP ; + +kref_get (&entry->ref); + +hlist_del_init (&entry->hnode); +atomic_long_dec (&cache->nent); +list_lru_isolate (lru, &entry->lru); + +spin_unlock (&bucket->lock); + }else { +/* Listxattr cache entry */ +if (!spin_trylock (&cache->listxattr_lock)) +return LRU_SKIP ; + +kref_get (&entry->ref); + + cache->listxattr =NULL ; +list_lru_isolate (lru, &entry->lru); + +spin_unlock (&cache->listxattr_lock); + } + +list_add_tail (&entry->dispose, dispose); +return LRU_REMOVED ; +} + +static unsigned long +nfs4_xattr_entry_scan (struct shrinker *shrink,struct shrink_control *sc) +{ +LIST_HEAD (dispose); +unsigned long freed; +struct nfs4_xattr_entry *entry; +struct list_lru *lru; + + lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + + freed =list_lru_shrink_walk (lru, sc, entry_lru_isolate, &dispose); + +while (!list_empty (&dispose)) { + entry = list_first_entry(&dispose, struct nfs4_xattr_entry, + dispose); +list_del_init (&entry->dispose); + +/* +* Drop two references: the one that we just grabbed +* in entry_lru_isolate, and the one that was set +* when the entry was first allocated. +*/ +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + } + +return freed; +} + +static unsigned long +nfs4_xattr_entry_count (struct shrinker *shrink,struct shrink_control *sc) +{ +unsigned long count; +struct list_lru *lru; + + lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + + count =list_lru_count (lru); +return vfs_pressure_ratio (count); +} + + +static void nfs4_xattr_cache_init_once (void *p) +{ +struct nfs4_xattr_cache *cache = (struct nfs4_xattr_cache *)p; + +spin_lock_init (&cache->listxattr_lock); +atomic_long_set (&cache->nent,0 ); +nfs4_xattr_hash_init (cache); + cache->listxattr =NULL ; +INIT_WORK (&cache->work, nfs4_xattr_discard_cache_worker); +INIT_LIST_HEAD (&cache->lru); +INIT_LIST_HEAD (&cache->dispose); +} + +int __init nfs4_xattr_cache_init (void ) +{ +int ret =0 ; + + nfs4_xattr_cache_cachep =kmem_cache_create ("nfs4_xattr_cache_cache" , +sizeof (struct nfs4_xattr_cache ),0 , + (SLAB_RECLAIM_ACCOUNT |SLAB_MEM_SPREAD |SLAB_ACCOUNT ), + nfs4_xattr_cache_init_once); +if (nfs4_xattr_cache_cachep ==NULL ) +return -ENOMEM ; + + ret =list_lru_init_memcg (&nfs4_xattr_large_entry_lru, + &nfs4_xattr_large_entry_shrinker); +if (ret) + goto out4; + + ret =list_lru_init_memcg (&nfs4_xattr_entry_lru, + &nfs4_xattr_entry_shrinker); +if (ret) + goto out3; + + ret =list_lru_init_memcg (&nfs4_xattr_cache_lru, + &nfs4_xattr_cache_shrinker); +if (ret) + goto out2; + + nfs4_xattr_cache_wq =alloc_workqueue ("nfs4_xattr" ,WQ_MEM_RECLAIM ,0 ); +if (nfs4_xattr_cache_wq ==NULL ) + goto out1; + + ret =register_shrinker (&nfs4_xattr_cache_shrinker); +if (ret) + goto out0; + + ret =register_shrinker (&nfs4_xattr_entry_shrinker); +if (ret) + goto out; + + ret =register_shrinker (&nfs4_xattr_large_entry_shrinker); +if (!ret) +return 0 ; + +unregister_shrinker (&nfs4_xattr_entry_shrinker); +out: +unregister_shrinker (&nfs4_xattr_cache_shrinker); +out0: +destroy_workqueue (nfs4_xattr_cache_wq); +out1: +list_lru_destroy (&nfs4_xattr_cache_lru); +out2: +list_lru_destroy (&nfs4_xattr_entry_lru); +out3: +list_lru_destroy (&nfs4_xattr_large_entry_lru); +out4: +kmem_cache_destroy (nfs4_xattr_cache_cachep); + +return ret; +} + +void nfs4_xattr_cache_exit (void ) +{ +unregister_shrinker (&nfs4_xattr_entry_shrinker); +unregister_shrinker (&nfs4_xattr_cache_shrinker); +list_lru_destroy (&nfs4_xattr_entry_lru); +list_lru_destroy (&nfs4_xattr_cache_lru); +kmem_cache_destroy (nfs4_xattr_cache_cachep); +destroy_workqueue (nfs4_xattr_cache_wq); +}fs/nfs/nfs4proc.c +1
-0@@ -7459,6 +7459,7 @@ static int nfs4_xattr_set_nfs4_user(const structxattr_handler *handler, size_t buflen, int flags) { struct nfs_access_entry cache; +int ret;if (!nfs_server_capable (inode,NFS_CAP_XATTR ))fs/nfs/nfs4proc.c +11
-4return -EOPNOTSUPP ;@@ -7477,10 +7478,17 @@ static int nfs4_xattr_set_nfs4_user(const struct xattr_handler *handler, return -EACCES ; } -if (buf ==NULL ) -return nfs42_proc_removexattr (inode, key); -else -return nfs42_proc_setxattr (inode, key, buf, buflen, flags); +if (buf ==NULL ) { + ret =nfs42_proc_removexattr (inode, key); +if (!ret) +nfs4_xattr_cache_remove (inode, key); + }else { + ret =nfs42_proc_setxattr (inode, key, buf, buflen, flags); +if (!ret) +nfs4_xattr_cache_add (inode, key, buf,NULL , buflen); + } + +return ret; }static int nfs4_xattr_get_nfs4_user(const struct
xattr_handler*handler,fs/nfs/nfs4proc.c +1
-0@@ -7488,6 +7496,7 @@ static int nfs4_xattr_get_nfs4_user(const structxattr_handler *handler, const char *key, void *buf, size_t buflen) { struct nfs_access_entry cache; +ssize_t ret;if (!nfs_server_capable (inode,NFS_CAP_XATTR ))fs/nfs/nfs4proc.c +11
-1return -EOPNOTSUPP ;@@ -7497,7 +7506,17 @@ static int nfs4_xattr_get_nfs4_user(const struct xattr_handler *handler, return -EACCES ; } -return nfs42_proc_getxattr (inode, key, buf, buflen); + ret =nfs_revalidate_inode (NFS_SERVER (inode), inode); +if (ret) +return ret; + + ret =nfs4_xattr_cache_get (inode, key, buf, buflen); +if (ret >=0 || (ret <0 && ret != -ENOENT )) +return ret; + + ret =nfs42_proc_getxattr (inode, key, buf, buflen); + +return ret; }static
ssize_tfs/nfs/nfs4proc.c +1
-1@@ -7505,7 +7524,7 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) {u64 cookie;bool eof; -int ret, size; +ssize_t ret, size;char *buf;size_t buflen;fs/nfs/nfs4proc.c +8
-0struct nfs_access_entry cache;@@ -7518,6 +7537,14 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len)return 0 ; } + ret =nfs_revalidate_inode (NFS_SERVER (inode), inode); +if (ret) +return ret; + + ret =nfs4_xattr_cache_list (inode, list, list_len); +if (ret >=0 || (ret <0 && ret != -ENOENT )) +return ret; + cookie =0 ; eof = false;fs/nfs/nfs4proc.c +3
-0buflen = list_len ? list_len :XATTR_LIST_MAX ;@@ -7537,6 +7564,9 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) size += ret; } +if (list_len) +nfs4_xattr_cache_set_list (inode, list, size); +return size; }fs/nfs/nfs4super.c +10
-0@@ -69,6 +69,7 @@ static void nfs4_evict_inode(struct inode *inode)pnfs_destroy_layout (NFS_I (inode));/* First call standard NFS clear_inode() code */ nfs_clear_inode (inode); +nfs4_xattr_cache_zap (inode); }struct nfs_referral_count {@@ -268,6 +269,12 @@ static int __init init_nfs_v4(void)if (err) goto out1; +#ifdef CONFIG_NFS_V4_2 + err =nfs4_xattr_cache_init (); +if (err) + goto out2; +#endif + err =nfs4_register_sysctl ();if (err) goto out2;@@ -288,6 +295,9 @@ static void __exit exit_nfs_v4(void)nfs4_pnfs_v3_ds_connect_unload ();unregister_nfs_version (&nfs_v4); +#ifdef CONFIG_NFS_V4_2 +nfs4_xattr_cache_exit (); +#endif nfs4_unregister_sysctl ();nfs_idmap_quit ();nfs_dns_resolver_destroy ();include/linux/nfs_fs.h +6
-0@@ -102,6 +102,8 @@ struct nfs_delegation;struct posix_acl ; +struct nfs4_xattr_cache ; +/* * nfs fs inode data in memory */ @@ -188,6 +190,10 @@ struct nfs_inode {struct fscache_cookie *fscache;#endif struct inode vfs_inode; + +#ifdef CONFIG_NFS_V4_2 +struct nfs4_xattr_cache *xattr_cache; +#endif };struct nfs4_copy_state {include/uapi/linux/nfs_fs.h +1
-0@@ -56,6 +56,7 @@#define NFSDBG_PNFS 0x1000#define NFSDBG_PNFS_LD 0x2000#define NFSDBG_STATE 0x4000 +#define NFSDBG_XATTRCACHE 0x8000#define NFSDBG_ALL 0xFFFF
Re: [PATCH 13/13] NFSv4.2: add client side xattr caching.
In reply to Frank van der LindenQuoted 31 lines · Frank van der Linden
Implement client side caching for NFSv4.2 extended attributes. The cache is a per-inode hashtable, with name/value entries. There is one special entry for the listxattr cache.
NFS inodes have a pointer to a cache structure. The cache structure is allocated on demand, freed when the cache is invalidated.
Memory shrinkers keep the size in check. Large entries (>
PAGE_SIZE) are collected by a separate shrinker, and freed more aggressively than others.Signed-off-by Frank van der Linden <[email protected]>--- fs/nfs/Makefile | 1 + fs/nfs/inode.c | 9 +- fs/nfs/internal.h | 20 + fs/nfs/nfs42proc.c | 12 + fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4proc.c | 42 +- fs/nfs/nfs4super.c | 10 + include/linux/nfs_fs.h | 6 + include/uapi/linux/nfs_fs.h | 1 + 9 files changed, 1177 insertions(+), 7 deletions(-) create mode 100644 fs/nfs/nfs42xattr.cfs/nfs/Makefile +0
-0
fs/nfs/Makefile nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o · line 34
Quoted 4 lines
fs/nfs/Makefile +1
-0@@ -31,6 +31,7 @@ nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o +nfsv4-$(CONFIG_NFS_V4_2) += nfs42xattr.o
Oh, you should also be able to combine the two CONFIG_NFS_V4_2 lines here:
nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o nfs42xattr.o
Quoted 1,371 lines
fs/nfs/Makefile +0
-0obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ obj-$(CONFIG_PNFS_BLOCK) += blocklayout/fs/nfs/inode.c +1
-0@@ -194,6 +194,7 @@ bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags)return nfs_check_cache_invalid_not_delegated (inode, flags); } +EXPORT_SYMBOL_GPL (nfs_check_cache_invalid);static void nfs_set_cache_invalid (struct inode *inode,unsigned long flags){
fs/nfs/inode.c +4
-1@@ -235,11 +236,13 @@ static void nfs_zap_caches_locked(struct inode *inode) | NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR | NFS_INO_REVAL_PAGECACHE); }else nfs_set_cache_invalid (inode,NFS_INO_INVALID_ATTR |NFS_INO_INVALID_ACCESS |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR |NFS_INO_REVAL_PAGECACHE );nfs_zap_label_cache_locked (nfsi); }@@ -1885,7 +1888,8 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)if (!(have_writers || have_delegation)) { invalid |=NFS_INO_INVALID_DATA |NFS_INO_INVALID_ACCESS - |NFS_INO_INVALID_ACL ; + |NFS_INO_INVALID_ACL + |NFS_INO_INVALID_XATTR ;/* Force revalidate of all attributes */ save_cache_validity |=NFS_INO_INVALID_CTIME fs/nfs/inode.c +3
-0| NFS_INO_INVALID_MTIME@@ -2084,6 +2088,9 @@ struct inode *nfs_alloc_inode(struct super_block *sb)#if IS_ENABLED (CONFIG_NFS_V4 ) nfsi->nfs4_acl =NULL ;#endif /* CONFIG_NFS_V4 */ +#ifdef CONFIG_NFS_V4_2 + nfsi->xattr_cache =NULL ; +#endif return &nfsi->vfs_inode; }EXPORT_SYMBOL_GPL (nfs_alloc_inode);fs/nfs/internal.h +20
-0@@ -575,6 +575,26 @@ extern void nfs4_test_session_trunk(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *data); +#ifdef CONFIG_NFS_V4_2 +extern int __init nfs4_xattr_cache_init (void ); +extern void nfs4_xattr_cache_exit (void ); +extern void nfs4_xattr_cache_add (struct inode *inode,const char *name, +const char *buf,struct page **pages, +ssize_t buflen); +extern void nfs4_xattr_cache_remove (struct inode *inode,const char *name); +extern ssize_t nfs4_xattr_cache_get (struct inode *inode,const char *name, +char *buf,ssize_t buflen); +extern void nfs4_xattr_cache_set_list (struct inode *inode,const char *buf, +ssize_t buflen); +extern ssize_t nfs4_xattr_cache_list (struct inode *inode,char *buf, +ssize_t buflen); +extern void nfs4_xattr_cache_zap (struct inode *inode); +#else +static inline void nfs4_xattr_cache_zap (struct inode *inode) +{ +} +#endif +static inline struct inode *nfs_igrab_and_active (struct inode *inode) {fs/nfs/internal.h +0
-0inode =igrab (inode);fs/nfs/nfs42proc.c +12
-0@@ -1182,6 +1182,18 @@ static ssize_t _nfs42_proc_getxattr(struct inode *inode, const char *name, if (ret < 0)return ret; +/* +* Normally, the caching is done one layer up, but for successful +* RPCS, always cache the result here, even if the caller was +* just querying the length, or if the reply was too big for +* the caller. This avoids a second RPC in the case of the +* common query-alloc-retrieve cycle for xattrs. +* +* Note that xattr_len is always capped to XATTR_SIZE_MAX. +*/ + +nfs4_xattr_cache_add (inode, name,NULL , pages, res.xattr_len); +if (buflen) {if (res.xattr_len > buflen)fs/nfs/nfs42proc.c +0
-0return -ERANGE ;fs/nfs/nfs42xattr.c new file +4
-0@@ -0,0 +1,1083 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Copyright 2019, 2020 Amazon.com, Inc. or its affiliates. All rights reserved.
+ *
+ * User extended attribute client side cache functions.
+ *
+ * Author: Frank van der Linden <[email protected]>
+ */fs/nfs/nfs42xattr.c new file +620
-0+#include <linux/errno.h> +#include <linux/nfs_fs.h> +#include <linux/hashtable.h> +#include <linux/refcount.h> +#include <uapi/linux/xattr.h> + +#include "nfs4_fs.h" +#include "internal.h" + +/* +* User extended attributes client side caching is implemented by having +* a cache structure attached to NFS inodes. This structure is allocated +* when needed, and freed when the cache is zapped. +* +* The cache structure contains as hash table of entries, and a pointer +* to a special-cased entry for the listxattr cache. +* +* Accessing and allocating / freeing the caches is done via reference +* counting. The cache entries use a similar refcounting scheme. +* +* This makes freeing a cache, both from the shrinker and from the +* zap cache path, easy. It also means that, in current use cases, +* the large majority of inodes will not waste any memory, as they +* will never have any user extended attributes assigned to them. +* +* Attribute entries are hashed in to a simple hash table. They are +* also part of an LRU. +* +* There are three shrinkers. +* +* Two shrinkers deal with the cache entries themselves: one for +* large entries (> PAGE_SIZE), and one for smaller entries. The +* shrinker for the larger entries works more aggressively than +* those for the smaller entries. +* +* The other shrinker frees the cache structures themselves. +*/ + +/* +* 64 buckets is a good default. There is likely no reasonable +* workload that uses more than even 64 user extended attributes. +* You can certainly add a lot more - but you get what you ask for +* in those circumstances. +*/ +#define NFS4_XATTR_HASH_SIZE 64 + +#define NFSDBG_FACILITY NFSDBG_XATTRCACHE + +struct nfs4_xattr_cache ; +struct nfs4_xattr_entry ; + +struct nfs4_xattr_bucket { +spinlock_t lock; +struct hlist_head hlist; +struct nfs4_xattr_cache *cache; +bool draining; +}; + +struct nfs4_xattr_cache { +struct kref ref; +spinlock_t hash_lock;/* protects hashtable and lru */ +struct nfs4_xattr_bucket buckets[NFS4_XATTR_HASH_SIZE ]; +struct list_head lru; +struct list_head dispose; +atomic_long_t nent; +spinlock_t listxattr_lock; +struct inode *inode; +struct nfs4_xattr_entry *listxattr; +struct work_struct work; +}; + +struct nfs4_xattr_entry { +struct kref ref; +struct hlist_node hnode; +struct list_head lru; +struct list_head dispose; +char *xattr_name; +void *xattr_value; +size_t xattr_size; +struct nfs4_xattr_bucket *bucket; +uint32_t flags; +}; + +#define NFS4_XATTR_ENTRY_EXTVAL 0x0001 + +/* +* LRU list of NFS inodes that have xattr caches. +*/ +static struct list_lru nfs4_xattr_cache_lru; +static struct list_lru nfs4_xattr_entry_lru; +static struct list_lru nfs4_xattr_large_entry_lru; + +static struct kmem_cache *nfs4_xattr_cache_cachep; + +static struct workqueue_struct *nfs4_xattr_cache_wq; + +/* +* Hashing helper functions. +*/ +static void +nfs4_xattr_hash_init (struct nfs4_xattr_cache *cache) +{ +unsigned int i; + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { +INIT_HLIST_HEAD (&cache->buckets[i].hlist); +spin_lock_init (&cache->buckets[i].lock); + cache->buckets[i].cache = cache; + cache->buckets[i].draining = false; + } +} + +/* +* Locking order: +* 1. inode i_lock or bucket lock +* 2. list_lru lock (taken by list_lru_* functions) +*/ + +/* +* Wrapper functions to add a cache entry to the right LRU. +*/ +static bool +nfs4_xattr_entry_lru_add (struct nfs4_xattr_entry *entry) +{ +struct list_lru *lru; + + lru = (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + +return list_lru_add (lru, &entry->lru); +} + +static bool +nfs4_xattr_entry_lru_del (struct nfs4_xattr_entry *entry) +{ +struct list_lru *lru; + + lru = (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + +return list_lru_del (lru, &entry->lru); +} + +/* +* This function allocates cache entries. They are the normal +* extended attribute name/value pairs, but may also be a listxattr +* cache. Those allocations use the same entry so that they can be +* treated as one by the memory shrinker. +* +* xattr cache entries are allocated together with names. If the +* value fits in to one page with the entry structure and the name, +* it will also be part of the same allocation (kmalloc). This is +* expected to be the vast majority of cases. Larger allocations +* have a value pointer that is allocated separately by kvmalloc. +* +* Parameters: +* +* @name: Name of the extended attribute. NULL for listxattr cache +* entry. +* @value: Value of attribute, or listxattr cache. NULL if the +* value is to be copied from pages instead. +* @pages: Pages to copy the value from, if not NULL. Passed in to +* make it easier to copy the value after an RPC, even if +* the value will not be passed up to application (e.g. +* for a 'query' getxattr with NULL buffer). +* @len: Length of the value. Can be 0 for zero-length attribues. +* @value and @pages will be NULL if @len is 0. +*/ +static struct nfs4_xattr_entry * +nfs4_xattr_alloc_entry (const char *name,const void *value, +struct page **pages,size_t len) +{ +struct nfs4_xattr_entry *entry; +void *valp; +char *namep; +size_t alloclen, slen; +char *buf; +uint32_t flags; + +BUILD_BUG_ON (sizeof (struct nfs4_xattr_entry ) + +XATTR_NAME_MAX +1 >PAGE_SIZE ); + + alloclen =sizeof (struct nfs4_xattr_entry ); +if (name !=NULL ) { + slen =strlen (name) +1 ; + alloclen += slen; + }else + slen =0 ; + +if (alloclen + len <=PAGE_SIZE ) { + alloclen += len; + flags =0 ; + }else { + flags =NFS4_XATTR_ENTRY_EXTVAL ; + } + + buf =kmalloc (alloclen,GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (buf ==NULL ) +return NULL ; + entry = (struct nfs4_xattr_entry *)buf; + +if (name !=NULL ) { + namep = buf +sizeof (struct nfs4_xattr_entry ); +memcpy (namep, name, slen); + }else { + namep =NULL ; + } + + +if (flags &NFS4_XATTR_ENTRY_EXTVAL ) { + valp =kvmalloc (len,GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (valp ==NULL ) { +kfree (buf); +return NULL ; + } + }else if (len !=0 ) { + valp = buf +sizeof (struct nfs4_xattr_entry ) + slen; + }else + valp =NULL ; + +if (valp !=NULL ) { +if (value !=NULL ) +memcpy (valp, value, len); +else +_copy_from_pages (valp, pages,0 , len); + } + + entry->flags = flags; + entry->xattr_value = valp; +kref_init (&entry->ref); + entry->xattr_name = namep; + entry->xattr_size = len; + entry->bucket =NULL ; +INIT_LIST_HEAD (&entry->lru); +INIT_LIST_HEAD (&entry->dispose); +INIT_HLIST_NODE (&entry->hnode); + +return entry; +} + +static void +nfs4_xattr_free_entry (struct nfs4_xattr_entry *entry) +{ +if (entry->flags &NFS4_XATTR_ENTRY_EXTVAL ) +kvfree (entry->xattr_value); +kfree (entry); +} + +static void +nfs4_xattr_free_entry_cb (struct kref *kref) +{ +struct nfs4_xattr_entry *entry; + + entry = container_of(kref, struct nfs4_xattr_entry, ref); + +if (WARN_ON (!list_empty (&entry->lru))) +return ; + +nfs4_xattr_free_entry (entry); +} + +static void +nfs4_xattr_free_cache_cb (struct kref *kref) +{ +struct nfs4_xattr_cache *cache; +int i; + + cache = container_of(kref, struct nfs4_xattr_cache, ref); + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { +if (WARN_ON (!hlist_empty (&cache->buckets[i].hlist))) +return ; + cache->buckets[i].draining = false; + } + + cache->listxattr =NULL ; + +kmem_cache_free (nfs4_xattr_cache_cachep, cache); + +} + +static struct nfs4_xattr_cache * +nfs4_xattr_alloc_cache (void ) +{ +struct nfs4_xattr_cache *cache; + + cache =kmem_cache_alloc (nfs4_xattr_cache_cachep, +GFP_KERNEL_ACCOUNT |GFP_NOFS ); +if (cache ==NULL ) +return NULL ; + +kref_init (&cache->ref); +atomic_long_set (&cache->nent,0 ); + +return cache; +} + +/* +* Set the listxattr cache, which is a special-cased cache entry. +* The special value ERR_PTR(-ESTALE) is used to indicate that +* the cache is being drained - this prevents a new listxattr +* cache from being added to what is now a stale cache. +*/ +static int +nfs4_xattr_set_listcache (struct nfs4_xattr_cache *cache, +struct nfs4_xattr_entry *new) +{ +struct nfs4_xattr_entry *old; +int ret =1 ; + +spin_lock (&cache->listxattr_lock); + + old = cache->listxattr; + +if (old ==ERR_PTR (-ESTALE )) { + ret =0 ; + goto out; + } + + cache->listxattr = new; +if (new !=NULL && new !=ERR_PTR (-ESTALE )) +nfs4_xattr_entry_lru_add (new); + +if (old !=NULL ) { +nfs4_xattr_entry_lru_del (old); +kref_put (&old->ref, nfs4_xattr_free_entry_cb); + } +out: +spin_unlock (&cache->listxattr_lock); + +return ret; +} + +/* +* Unlink a cache from its parent inode, clearing out an invalid +* cache. Must be called with i_lock held. +*/ +static struct nfs4_xattr_cache * +nfs4_xattr_cache_unlink (struct inode *inode) +{ +struct nfs_inode *nfsi; +struct nfs4_xattr_cache *oldcache; + + nfsi =NFS_I (inode); + + oldcache = nfsi->xattr_cache; +if (oldcache !=NULL ) { +list_lru_del (&nfs4_xattr_cache_lru, &oldcache->lru); + oldcache->inode =NULL ; + } + nfsi->xattr_cache =NULL ; + nfsi->cache_validity &= ~NFS_INO_INVALID_XATTR ; + +return oldcache; + +} + +/* +* Discard a cache. Usually called by a worker, since walking all +* the entries can take up some cycles that we don't want to waste +* in the I/O path. Can also be called from the shrinker callback. +* +* The cache is dead, it has already been unlinked from its inode, +* and no longer appears on the cache LRU list. +* +* Mark all buckets as draining, so that no new entries are added. This +* could still happen in the unlikely, but possible case that another +* thread had grabbed a reference before it was unlinked from the inode, +* and is still holding it for an add operation. +* +* Remove all entries from the LRU lists, so that there is no longer +* any way to 'find' this cache. Then, remove the entries from the hash +* table. +* +* At that point, the cache will remain empty and can be freed when the final +* reference drops, which is very likely the kref_put at the end of +* this function, or the one called immediately afterwards in the +* shrinker callback. +*/ +static void +nfs4_xattr_discard_cache (struct nfs4_xattr_cache *cache) +{ +unsigned int i; +struct nfs4_xattr_entry *entry; +struct nfs4_xattr_bucket *bucket; +struct hlist_node *n; + +nfs4_xattr_set_listcache (cache,ERR_PTR (-ESTALE )); + +for (i =0 ; i <NFS4_XATTR_HASH_SIZE ; i++) { + bucket = &cache->buckets[i]; + +spin_lock (&bucket->lock); + bucket->draining = true; +hlist_for_each_entry_safe (entry, n, &bucket->hlist, hnode) { +nfs4_xattr_entry_lru_del (entry); +hlist_del_init (&entry->hnode); +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + } +spin_unlock (&bucket->lock); + } + +atomic_long_set (&cache->nent,0 ); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +static void +nfs4_xattr_discard_cache_worker (struct work_struct *work) +{ +struct nfs4_xattr_cache *cache =container_of (work, + struct nfs4_xattr_cache, work); + +nfs4_xattr_discard_cache (cache); +} + +static void +nfs4_xattr_reap_cache (struct nfs4_xattr_cache *cache) +{ +queue_work (nfs4_xattr_cache_wq, &cache->work); +} + +/* +* Get a referenced copy of the cache structure. Avoid doing allocs +* while holding i_lock. Which means that we do some optimistic allocation, +* and might have to free the result in rare cases. +* +* This function only checks the NFS_INO_INVALID_XATTR cache validity bit +* and acts accordingly, replacing the cache when needed. For the read case +* (!add), this means that the caller must make sure that the cache +* is valid before caling this function. getxattr and listxattr call +* revalidate_inode to do this. The attribute cache timeout (for the +* non-delegated case) is expected to be dealt with in the revalidate +* call. +*/ + +static struct nfs4_xattr_cache * +nfs4_xattr_get_cache (struct inode *inode,int add) +{ +struct nfs_inode *nfsi; +struct nfs4_xattr_cache *cache, *oldcache, *newcache; + + nfsi =NFS_I (inode); + + cache = oldcache =NULL ; + +spin_lock (&inode->i_lock); + +if (nfsi->cache_validity &NFS_INO_INVALID_XATTR ) + oldcache =nfs4_xattr_cache_unlink (inode); +else + cache = nfsi->xattr_cache; + +if (cache !=NULL ) +kref_get (&cache->ref); + +spin_unlock (&inode->i_lock); + +if (add && cache ==NULL ) { + newcache =NULL ; + + cache =nfs4_xattr_alloc_cache (); +if (cache ==NULL ) + goto out; + +spin_lock (&inode->i_lock); +if (nfsi->cache_validity &NFS_INO_INVALID_XATTR ) { +/* +* The cache was invalidated again. Give up, +* since what we want to enter is now likely +* outdated anyway. +*/ +spin_unlock (&inode->i_lock); +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + cache =NULL ; + goto out; + } + +/* +* Check if someone beat us to it. +*/ +if (nfsi->xattr_cache !=NULL ) { + newcache = nfsi->xattr_cache; +kref_get (&newcache->ref); + }else { +kref_get (&cache->ref); + nfsi->xattr_cache = cache; + cache->inode = inode; +list_lru_add (&nfs4_xattr_cache_lru, &cache->lru); + } + +spin_unlock (&inode->i_lock); + +/* +* If there was a race, throw away the cache we just +* allocated, and use the new one allocated by someone +* else. +*/ +if (newcache !=NULL ) { +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + cache = newcache; + } + } + +out: +/* +* Discarding an old cache is done via a workqueue. +*/ +if (oldcache !=NULL ) +nfs4_xattr_reap_cache (oldcache); + +return cache; +} + +static inline struct nfs4_xattr_bucket * +nfs4_xattr_hash_bucket (struct nfs4_xattr_cache *cache,const char *name) +{ +return &cache->buckets[jhash (name,strlen (name),0 ) & + (ARRAY_SIZE (cache->buckets) -1 )]; +} + +static struct nfs4_xattr_entry * +nfs4_xattr_get_entry (struct nfs4_xattr_bucket *bucket,const char *name) +{ +struct nfs4_xattr_entry *entry; + + entry =NULL ; + +hlist_for_each_entry (entry, &bucket->hlist, hnode) { +if (!strcmp (entry->xattr_name, name)) +break ; + } + +return entry; +} + +static int +nfs4_xattr_hash_add (struct nfs4_xattr_cache *cache, +struct nfs4_xattr_entry *entry) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *oldentry =NULL ; +int ret =1 ; + + bucket =nfs4_xattr_hash_bucket (cache, entry->xattr_name); + entry->bucket = bucket; + +spin_lock (&bucket->lock); + +if (bucket->draining) { + ret =0 ; + goto out; + } + + oldentry =nfs4_xattr_get_entry (bucket, entry->xattr_name); +if (oldentry !=NULL ) { +hlist_del_init (&oldentry->hnode); +nfs4_xattr_entry_lru_del (oldentry); + }else { +atomic_long_inc (&cache->nent); + } + +hlist_add_head (&entry->hnode, &bucket->hlist); +nfs4_xattr_entry_lru_add (entry); + +out: +spin_unlock (&bucket->lock); + +if (oldentry !=NULL ) +kref_put (&oldentry->ref, nfs4_xattr_free_entry_cb); + +return ret; +} + +static void +nfs4_xattr_hash_remove (struct nfs4_xattr_cache *cache,const char *name) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *entry; + + bucket =nfs4_xattr_hash_bucket (cache, name); + +spin_lock (&bucket->lock); + + entry =nfs4_xattr_get_entry (bucket, name); +if (entry !=NULL ) { +hlist_del_init (&entry->hnode); +nfs4_xattr_entry_lru_del (entry); +atomic_long_dec (&cache->nent); + } + +spin_unlock (&bucket->lock); + +if (entry !=NULL ) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); +} + +static struct nfs4_xattr_entry * +nfs4_xattr_hash_find (struct nfs4_xattr_cache *cache,const char *name) +{ +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_entry *entry; + + bucket =nfs4_xattr_hash_bucket (cache, name); + +spin_lock (&bucket->lock); + + entry =nfs4_xattr_get_entry (bucket, name); +if (entry !=NULL ) +kref_get (&entry->ref); + +spin_unlock (&bucket->lock); + +return entry; +} + +/* +* Entry point to retrieve an entry from the cache. +*/ +ssize_t nfs4_xattr_cache_get(struct inode *inode, const char *name, char*buf,
fs/nfs/nfs42xattr.c new file +454
-0+ ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; +ssize_t ret; + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return -ENOENT ; + + ret =0 ; + entry =nfs4_xattr_hash_find (cache, name); + +if (entry !=NULL ) { +dprintk ("%s: cache hit '%s', len %lu\n" , __func__, + entry->xattr_name, (unsigned long )entry->xattr_size); +if (buflen ==0 ) { +/* Length probe only */ + ret = entry->xattr_size; + }else if (buflen < entry->xattr_size) + ret = -ERANGE ; +else { +memcpy (buf, entry->xattr_value, entry->xattr_size); + ret = entry->xattr_size; + } +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + }else { +dprintk ("%s: cache miss '%s'\n" , __func__, name); + ret = -ENOENT ; + } + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + +return ret; +} + +/* +* Retrieve a cached list of xattrs from the cache. +*/ +ssize_t nfs4_xattr_cache_list (struct inode *inode,char *buf,ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; +ssize_t ret; + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return -ENOENT ; + +spin_lock (&cache->listxattr_lock); + + entry = cache->listxattr; + +if (entry !=NULL && entry !=ERR_PTR (-ESTALE )) { +if (buflen ==0 ) { +/* Length probe only */ + ret = entry->xattr_size; + }else if (entry->xattr_size > buflen) + ret = -ERANGE ; +else { +memcpy (buf, entry->xattr_value, entry->xattr_size); + ret = entry->xattr_size; + } + }else { + ret = -ENOENT ; + } + +spin_unlock (&cache->listxattr_lock); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + +return ret; +} + +/* +* Add an xattr to the cache. +* +* This also invalidates the xattr list cache. +*/ +void nfs4_xattr_cache_add (struct inode *inode,const char *name, +const char *buf,struct page **pages,ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; + +dprintk ("%s: add '%s' len %lu\n" , __func__, + name, (unsigned long )buflen); + + cache =nfs4_xattr_get_cache (inode,1 ); +if (cache ==NULL ) +return ; + + entry =nfs4_xattr_alloc_entry (name, buf, pages, buflen); +if (entry ==NULL ) + goto out; + + (void )nfs4_xattr_set_listcache (cache,NULL ); + +if (!nfs4_xattr_hash_add (cache, entry)) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + +out: +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + + +/* +* Remove an xattr from the cache. +* +* This also invalidates the xattr list cache. +*/ +void nfs4_xattr_cache_remove (struct inode *inode,const char *name) +{ +struct nfs4_xattr_cache *cache; + +dprintk ("%s: remove '%s'\n" , __func__, name); + + cache =nfs4_xattr_get_cache (inode,0 ); +if (cache ==NULL ) +return ; + + (void )nfs4_xattr_set_listcache (cache,NULL ); +nfs4_xattr_hash_remove (cache, name); + +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +/* +* Cache listxattr output, replacing any possible old one. +*/ +void nfs4_xattr_cache_set_list (struct inode *inode,const char *buf, +ssize_t buflen) +{ +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry; + + cache =nfs4_xattr_get_cache (inode,1 ); +if (cache ==NULL ) +return ; + + entry =nfs4_xattr_alloc_entry (NULL , buf,NULL , buflen); +if (entry ==NULL ) + goto out; + +/* +* This is just there to be able to get to bucket->cache, +* which is obviously the same for all buckets, so just +* use bucket 0. +*/ + entry->bucket = &cache->buckets[0 ]; + +if (!nfs4_xattr_set_listcache (cache, entry)) +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + +out: +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); +} + +/* +* Zap the entire cache. Called when an inode is evicted. +*/ +void nfs4_xattr_cache_zap (struct inode *inode) +{ +struct nfs4_xattr_cache *oldcache; + +spin_lock (&inode->i_lock); + oldcache =nfs4_xattr_cache_unlink (inode); +spin_unlock (&inode->i_lock); + +if (oldcache) +nfs4_xattr_discard_cache (oldcache); +} + +/* +* The entry LRU is shrunk more aggressively than the cache LRU, +* by settings @seeks to 1. +* +* Cache structures are freed only when they've become empty, after +* pruning all but one entry. +*/ + +static unsigned long nfs4_xattr_cache_count (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_entry_count (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_cache_scan (struct shrinker *shrink, +struct shrink_control *sc); +static unsigned long nfs4_xattr_entry_scan (struct shrinker *shrink, +struct shrink_control *sc); + +static struct shrinker nfs4_xattr_cache_shrinker = { + .count_objects = nfs4_xattr_cache_count, + .scan_objects = nfs4_xattr_cache_scan, + .seeks =DEFAULT_SEEKS , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static struct shrinker nfs4_xattr_entry_shrinker = { + .count_objects = nfs4_xattr_entry_count, + .scan_objects = nfs4_xattr_entry_scan, + .seeks =DEFAULT_SEEKS , + .batch =512 , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static struct shrinker nfs4_xattr_large_entry_shrinker = { + .count_objects = nfs4_xattr_entry_count, + .scan_objects = nfs4_xattr_entry_scan, + .seeks =1 , + .batch =512 , + .flags =SHRINKER_MEMCG_AWARE , +}; + +static enum lru_status +cache_lru_isolate (struct list_head *item, +struct list_lru_one *lru,spinlock_t *lru_lock,void *arg) +{ +struct list_head *dispose = arg; +struct inode *inode; +struct nfs4_xattr_cache *cache =container_of (item, + struct nfs4_xattr_cache, lru); + +if (atomic_long_read (&cache->nent) >1 ) +return LRU_SKIP ; + +/* +* If a cache structure is on the LRU list, we know that +* its inode is valid. Try to lock it to break the link. +* Since we're inverting the lock order here, only try. +*/ + inode = cache->inode; + +if (!spin_trylock (&inode->i_lock)) +return LRU_SKIP ; + +kref_get (&cache->ref); + + cache->inode =NULL ; +NFS_I (inode)->xattr_cache =NULL ; +NFS_I (inode)->cache_validity &= ~NFS_INO_INVALID_XATTR ; +list_lru_isolate (lru, &cache->lru); + +spin_unlock (&inode->i_lock); + +list_add_tail (&cache->dispose, dispose); +return LRU_REMOVED ; +} + +static unsigned long +nfs4_xattr_cache_scan (struct shrinker *shrink,struct shrink_control *sc) +{ +LIST_HEAD (dispose); +unsigned long freed; +struct nfs4_xattr_cache *cache; + + freed =list_lru_shrink_walk (&nfs4_xattr_cache_lru, sc, + cache_lru_isolate, &dispose); +while (!list_empty (&dispose)) { + cache = list_first_entry(&dispose, struct nfs4_xattr_cache, + dispose); +list_del_init (&cache->dispose); +nfs4_xattr_discard_cache (cache); +kref_put (&cache->ref, nfs4_xattr_free_cache_cb); + } + +return freed; +} + + +static unsigned long +nfs4_xattr_cache_count (struct shrinker *shrink,struct shrink_control *sc) +{ +unsigned long count; + + count =list_lru_count (&nfs4_xattr_cache_lru); +return vfs_pressure_ratio (count); +} + +static enum lru_status +entry_lru_isolate (struct list_head *item, +struct list_lru_one *lru,spinlock_t *lru_lock,void *arg) +{ +struct list_head *dispose = arg; +struct nfs4_xattr_bucket *bucket; +struct nfs4_xattr_cache *cache; +struct nfs4_xattr_entry *entry =container_of (item, + struct nfs4_xattr_entry, lru); + + bucket = entry->bucket; + cache = bucket->cache; + +/* +* Unhook the entry from its parent (either a cache bucket +* or a cache structure if it's a listxattr buf), so that +* it's no longer found. Then add it to the isolate list, +* to be freed later. +* +* In both cases, we're reverting lock order, so use +* trylock and skip the entry if we can't get the lock. +*/ +if (entry->xattr_name !=NULL ) { +/* Regular cache entry */ +if (!spin_trylock (&bucket->lock)) +return LRU_SKIP ; + +kref_get (&entry->ref); + +hlist_del_init (&entry->hnode); +atomic_long_dec (&cache->nent); +list_lru_isolate (lru, &entry->lru); + +spin_unlock (&bucket->lock); + }else { +/* Listxattr cache entry */ +if (!spin_trylock (&cache->listxattr_lock)) +return LRU_SKIP ; + +kref_get (&entry->ref); + + cache->listxattr =NULL ; +list_lru_isolate (lru, &entry->lru); + +spin_unlock (&cache->listxattr_lock); + } + +list_add_tail (&entry->dispose, dispose); +return LRU_REMOVED ; +} + +static unsigned long +nfs4_xattr_entry_scan (struct shrinker *shrink,struct shrink_control *sc) +{ +LIST_HEAD (dispose); +unsigned long freed; +struct nfs4_xattr_entry *entry; +struct list_lru *lru; + + lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + + freed =list_lru_shrink_walk (lru, sc, entry_lru_isolate, &dispose); + +while (!list_empty (&dispose)) { + entry = list_first_entry(&dispose, struct nfs4_xattr_entry, + dispose); +list_del_init (&entry->dispose); + +/* +* Drop two references: the one that we just grabbed +* in entry_lru_isolate, and the one that was set +* when the entry was first allocated. +*/ +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); +kref_put (&entry->ref, nfs4_xattr_free_entry_cb); + } + +return freed; +} + +static unsigned long +nfs4_xattr_entry_count (struct shrinker *shrink,struct shrink_control *sc) +{ +unsigned long count; +struct list_lru *lru; + + lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? + &nfs4_xattr_large_entry_lru : &nfs4_xattr_entry_lru; + + count =list_lru_count (lru); +return vfs_pressure_ratio (count); +} + + +static void nfs4_xattr_cache_init_once (void *p) +{ +struct nfs4_xattr_cache *cache = (struct nfs4_xattr_cache *)p; + +spin_lock_init (&cache->listxattr_lock); +atomic_long_set (&cache->nent,0 ); +nfs4_xattr_hash_init (cache); + cache->listxattr =NULL ; +INIT_WORK (&cache->work, nfs4_xattr_discard_cache_worker); +INIT_LIST_HEAD (&cache->lru); +INIT_LIST_HEAD (&cache->dispose); +} + +int __init nfs4_xattr_cache_init (void ) +{ +int ret =0 ; + + nfs4_xattr_cache_cachep =kmem_cache_create ("nfs4_xattr_cache_cache" , +sizeof (struct nfs4_xattr_cache ),0 , + (SLAB_RECLAIM_ACCOUNT |SLAB_MEM_SPREAD |SLAB_ACCOUNT ), + nfs4_xattr_cache_init_once); +if (nfs4_xattr_cache_cachep ==NULL ) +return -ENOMEM ; + + ret =list_lru_init_memcg (&nfs4_xattr_large_entry_lru, + &nfs4_xattr_large_entry_shrinker); +if (ret) + goto out4; + + ret =list_lru_init_memcg (&nfs4_xattr_entry_lru, + &nfs4_xattr_entry_shrinker); +if (ret) + goto out3; + + ret =list_lru_init_memcg (&nfs4_xattr_cache_lru, + &nfs4_xattr_cache_shrinker); +if (ret) + goto out2; + + nfs4_xattr_cache_wq =alloc_workqueue ("nfs4_xattr" ,WQ_MEM_RECLAIM ,0 ); +if (nfs4_xattr_cache_wq ==NULL ) + goto out1; + + ret =register_shrinker (&nfs4_xattr_cache_shrinker); +if (ret) + goto out0; + + ret =register_shrinker (&nfs4_xattr_entry_shrinker); +if (ret) + goto out; + + ret =register_shrinker (&nfs4_xattr_large_entry_shrinker); +if (!ret) +return 0 ; + +unregister_shrinker (&nfs4_xattr_entry_shrinker); +out: +unregister_shrinker (&nfs4_xattr_cache_shrinker); +out0: +destroy_workqueue (nfs4_xattr_cache_wq); +out1: +list_lru_destroy (&nfs4_xattr_cache_lru); +out2: +list_lru_destroy (&nfs4_xattr_entry_lru); +out3: +list_lru_destroy (&nfs4_xattr_large_entry_lru); +out4: +kmem_cache_destroy (nfs4_xattr_cache_cachep); + +return ret; +} + +void nfs4_xattr_cache_exit (void ) +{ +unregister_shrinker (&nfs4_xattr_entry_shrinker); +unregister_shrinker (&nfs4_xattr_cache_shrinker); +list_lru_destroy (&nfs4_xattr_entry_lru); +list_lru_destroy (&nfs4_xattr_cache_lru); +kmem_cache_destroy (nfs4_xattr_cache_cachep); +destroy_workqueue (nfs4_xattr_cache_wq); +}fs/nfs/nfs4proc.c +1
-0@@ -7459,6 +7459,7 @@ static int nfs4_xattr_set_nfs4_user(const structxattr_handler *handler, size_t buflen, int flags) { struct nfs_access_entry cache; +int ret;if (!nfs_server_capable (inode,NFS_CAP_XATTR ))fs/nfs/nfs4proc.c +11
-4return -EOPNOTSUPP ;@@ -7477,10 +7478,17 @@ static int nfs4_xattr_set_nfs4_user(const struct xattr_handler *handler, return -EACCES ; } -if (buf ==NULL ) -return nfs42_proc_removexattr (inode, key); -else -return nfs42_proc_setxattr (inode, key, buf, buflen, flags); +if (buf ==NULL ) { + ret =nfs42_proc_removexattr (inode, key); +if (!ret) +nfs4_xattr_cache_remove (inode, key); + }else { + ret =nfs42_proc_setxattr (inode, key, buf, buflen, flags); +if (!ret) +nfs4_xattr_cache_add (inode, key, buf,NULL , buflen); + } + +return ret; }static int nfs4_xattr_get_nfs4_user(const struct
xattr_handler*handler,fs/nfs/nfs4proc.c +1
-0@@ -7488,6 +7496,7 @@ static int nfs4_xattr_get_nfs4_user(const structxattr_handler *handler, const char *key, void *buf, size_t buflen) { struct nfs_access_entry cache; +ssize_t ret;if (!nfs_server_capable (inode,NFS_CAP_XATTR ))fs/nfs/nfs4proc.c +11
-1return -EOPNOTSUPP ;@@ -7497,7 +7506,17 @@ static int nfs4_xattr_get_nfs4_user(const struct xattr_handler *handler, return -EACCES ; } -return nfs42_proc_getxattr (inode, key, buf, buflen); + ret =nfs_revalidate_inode (NFS_SERVER (inode), inode); +if (ret) +return ret; + + ret =nfs4_xattr_cache_get (inode, key, buf, buflen); +if (ret >=0 || (ret <0 && ret != -ENOENT )) +return ret; + + ret =nfs42_proc_getxattr (inode, key, buf, buflen); + +return ret; }static
ssize_tfs/nfs/nfs4proc.c +1
-1@@ -7505,7 +7524,7 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) {u64 cookie;bool eof; -int ret, size; +ssize_t ret, size;char *buf;size_t buflen;fs/nfs/nfs4proc.c +8
-0struct nfs_access_entry cache;@@ -7518,6 +7537,14 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len)return 0 ; } + ret =nfs_revalidate_inode (NFS_SERVER (inode), inode); +if (ret) +return ret; + + ret =nfs4_xattr_cache_list (inode, list, list_len); +if (ret >=0 || (ret <0 && ret != -ENOENT )) +return ret; + cookie =0 ; eof = false;fs/nfs/nfs4proc.c +3
-0buflen = list_len ? list_len :XATTR_LIST_MAX ;@@ -7537,6 +7564,9 @@ nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) size += ret; } +if (list_len) +nfs4_xattr_cache_set_list (inode, list, size); +return size; }fs/nfs/nfs4super.c +10
-0@@ -69,6 +69,7 @@ static void nfs4_evict_inode(struct inode *inode)pnfs_destroy_layout (NFS_I (inode));/* First call standard NFS clear_inode() code */ nfs_clear_inode (inode); +nfs4_xattr_cache_zap (inode); }struct nfs_referral_count {@@ -268,6 +269,12 @@ static int __init init_nfs_v4(void)if (err) goto out1; +#ifdef CONFIG_NFS_V4_2 + err =nfs4_xattr_cache_init (); +if (err) + goto out2; +#endif + err =nfs4_register_sysctl ();if (err) goto out2;@@ -288,6 +295,9 @@ static void __exit exit_nfs_v4(void)nfs4_pnfs_v3_ds_connect_unload ();unregister_nfs_version (&nfs_v4); +#ifdef CONFIG_NFS_V4_2 +nfs4_xattr_cache_exit (); +#endif nfs4_unregister_sysctl ();nfs_idmap_quit ();nfs_dns_resolver_destroy ();include/linux/nfs_fs.h +6
-0@@ -102,6 +102,8 @@ struct nfs_delegation;struct posix_acl ; +struct nfs4_xattr_cache ; +/* * nfs fs inode data in memory */ @@ -188,6 +190,10 @@ struct nfs_inode {struct fscache_cookie *fscache;#endif struct inode vfs_inode; + +#ifdef CONFIG_NFS_V4_2 +struct nfs4_xattr_cache *xattr_cache; +#endif };struct nfs4_copy_state {include/uapi/linux/nfs_fs.h +1
-0@@ -56,6 +56,7 @@#define NFSDBG_PNFS 0x1000#define NFSDBG_PNFS_LD 0x2000#define NFSDBG_STATE 0x4000 +#define NFSDBG_XATTRCACHE 0x8000#define NFSDBG_ALL 0xFFFF
I have applied the patchset and run simple test against dCache nfs server:
root@anahit xattr-test]# df -h .
Filesystem Size Used Avail Use% Mounted on ani:/ 213G 179G 35G 84% /mnt
[root@anahit xattr-test]#
[root@anahit xattr-test]# touch file.txt [root@anahit xattr-test]# attr -l file.txt [root@anahit xattr-test]# attr -s key1 -V value1 file.txt Attribute "key1" set to a 6 byte value for file.txt:
value1
[root@anahit xattr-test]# attr -s key2 -V value2 file.txt Attribute "key2" set to a 6 byte value for file.txt:
value2
[root@anahit xattr-test]# attr -l file.txt Attribute "user.key1" has a 6 byte value for file.txt Attribute "user.key2" has a 6 byte value for file.txt [root@anahit xattr-test]# attr -g key1 file.txt Attribute "key1" had a 6 byte value for file.txt:
value1
[root@anahit xattr-test]# attr -g key2 file.txt Attribute "key2" had a 6 byte value for file.txt:
value2
[root@anahit xattr-test]# getfattr -n user.key1 file.txt # file: file.txt
user.key1="value1"
[root@anahit xattr-test]# getfattr -n user.key2 file.txt # file: file.txt
user.key2="value2"
[root@anahit xattr-test]# attr -r key1 file.txt [root@anahit xattr-test]# attr -r key2 file.txt [root@anahit xattr-test]# attr -l file.txt [root@anahit xattr-test]#
At lease a dirrerent implementation in addition to linux server works as expected.
Tigran.
----- Original Message -----
Quoted 89 lines
From: "Frank van der Linden" <[email protected]>
To: "Trond Myklebust" <[email protected]>, "Anna Schumaker" <[email protected]>, "linux-nfs" <[email protected]>
Cc: "Frank van der Linden" <[email protected]>
Sent: Wednesday, March 11, 2020 8:56:00 PM
Subject: [PATCH 00/13] client side user xattr (RFC8276) supportThis patchset implements the client side for NFS user extended attributes, as defined in RFC8726.
This was originally posted as an RFC in:
https://patchwork.kernel.org/cover/11143565/
Patch 1 is shared with the server side patch, posted separately.
Most comments in there still apply, except that:
1. Client side caching is now included in this patch set.
2. As per the discussion, user extended attributes are enabled if the client and server support them (e.g. they support 4.2 and advertise the user extended attribute FATTR). There are no longer options to switch them off on either the client or the server.
3. The code is no longer conditioned on a config option.
4. The number of patches has been reduced somewhat by merging smaller, related ones.The client side caching is implemented through a per-inode hash table, which is allocated on demand. See
fs/nfs/nfs42xattr.cfor details.This has been tested as follows:
* Linux client and server:
* Test all corner cases (XATTR_SIZE_*)
* Test all failure cases (no xattr, setxattr with different or invalid flags, etc).
* Verify the content of xattrs across several operations.
* Use KASAN and KMEMLEAK for a longer mix of testruns to verify that there were no leaks (after unmounting the filesystem).
* Stress tested caching, trying to run the client out of memory.* Tested against the FreeBSD-current implementation as well, which works (after I fixed 2 bugs in that implementation, which I'm sending out to them too).
* Not tested: RDMA (I couldn't get a setup going).
Frank van der Linden (13):
nfs,nfsd: NFSv4.2 extended attribute protocol definitions
nfs: add client side only definitions for user xattrs NFSv4.2: query the server for extended attribute support NFSv4.2: define limits and sizes for user xattr handling NFSv4.2: add client side XDR handling for extended attributes
nfs: definenfs_access_get_cachedfunction
NFSv4.2: query the extended attribute access bits
nfs: modifyupdate_changeattrto deal with regular files
nfs: define and use theNFS_INO_INVALID_XATTRflag
nfs: make thebuf_to_pages_noslabfunction available to the nfs code NFSv4.2: add the extended attribute proc functions. NFSv4.2: hook in the user extended attribute handlers NFSv4.2: add client side xattr caching.fs/nfs/Makefile | 1 + fs/nfs/client.c | 19 +- fs/nfs/dir.c | 24 +- fs/nfs/inode.c | 16 +- fs/nfs/internal.h | 28 ++ fs/nfs/nfs42.h | 24 + fs/nfs/nfs42proc.c | 248 ++++++++++ fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 442 ++++++++++++++++++ fs/nfs/nfs4_fs.h | 5 + fs/nfs/nfs4client.c | 31 ++ fs/nfs/nfs4proc.c | 248 ++++++++-- fs/nfs/nfs4super.c | 10 + fs/nfs/nfs4xdr.c | 29 ++ fs/nfs/nfstrace.h | 3 +- include/linux/nfs4.h | 25 + include/linux/nfs_fs.h | 12 + include/linux/nfs_fs_sb.h | 6 + include/linux/nfs_xdr.h | 60 ++- include/uapi/linux/nfs4.h | 3 + include/uapi/linux/nfs_fs.h | 1 + 21 files changed, 2276 insertions(+), 42 deletions(-)create mode 100644
fs/nfs/nfs42xattr.c--
2.16.6
Hi Frank,
Quoted 27 lines · Frank van der Linden
This patchset implements the client side for NFS user extended attributes, as defined in RFC8726.
This was originally posted as an RFC in:
https://patchwork.kernel.org/cover/11143565/
Patch 1 is shared with the server side patch, posted separately.
Most comments in there still apply, except that:
1. Client side caching is now included in this patch set.
2. As per the discussion, user extended attributes are enabled if the client and server support them (e.g. they support 4.2 and advertise the user extended attribute FATTR). There are no longer options to switch them off on either the client or the server.
3. The code is no longer conditioned on a config option.
4. The number of patches has been reduced somewhat by merging smaller, related ones.The client side caching is implemented through a per-inode hash table, which is allocated on demand. See
fs/nfs/nfs42xattr.cfor details.This has been tested as follows:
Quoted 8 lines
* Linux client and server:
* Test all corner cases (XATTR_SIZE_*)
* Test all failure cases (no xattr, setxattr with different or invalid flags, etc).
* Verify the content of xattrs across several operations.
* Use KASAN and KMEMLEAK for a longer mix of testruns to verify that there were no leaks (after unmounting the filesystem).
* Stress tested caching, trying to run the client out of memory.
I'm curious if you've tried xfstests with your patches? There are a handful of tests using xattrs that might be good to check with, too:
anna@gouda % grep xattr -l tests/generic/[0-9][0-9][0-9] tests/generic/037
tests/generic/062
tests/generic/066
tests/generic/093
tests/generic/117
tests/generic/337
tests/generic/377
tests/generic/403
tests/generic/425
tests/generic/454
tests/generic/489
tests/generic/523
tests/generic/529
tests/generic/556
Thanks,
Anna
Quoted 49 lines
* Tested against the FreeBSD-current implementation as well, which works (after I fixed 2 bugs in that implementation, which I'm sending out to them too).
* Not tested: RDMA (I couldn't get a setup going).
Frank van der Linden (13):
nfs,nfsd: NFSv4.2 extended attribute protocol definitions
nfs: add client side only definitions for user xattrs NFSv4.2: query the server for extended attribute support NFSv4.2: define limits and sizes for user xattr handling NFSv4.2: add client side XDR handling for extended attributes
nfs: definenfs_access_get_cachedfunction
NFSv4.2: query the extended attribute access bits
nfs: modifyupdate_changeattrto deal with regular files
nfs: define and use theNFS_INO_INVALID_XATTRflag
nfs: make thebuf_to_pages_noslabfunction available to the nfs code NFSv4.2: add the extended attribute proc functions. NFSv4.2: hook in the user extended attribute handlers NFSv4.2: add client side xattr caching.fs/nfs/Makefile | 1 + fs/nfs/client.c | 19 +- fs/nfs/dir.c | 24 +- fs/nfs/inode.c | 16 +- fs/nfs/internal.h | 28 ++ fs/nfs/nfs42.h | 24 + fs/nfs/nfs42proc.c | 248 ++++++++++ fs/nfs/nfs42xattr.c | 1083 +++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 442 ++++++++++++++++++ fs/nfs/nfs4_fs.h | 5 + fs/nfs/nfs4client.c | 31 ++ fs/nfs/nfs4proc.c | 248 ++++++++-- fs/nfs/nfs4super.c | 10 + fs/nfs/nfs4xdr.c | 29 ++ fs/nfs/nfstrace.h | 3 +- include/linux/nfs4.h | 25 + include/linux/nfs_fs.h | 12 + include/linux/nfs_fs_sb.h | 6 + include/linux/nfs_xdr.h | 60 ++- include/uapi/linux/nfs4.h | 3 + include/uapi/linux/nfs_fs.h | 1 + 21 files changed, 2276 insertions(+), 42 deletions(-) create mode 100644 fs/nfs/nfs42xattr.c--
2.16.6
Hi Anna,
Quoted 19 lines · Anna Schumaker
I'm curious if you've tried xfstests with your patches? There are a handful of tests using xattrs that might be good to check with, too:
anna@gouda % grep xattr -l tests/generic/[0-9][0-9][0-9] tests/generic/037
tests/generic/062
tests/generic/066
tests/generic/093
tests/generic/117
tests/generic/337
tests/generic/377
tests/generic/403
tests/generic/425
tests/generic/454
tests/generic/489
tests/generic/523
tests/generic/529
tests/generic/556
Quoted 2 lines
Thanks,
Anna
I did run xfstests, and it looks fine, meaning that the differences between actual and expected output are expected. I can rerun the xattr specific ones and post the report. Will do that with v2.
- Frank
Quoted 19 lines · Anna Schumaker
I'm curious if you've tried xfstests with your patches? There are a handful of tests using xattrs that might be good to check with, too:
anna@gouda % grep xattr -l tests/generic/[0-9][0-9][0-9] tests/generic/037
tests/generic/062
tests/generic/066
tests/generic/093
tests/generic/117
tests/generic/337
tests/generic/377
tests/generic/403
tests/generic/425
tests/generic/454
tests/generic/489
tests/generic/523
tests/generic/529
tests/generic/556
Quoted 2 lines
Thanks,
Anna
I ran did a "check -nfs -g quick" run of xfstests-dev. The following tests were applicable to extended attributes:
generic/020 fail Doesn't compute MAX_ATTR right for NFS, passes
after fixing that.
generic/037 pass
generic/062 fail It unconditionally expects the "system" and
"trusted" namespaces to be there too, not easily fixed.
generic/066 pass
generic/093 fail Capabilities use the "security" namespace, can't
work on NFS.
generic/097 fail "trusted" namespace explicitly used, can't work
on NFS.
generic/103 fail fallocate fails on NFS, not xattr related generic/117 pass generic/377 fail Doesn't expect the "system.nfs4acl" attribute to
show up in listxattr. Can be fixed by filtering out only "user" namespace xattrs.
generic/403 fail Uses the "trusted" namespace, but does not really
need it. Works if converted to the "user" namespace.
generic/454 pass
generic/523 pass
In other words, there were no problems with the patches themselves, but xfstests will need some work to work properly.
I can send a few simple fixes in for xfstests, but a few need a bit more work, specifically the ones that expected certain xattr namespaces to be there. Right now there is a "_require_attr" check function, that probably needs to be split up in to "_require_attr_user, _require_attr_system", etc functions, which is a bit more work.
- Frank
Quoted 48 lines · Frank van der Linden
Quoted 19 lines · Anna Schumaker
I'm curious if you've tried xfstests with your patches? There are a handful of tests using xattrs that might be good to check with, too:
anna@gouda % grep xattr -l tests/generic/[0-9][0-9][0-9] tests/generic/037
tests/generic/062
tests/generic/066
tests/generic/093
tests/generic/117
tests/generic/337
tests/generic/377
tests/generic/403
tests/generic/425
tests/generic/454
tests/generic/489
tests/generic/523
tests/generic/529
tests/generic/556Quoted 2 lines
Thanks,
AnnaI ran did a "check -nfs -g quick" run of xfstests-dev. The following tests were applicable to extended attributes:
generic/020 fail Doesn't compute
MAX_ATTRright for NFS, passes
after fixing that.
generic/037 pass
generic/062 fail It unconditionally expects the "system" and
"trusted" namespaces to be there too, not easily fixed.
generic/066 pass
generic/093 fail Capabilities use the "security" namespace, can't
work on NFS.
generic/097 fail "trusted" namespace explicitly used, can't work
on NFS.generic/103 fail fallocate fails on NFS, not xattr related generic/117 pass generic/377 fail Doesn't expect the "system.nfs4acl" attribute toshow up in listxattr. Can be fixed by filtering out only "user" namespace xattrs.
generic/403 fail Uses the "trusted" namespace, but does not really
need it. Works if converted to the "user" namespace.
generic/454 pass
generic/523 pass
Quoted 8 lines
In other words, there were no problems with the patches themselves, but xfstests will need some work to work properly.
I can send a few simple fixes in for xfstests, but a few need a bit more work, specifically the ones that expected certain xattr namespaces to be there. Right now there is a "
_require_attr" check function, that probably needs to be split up in to "_require_attr_user,_require_attr_system", etc functions, which is a bit more work.
I just took a quick look at common/attr and all I see in _require_attrs is:
attr -s "user.xfstests" -V "attr" $TEST_DIR/syscalltest
What am I missing?
--b.