Re: [Linuxarm] [PATCH v2] input - mk712: remove the driver as it is obsolete and causes kernel crash

From
John Garry <hidden>
Date
2021-01-13 09:29:36
Reply to
Song Bao Hua (Barry Song), 2021-01-12
On 12/01/2021 21:54, Song Bao Hua (Barry Song) wrote:
quoted
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/dr
ivers/hwmon/Kconfig?h=v5.11-rc3#n551

But not a great solution.
Yep. It looks buggy as powerpc and arm64 could have the device literally
though practically people might not use them.
quoted
I tried to guard against it in this series, but never got it over the line:
https://lore.kernel.org/linux-pci/1560262374-67875-1-git-send-email-john.g
arry@huawei.com/
Cool. I didn't realize you have tried to figure out a patchset
to fix it in common code. It seems it is worth revisiting the
patchset?
So that patchset would stop the system crashing when there is no IO port mapped upon access. But I still did not like how those drivers unconditionally access those ports, which could have side-effects when some PCI IO port is mapped to the same IO port address.

Anyway, I'll look again at it.

Thanks,
John
Thread (4 messages) 4 messages, 2 authors, last reply 2021-01-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help