selftests: gpio: gpio-sim test FAIL - gpio gpiochip2: (gpio-sim.0-node0): line cnt 34463 is greater than fast path cnt 512

From: Naresh Kamboju
Date: Wed Oct 19 2022 - 09:52:15 EST


The selftest gpio gpio-sim.sh started failing from Linux next-20221018 and
also noticed on next-20221019 here is the test log [1] and [2].

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

# selftests: gpio: gpio-sim.sh
# 1. chip_name and dev_name attributes
# 1.1. Chip name is communicated to user
# 1.2. chip_name returns 'none' if the chip is still pending
# 1.3. Device name is communicated to user
# 2. Creating and configuring simulated chips
# 2.1. Default number of lines is 1
# 2.2. Number of lines can be specified
# 2.3. Label can be set
# 2.4. Label can be left empty
# 2.5. Line names can be configured
# 2.6. Line config can remain unused if offset is greater than number of lines
# 2.7. Line configfs directory names are sanitized
# 2.8. Multiple chips can be created
# 2.9. Can't modify settings when chip is live
# 2.10. Can't create line items when chip is live
# 2.11. Probe errors are propagated to user-space
[ 74.861454] gpio gpiochip2: (gpio-sim.0-node0): line cnt 34463 is
greater than fast path cnt 512
[ 78.907553] audit: type=1334 audit(1651167801.183:10): prog-id=0 op=UNLOAD
[ 78.914706] audit: type=1334 audit(1651167801.183:11): prog-id=0 op=UNLOAD
# Probe error was not propagated
# GPIO gpio-sim test FAIL
not ok 2 selftests: gpio: gpio-sim.sh # exit=1


## Build
* kernel: 6.1.0-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
* git branch: master
* git commit: a72b55bc981b62f7186600d06d1824f1d0612b27
* git describe: next-20221019
* test details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221019

## Test Regressions (compared to next-20221017)
* bcm2711-rpi-4-b, kselftest-gpio
- gpio.gpio-sim.sh


[1] https://lkft.validation.linaro.org/scheduler/job/5702400#L1325

Test results comparison link,
[2] https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221019/testrun/12529653/suite/kselftest-gpio/test/gpio.gpio-sim.sh/history/


--
Linaro LKFT
https://lkft.linaro.org