[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] sd: disable sdhci-pci device by default
From: |
P J P |
Subject: |
Re: [PATCH 2/2] sd: disable sdhci-pci device by default |
Date: |
Thu, 21 May 2020 15:38:44 +0530 (IST) |
+-- On Wed, 20 May 2020, Philippe Mathieu-Daudé wrote --+
| Prasad, I once tried to remove it, and Kevin said he was using it:
|
| https://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg02765.html
|
| I do find qemu's PCI SDHCI support useful for testing.
| SeaBIOS can launch an OS from PCI SDHCI (qemu-system-x86_64
| -device sdhci-pci -device sd-card,drive=drive0 -drive
| id=drive0,if=none,file=dos-drivec) and linux has drivers for
| it as well. A number of the Chromebooks ship with PCI SDHCI
| devices on them, so it's not an unheard of configuration.
|
| Prasad, again back at that time I tried to remove this (as the device appears
| unused) Paolo told me after asking explanation for his comment "PCI devices
| can be created with -device, they don't have to be added by
| boards." [*] - I guess it was on IRC - to check commit 224d10ff5ae, this
| device was added with RH PCI ID because it was useful for testing:
|
| ...
|
| This device is also nicely used as example for the qgraph testing (see
| tests/test-qgraph.c added in fc281c80202).
|
| [*] https://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg02819.html
|
| Peter, indeed the Kconfig was added to allow distributions to disable piece of
| code, and we want to keep this device in mainstream QEMU.
| Distributions are free to disable it setting SDHCI_PCI=n
|
| So to this patch:
|
| Nack.
Right, okay. (I half expected it ;)
Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
8685 545E B54C 486B C6EB 271E E285 8B5A F050 DE8D