Total jobs: 139
Total errors: 33 (23.74%)
LAVA errors: 0 (0.00%)
Test errors: 33 (23.74%)
Job errors: 0 (0.00%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 85
Total errors: 24 (28.24%)
Error type: Test
Error count: 24 (28.24%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 19 (22.35%)
IDs:
db845c-01:
6954053 6954113 6954121
db845c-02:
6953988 6956898
db845c-04:
6954063 6956897
db845c-06:
6954092
db845c-07:
6953073 6957000
db845c-08:
6953999 6954046 6956382
db845c-09:
6954065 6956998 6957032
db845c-10:
6953985 6953994 6953997
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 595 seconds'
Count: 1 (1.18%)
IDs:
db845c-08:
6954098
Error: No match for error type 'Test', message 'tradefed - adb device lost[371c4e67]'
Count: 1 (1.18%)
IDs:
db845c-07:
6954002
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 1 (1.18%)
IDs:
db845c-08:
6953986
Error: No match for error type 'Test', message 'tradefed - adb device lost[1028094e]'
Count: 1 (1.18%)
IDs:
db845c-10:
6953975
Error: No match for error type 'Test', message 'tradefed - adb device lost[4f8fceab]'
Count: 1 (1.18%)
IDs:
db845c-08:
6953117
Device type: qrb5165-rb5
Total jobs: 47
Total errors: 8 (17.02%)
Error type: Test
Error count: 8 (17.02%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 2 (4.26%)
IDs:
rb5-03:
6954108 6957008
Error: No match for error type 'Test', message 'tradefed - adb device lost[f11b68eb]'
Count: 1 (2.13%)
IDs:
rb5-05:
6954237
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (6.38%)
IDs:
rb5-03:
6953087 6954031
rb5-06:
6953065
Error: No match for error type 'Test', message 'tradefed - adb device lost[4fc7b22]'
Count: 2 (4.26%)
IDs:
rb5-06:
6953090 6953093
Device type: x86
Total jobs: 1
Total errors: 0 (0.00%)
Device type: x15
Total jobs: 2
Total errors: 0 (0.00%)
Device type: juno-r2
Total jobs: 1
Total errors: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 1
Total errors: 0 (0.00%)
Device type: bcm2711-rpi-4-b
Total jobs: 2
Total errors: 1 (50.00%)
Error type: Test
Error count: 1 (50.00%)
Error: lava-test-shell timed out
Count: 1 (50.00%)
IDs:
rpi4-b-01:
6945706
Total jobs: 276
Total errors: 55 (19.93%)
LAVA errors: 0 (0.00%)
Test errors: 12 (4.35%)
Job errors: 42 (15.22%)
Infra errors: 1 (0.36%)
Canceled jobs: 0 (0.00%)
Device type: hi960-hikey
Total jobs: 24
Total errors: 4 (16.67%)
Error type: Test
Error count: 4 (16.67%)
Error: Device NOT found!
Count: 3 (12.50%)
IDs:
hi960-hikey-03:
4009092 4009094
hi960-hikey-05:
4009091
Error: No match for error type 'Test', message 'tradefed - adb device lost[57DD383701799F9A]'
Count: 1 (4.17%)
IDs:
hi960-hikey-05:
4009076
Device type: x86
Total jobs: 26
Total errors: 6 (23.08%)
Error type: Test
Error count: 6 (23.08%)
Error: lava-test-shell timed out
Count: 6 (23.08%)
IDs:
x86-01:
4009204 4009250 4009278 4009301 4009330
4009505
Device type: bcm2837-rpi-3-b-32
Total jobs: 71
Total errors: 4 (5.63%)
Error type: Job
Error count: 3 (4.23%)
Error: No match for error type 'Job', message '1 retries out of 5 failed for uboot-action'
Count: 2 (2.82%)
IDs:
rpi3-b-32-03:
4009150 4009493
Error: No match for error type 'Job', message 'login-action timed out after 515 seconds'
Count: 1 (1.41%)
IDs:
rpi3-b-32-03:
4009123
Error type: Test
Error count: 1 (1.41%)
Error: lava-test-shell timed out
Count: 1 (1.41%)
IDs:
rpi3-b-32-03:
4009438
Device type: dragonboard-410c
Total jobs: 17
Total errors: 0 (0.00%)
Device type: synquacer
Total jobs: 21
Total errors: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 14
Total errors: 9 (64.29%)
Error type: Job
Error count: 9 (64.29%)
Error: No match for error type 'Job', message 'login-action timed out after 864 seconds'
Count: 1 (7.14%)
IDs:
dragonboard-845c-02:
4009483
Error: wait for prompt timed out
Count: 6 (42.86%)
IDs:
dragonboard-845c-06:
4009143 4009228 4009392
dragonboard-845c-07:
4009152 4009265 4009450
Error: No match for error type 'Job', message 'login-action timed out after 873 seconds'
Count: 1 (7.14%)
IDs:
dragonboard-845c-02:
4009344
Error: No match for error type 'Job', message 'login-action timed out after 874 seconds'
Count: 1 (7.14%)
IDs:
dragonboard-845c-08:
4009160
Device type: dragonboard-820c
Total jobs: 12
Total errors: 11 (91.67%)
Error type: Job
Error count: 11 (91.67%)
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009481/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009481
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009449/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009449
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009397/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009397
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009349/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009349
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009262/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009262
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009224/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009224
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009159/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009159
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009156/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009156
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/4009145/downloads/common,destination=/lava-downloads' 'linaro/kir:master' '/lava-downloads/postprocess.sh''
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009145
Error: No match for error type 'Job', message 'login-action timed out after 867 seconds'
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009068
Error: Invalid job data
Count: 1 (8.33%)
IDs:
dragonboard-820c-01:
4009067
Device type: x15
Total jobs: 47
Total errors: 20 (42.55%)
Error type: Job
Error count: 19 (40.43%)
Error: wait for prompt timed out
Count: 19 (40.43%)
IDs:
x15-01:
4009125 4009129 4009134 4009147 4009166
4009169 4009171 4009217 4009237 4009306
4009313 4009360 4009388 4009403 4009410
4009412 4009424 4009436 4009461
Error type: Infrastructure
Error count: 1 (2.13%)
Error: No match for error type 'Infrastructure', message 'bootloader-commands timed out after 287 seconds'
Count: 1 (2.13%)
IDs:
x15-01:
4009355
Device type: hi6220-hikey-r2
Total jobs: 2
Total errors: 1 (50.00%)
Error type: Test
Error count: 1 (50.00%)
Error: lava-test-shell timed out
Count: 1 (50.00%)
IDs:
hi6220-hikey-r2-01:
4009416
Device type: beaglebone-black
Total jobs: 26
Total errors: 0 (0.00%)
Device type: qemu
Total jobs: 5
Total errors: 0 (0.00%)
Device type: frdm-kw41z
Total jobs: 2
Total errors: 0 (0.00%)
Device type: frdm-k64f
Total jobs: 3
Total errors: 0 (0.00%)
Device type: docker
Total jobs: 3
Total errors: 0 (0.00%)
Device type: x15-bl
Total jobs: 1
Total errors: 0 (0.00%)
Device type: soca9
Total jobs: 2
Total errors: 0 (0.00%)
We have paid everything up that is due/overdue. Attached is a
copy of the payment slip, Please view attachment and confirm
payment.
Thank you for your patience.
Sujit Biswas
Total jobs: 116
Total errors: 33 (28.45%)
LAVA errors: 0 (0.00%)
Test errors: 28 (24.14%)
Job errors: 4 (3.45%)
Infra errors: 1 (0.86%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 61
Total errors: 16 (26.23%)
Error type: Test
Error count: 13 (21.31%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[c9fcbffe]'
Count: 2 (3.28%)
IDs:
db845c-09:
6949441 6953120
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 6 (9.84%)
IDs:
db845c-02:
6949364
db845c-06:
6949362 6949365
db845c-07:
6949366
db845c-09:
6949360 6953060
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 297 seconds'
Count: 1 (1.64%)
IDs:
db845c-08:
6953000
Error: No match for error type 'Test', message 'tradefed - adb device lost[db2a494d]'
Count: 1 (1.64%)
IDs:
db845c-02:
6950458
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 3 (4.92%)
IDs:
db845c-04:
6950300 6950302
db845c-10:
6950301
Error type: Job
Error count: 3 (4.92%)
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6950428/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:latest' '/lava-downloads/postprocess.sh''
Count: 1 (1.64%)
IDs:
db845c-10:
6950428
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6950417/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:latest' '/lava-downloads/postprocess.sh''
Count: 1 (1.64%)
IDs:
db845c-10:
6950417
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6950411/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:latest' '/lava-downloads/postprocess.sh''
Count: 1 (1.64%)
IDs:
db845c-01:
6950411
Device type: qrb5165-rb5
Total jobs: 52
Total errors: 17 (32.69%)
Error type: Test
Error count: 15 (28.85%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 5 (9.62%)
IDs:
rb5-03:
6949389 6949397 6952900
rb5-05:
6950299
rb5-07:
6949323
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 3 (5.77%)
IDs:
rb5-03:
6949311 6949388 6952005
Error: No match for error type 'Test', message 'tradefed - adb device lost[4fc7b22]'
Count: 6 (11.54%)
IDs:
rb5-06:
6949337 6949390 6950318 6950466 6951325
6951326
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 591 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
6949424
Error type: Job
Error count: 1 (1.92%)
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6950412/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:latest' '/lava-downloads/postprocess.sh''
Count: 1 (1.92%)
IDs:
rb5-05:
6950412
Error type: Infrastructure
Error count: 1 (1.92%)
Error: Connection closed
Count: 1 (1.92%)
IDs:
rb5-05:
6949339
Device type: juno-r2
Total jobs: 2
Total errors: 0 (0.00%)
Device type: bcm2711-rpi-4-b
Total jobs: 1
Total errors: 0 (0.00%)
Total jobs: 87
Total errors: 13 (14.94%)
LAVA errors: 0 (0.00%)
Test errors: 13 (14.94%)
Job errors: 0 (0.00%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: qrb5165-rb5
Total jobs: 43
Total errors: 6 (13.95%)
Error type: Test
Error count: 6 (13.95%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (6.98%)
IDs:
rb5-03:
6946350 6949299
rb5-06:
6949298
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (2.33%)
IDs:
rb5-03:
6946332
Error: No match for error type 'Test', message 'tradefed - adb device lost[4fc7b22]'
Count: 1 (2.33%)
IDs:
rb5-06:
6946325
Error: Device NOT found!
Count: 1 (2.33%)
IDs:
rb5-03:
6946313
Device type: dragonboard-845c
Total jobs: 39
Total errors: 7 (17.95%)
Error type: Test
Error count: 7 (17.95%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (7.69%)
IDs:
db845c-02:
6949285
db845c-07:
6949328
db845c-10:
6948181
Error: No match for error type 'Test', message 'tradefed - adb device lost[1028094e]'
Count: 1 (2.56%)
IDs:
db845c-10:
6948228
Error: No match for error type 'Test', message 'tradefed - adb device lost[4f8fceab]'
Count: 2 (5.13%)
IDs:
db845c-08:
6946125 6948200
Error: No match for error type 'Test', message 'tradefed - adb device lost[371c4e67]'
Count: 1 (2.56%)
IDs:
db845c-07:
6946270
Device type: x86
Total jobs: 1
Total errors: 0 (0.00%)
Device type: juno-r2
Total jobs: 1
Total errors: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 3
Total errors: 0 (0.00%)
Total jobs: 94
Total errors: 23 (24.47%)
LAVA errors: 0 (0.00%)
Test errors: 18 (19.15%)
Job errors: 5 (5.32%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: qrb5165-rb5
Total jobs: 21
Total errors: 8 (38.10%)
Error type: Test
Error count: 8 (38.10%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 4 (19.05%)
IDs:
rb5-03:
6945012 6946075 6946281
rb5-06:
6946286
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (4.76%)
IDs:
rb5-03:
6946277
Error: No match for error type 'Test', message 'tradefed - adb device lost[4fc7b22]'
Count: 3 (14.29%)
IDs:
rb5-06:
6945008 6946051 6946200
Device type: dragonboard-845c
Total jobs: 66
Total errors: 14 (21.21%)
Error type: Test
Error count: 9 (13.64%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 5 (7.58%)
IDs:
db845c-01:
6945021
db845c-02:
6939029 6946341
db845c-06:
6939030 6939047
Error: No match for error type 'Test', message 'tradefed - adb device lost[1c0556e1]'
Count: 1 (1.52%)
IDs:
db845c-06:
6944165
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 596 seconds'
Count: 1 (1.52%)
IDs:
db845c-01:
6939024
Error: No match for error type 'Test', message 'tradefed - adb device lost[db2a494d]'
Count: 1 (1.52%)
IDs:
db845c-02:
6939008
Error: No match for error type 'Test', message 'tradefed - adb device lost[371c4e67]'
Count: 1 (1.52%)
IDs:
db845c-07:
6939003
Error type: Job
Error count: 5 (7.58%)
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6939046/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:bulleye-2023.09.14-01' '/lava-downloads/postprocess.sh''
Count: 1 (1.52%)
IDs:
db845c-06:
6939046
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6939045/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:bulleye-2023.09.14-01' '/lava-downloads/postprocess.sh''
Count: 1 (1.52%)
IDs:
db845c-06:
6939045
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6939044/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:bulleye-2023.09.14-01' '/lava-downloads/postprocess.sh''
Count: 1 (1.52%)
IDs:
db845c-06:
6939044
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6939043/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:bulleye-2023.09.14-01' '/lava-downloads/postprocess.sh''
Count: 1 (1.52%)
IDs:
db845c-06:
6939043
Error: No match for error type 'Job', message 'Unable to run 'docker' 'run' '--rm' '--init' '--workdir=/lava-downloads' '--device=/dev/kvm' '--mount=type=bind,source=/var/lib/lava/dispatcher/tmp/6939042/downloads/common,destination=/lava-downloads' 'linaro/lava-android-postprocess:bulleye-2023.09.14-01' '/lava-downloads/postprocess.sh''
Count: 1 (1.52%)
IDs:
db845c-06:
6939042
Device type: juno-r2
Total jobs: 2
Total errors: 1 (50.00%)
Error type: Test
Error count: 1 (50.00%)
Error: lava-test-shell timed out
Count: 1 (50.00%)
IDs:
juno-r2-04:
6941579
Device type: x86
Total jobs: 2
Total errors: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 2
Total errors: 0 (0.00%)
Device type: e850-96
Total jobs: 1
Total errors: 0 (0.00%)
On Thu, Oct 12, 2023 at 06:04:30PM +0100, Lorenzo Stoakes wrote:
> In order for a F_SEAL_WRITE sealed memfd mapping to have an opportunity to
> clear VM_MAYWRITE, we must be able to invoke the appropriate vm_ops->mmap()
> handler to do so. We would otherwise fail the mapping_map_writable() check
> before we had the opportunity to avoid it.
>
> This patch moves this check after the call_mmap() invocation. Only memfd
> actively denies write access causing a potential failure here (in
> memfd_add_seals()), so there should be no impact on non-memfd cases.
>
> This patch makes the userland-visible change that MAP_SHARED, PROT_READ
> mappings of an F_SEAL_WRITE sealed memfd mapping will now succeed.
>
> There is a delicate situation with cleanup paths assuming that a writable
> mapping must have occurred in circumstances where it may now not have. In
> order to ensure we do not accidentally mark a writable file unwritable by
> mistake, we explicitly track whether we have a writable mapping and
> unmap only if we do.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=217238
> Signed-off-by: Lorenzo Stoakes <lstoakes(a)gmail.com>
> ---
> mm/mmap.c | 23 ++++++++++++++---------
> 1 file changed, 14 insertions(+), 9 deletions(-)
>
[snip]
Andrew, could you apply the following -fix patch to this? As a bug was
detected in the implementation [0] - I was being over-zealous in setting
the writable_file_mapping flag and had falsely assumed vma->vm_file == file
in all instances of the cleanup. The fix is to only set it in one place.
[0]: https://lore.kernel.org/all/CA+G9fYtL7wK-dE-Tnz4t-GWmQb50EPYa=TWGjpgYU2Z=oe…
----8<----
From 7feea6faada5b10a872c24755cc630220cba619a Mon Sep 17 00:00:00 2001
From: Lorenzo Stoakes <lstoakes(a)gmail.com>
Date: Mon, 16 Oct 2023 17:17:13 +0100
Subject: [PATCH] mm: perform the mapping_map_writable() check after
call_mmap()
Do not set writable_file_mapping in an instance where it is not appropriate
to do so.
Signed-off-by: Lorenzo Stoakes <lstoakes(a)gmail.com>
---
mm/mmap.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 7f45a08e7973..8b57e42fd980 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2923,10 +2923,8 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
mm->map_count++;
if (vma->vm_file) {
i_mmap_lock_write(vma->vm_file->f_mapping);
- if (vma_is_shared_maywrite(vma)) {
+ if (vma_is_shared_maywrite(vma))
mapping_allow_writable(vma->vm_file->f_mapping);
- writable_file_mapping = true;
- }
flush_dcache_mmap_lock(vma->vm_file->f_mapping);
vma_interval_tree_insert(vma, &vma->vm_file->f_mapping->i_mmap);
--
2.42.0
Total jobs: 57
Total errors: 11 (19.30%)
LAVA errors: 0 (0.00%)
Test errors: 9 (15.79%)
Job errors: 2 (3.51%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 27
Total errors: 7 (25.93%)
Error type: Test
Error count: 5 (18.52%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 4 (14.81%)
IDs:
db845c-02:
6940788
db845c-07:
6940790
db845c-08:
6938917
db845c-09:
6938924
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 596 seconds'
Count: 1 (3.70%)
IDs:
db845c-06:
6938928
Error type: Job
Error count: 2 (7.41%)
Error: wait for prompt timed out
Count: 1 (3.70%)
IDs:
db845c-02:
6940785
Error: No match for error type 'Job', message 'login-action timed out after 870 seconds'
Count: 1 (3.70%)
IDs:
db845c-09:
6938926
Device type: qrb5165-rb5
Total jobs: 26
Total errors: 4 (15.38%)
Error type: Test
Error count: 4 (15.38%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 1 (3.85%)
IDs:
rb5-03:
6939013
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 3 (11.54%)
IDs:
rb5-03:
6937534 6937536 6937884
Device type: x15
Total jobs: 3
Total errors: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 1
Total errors: 0 (0.00%)