]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipa-sysfs'
authorDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 21:13:18 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 21:13:18 +0000 (14:13 -0700)
commitdc2814d2ba296deff84792c98256f5fc46464b4d
tree9e0bef177cc30b0a99c643ff84dbd4ca649ed5f8
parent7eeb49238669572ca57fc6ba096f04236b9bdd4b
parent2ab7c55246ddf4fce422bb120fda9ed5eb903a94
Merge branch 'ipa-sysfs'

Alex Elder says:

====================
net: ipa: introduce ipa_syfs.c

This series (its last patch, actually) creates a new source file,
"ipa_syfs.c", to contain functions and data that expose to user
space information known by the IPA driver via device attributes.

The directory containing these files on supported systems is:
    /sys/devices/platform/soc@0/1e40000.ipa

And within that direcftory, the following files and directories
are added:
    .
    |-- feature
    |   |-- rx_offload          Type of checksum offload supported
    |   `-- tx_offload
    |   . . .
    |-- modem
    |   |-- rx_endpoint_id      IPA endpoint IDs for the embedded modem
    |   `-- tx_endpoint_id
    |   . . .
    |-- version                 IPA hardware version (informational)
        . . .

The first patch just makes endpoint validation unconditional, as
suggested by Leon Romanovsky.  The second just ensures the version
defined in configuration data is valid, so the version attribute
doesn't have to handle unrecognized version numbers.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>