I am able to compile the kernel with the patch you posted and now I am getting the following errors:
[ 78.330687] UBSAN: invalid-load in drivers/net/wireless/ath/ath5k/base.c:488:16
[ 78.330689] load of value 144 is not a valid value for type '_Bool'
and
[ 78.330842] UBSAN: invalid-load in drivers/net/wireless/ath/ath5k/base.c:497:16
[ 78.330843] load of value 255 is not a valid value for type '_Bool'
I can connect to the network with the card, but it disconnects itself from time to time from the router and loses connection spamming the following messages:
I am able to compile the kernel with the patch you posted and now I am getting the following errors:
[ 78.330687] UBSAN: invalid-load in drivers/ net/wireless/ ath/ath5k/ base.c: 488:16 net/wireless/ ath/ath5k/ base.c: 497:16
[ 78.330689] load of value 144 is not a valid value for type '_Bool'
and
[ 78.330842] UBSAN: invalid-load in drivers/
[ 78.330843] load of value 255 is not a valid value for type '_Bool'
I can connect to the network with the card, but it disconnects itself from time to time from the router and loses connection spamming the following messages:
[ 3533.615792] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x000e address=0x0 flags=0x0000]
[ 3533.615802] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x000e address=0x20 flags=0x0000]
[ 3533.615808] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x000e address=0x40 flags=0x0000]
[ 3533.615812] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x000e address=0x60 flags=0x0000]
I found some messages saying that using kernel parameter iommu=soft helps here but this is not the case.
In case you update the patch I am willing to test it. Thanks in advance.