LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing
to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb]
gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors:
---------------
In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75,
from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30:
/usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32:
error: use of enum 'gsi_iterator_update' without previous declaration
72 | enum gsi_iterator_update,
| ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Links:
--------
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build…
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build…
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build…
--
Linaro LKFT
https://lkft.linaro.org
From: Ladislav Michl <ladis(a)linux-mips.org>
Although valid USB clock divider will be calculated for all valid
Octeon core frequencies, make code formally correct limiting
divider not to be greater that 7 so it fits into H_CLKDIV_SEL
field.
Signed-off-by: Ladislav Michl <ladis(a)linux-mips.org>
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Closes: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230808/te…
---
Greg, if you want to resent whole serie, just drop me a note.
Otherwise, this patch is meant to be applied on to of it.
Thank you.
drivers/usb/dwc3/dwc3-octeon.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-octeon.c b/drivers/usb/dwc3/dwc3-octeon.c
index 6f47262a117a..73bdcebf465c 100644
--- a/drivers/usb/dwc3/dwc3-octeon.c
+++ b/drivers/usb/dwc3/dwc3-octeon.c
@@ -251,11 +251,11 @@ static int dwc3_octeon_get_divider(void)
while (div < ARRAY_SIZE(clk_div)) {
uint64_t rate = octeon_get_io_clock_rate() / clk_div[div];
if (rate <= 300000000 && rate >= 150000000)
- break;
+ return div;
div++;
}
- return div;
+ return -EINVAL;
}
static int dwc3_octeon_setup(struct dwc3_octeon *octeon,
@@ -289,6 +289,10 @@ static int dwc3_octeon_setup(struct dwc3_octeon *octeon,
/* Step 4b: Select controller clock frequency. */
div = dwc3_octeon_get_divider();
+ if (div < 0) {
+ dev_err(dev, "clock divider invalid\n");
+ return div;
+ }
val = dwc3_octeon_readq(uctl_ctl_reg);
val &= ~USBDRD_UCTL_CTL_H_CLKDIV_SEL;
val |= FIELD_PREP(USBDRD_UCTL_CTL_H_CLKDIV_SEL, div);
--
2.39.2
Total jobs: 34
Total errors: 10 (29.41%)
LAVA errors: 0 (0.00%)
Test errors: 9 (26.47%)
Job errors: 1 (2.94%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 14
Total errors: 5 (35.71%)
Error type: Test
Error count: 4 (28.57%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 2 (14.29%)
IDs:
db845c-06:
6652946
db845c-09:
6652912
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 1 (7.14%)
IDs:
db845c-02:
6652876
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 584 seconds'
Count: 1 (7.14%)
IDs:
db845c-03:
6649248
Error type: Job
Error count: 1 (7.14%)
Error: No match for error type 'Job', message 'login-action timed out after 868 seconds'
Count: 1 (7.14%)
IDs:
db845c-06:
6652914
Device type: qrb5165-rb5
Total jobs: 20
Total errors: 5 (25.00%)
Error type: Test
Error count: 5 (25.00%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[9496f60d]'
Count: 4 (20.00%)
IDs:
rb5-01:
6648877 6648879 6648894 6648902
Error: No match for error type 'Test', message 'tradefed - adb device lost[d8a1879f]'
Count: 1 (5.00%)
IDs:
rb5-07:
6648890