spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
Subsystems (2)
PATCH 1/1 spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
--- drivers/mtd/spi-nor/intel-spi-pci.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/intel-spi-pci.c +1 -0
@@ -65,6 +65,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)static const struct pci_device_id intel_spi_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x18e0 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0x19e0 ), (unsigned long )&bxt_info }, + {PCI_VDEVICE (INTEL ,0x34a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa1a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa224 ), (unsigned long )&bxt_info }, { },
Signature · 1 line
2.18.0
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>
This should probably go through trivial patches ML, no ? Also, CC Stable.
Quoted 17 lines
--- drivers/mtd/spi-nor/intel-spi-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi-nor/intel-spi-pci.c +1
-0@@ -65,6 +65,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)static const struct pci_device_id intel_spi_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x18e0 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0x19e0 ), (unsigned long )&bxt_info }, + {PCI_VDEVICE (INTEL ,0x34a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa1a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa224 ), (unsigned long )&bxt_info }, { },
Signature · 2 lines
Best regards, Marek Vasut
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Hmm, what do you mean? This is not a typo fix or similar but adds a new PCI ID to the driver.
Quoted 1 line
Also, CC Stable.
OK.
Quoted 22 lines
Quoted 17 lines
--- drivers/mtd/spi-nor/intel-spi-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi-nor/intel-spi-pci.c +1
-0@@ -65,6 +65,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)static const struct pci_device_id intel_spi_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x18e0 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0x19e0 ), (unsigned long )&bxt_info }, + {PCI_VDEVICE (INTEL ,0x34a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa1a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa224 ), (unsigned long )&bxt_info }, { },Signature · 2 lines
Best regards, Marek Vasut
Marek Vasut
Acked-byQuoted 6 lines · Mika Westerberg
Quoted 5 lines · Marek Vasut
Quoted 4 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Hmm, what do you mean? This is not a typo fix or similar but adds a new PCI ID to the driver.
I mean, adding PCI IDs might be considered trivial. But if you want it to go through MTD, fine:
Quoted 26 lines
Quoted 1 line
Also, CC Stable.
OK.
Quoted 22 lines
Quoted 17 lines
--- drivers/mtd/spi-nor/intel-spi-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi-nor/intel-spi-pci.c +1
-0@@ -65,6 +65,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)static const struct pci_device_id intel_spi_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x18e0 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0x19e0 ), (unsigned long )&bxt_info }, + {PCI_VDEVICE (INTEL ,0x34a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa1a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa224 ), (unsigned long )&bxt_info }, { },Signature · 2 lines
Best regards, Marek Vasut
Signature · 2 lines
Best regards, Marek Vasut
Quoted 11 lines · Marek Vasut
Quoted 10 lines · Mika Westerberg
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Quoted 7 lines
Quoted 2 lines
Hmm, what do you mean? This is not a typo fix or similar but adds a new PCI ID to the driver.
I mean, adding PCI IDs might be considered trivial. But if you want it to go through MTD, fine:
Acked-by Marek Vasut <[email protected]>
Thanks!
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
Regards,
Boris
Quoted 20 lines
Quoted 18 lines
--- drivers/mtd/spi-nor/intel-spi-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi-nor/intel-spi-pci.c +1
-0@@ -65,6 +65,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)static const struct pci_device_id intel_spi_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x18e0 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0x19e0 ), (unsigned long )&bxt_info }, + {PCI_VDEVICE (INTEL ,0x34a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa1a4 ), (unsigned long )&bxt_info }, {PCI_VDEVICE (INTEL ,0xa224 ), (unsigned long )&bxt_info }, { },
Quoted 17 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Quoted 8 lines
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.
Jocke
Quoted 22 lines · On Wed, 29 Aug 2018 10:28:05 +0000 Joakim Tjernlund…
Quoted 21 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.
Where did you get that from? I've always been told that Cc-ing stable was reserved for bug fixes.
Quoted 30 lines · Boris Brezillon
Quoted 27 lines · On Wed, 29 Aug 2018 10:28:05 +0000 Joakim Tjernlund…
Quoted 25 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
Quoted 6 lines
Quoted 3 lines
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.Where did you get that from? I've always been told that Cc-ing stable was reserved for bug fixes.
Same rule applies to new USB IDs , it's an exception.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 33 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Quoted 27 lines · On Wed, 29 Aug 2018 10:28:05 +0000 Joakim Tjernlund…
Quoted 25 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
Quoted 6 lines
Quoted 3 lines
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.Where did you get that from? I've always been told that Cc-ing stable was reserved for bug fixes.
From following linux dev lists. I don't have a reference, sorry.
If you look at the commit log for stable kernels you will see that a lot more than pure bug fixes. Sometimes backport of new infra structure to allow for easy backporting of fixes too.
Jocke
Quoted 38 lines · Joakim Tjernlund
Quoted 37 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Quoted 30 lines · On Wed, 29 Aug 2018 10:28:05 +0000 Joakim Tjernlund…
Quoted 17 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Quoted 8 lines
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.
Quoted 8 lines
Quoted 2 lines
Where did you get that from? I've always been told that Cc-ing stable was reserved for bug fixes.
From following linux dev lists. I don't have a reference, sorry.
If you look at the commit log for stable kernels you will see that a lot more than pure bug fixes. Sometimes backport of new infra structure to allow for easy backporting of fixes too.
Documentation/process/stable-kernel-rules.rst
24 - New device IDs and quirks are also accepted.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 42 lines · On Wed, 29 Aug 2018 12:54:22 +0200 Marek Vasut <[email protected]> wrote:
Quoted 41 lines · Joakim Tjernlund
Quoted 39 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Quoted 22 lines · On Wed, 29 Aug 2018 10:28:05 +0000 Joakim Tjernlund…
Quoted 21 lines · Boris Brezillon
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Marek,
Quoted 8 lines · On Tue, 28 Aug 2018 18:56:38 +0200 Marek Vasut <[email protected]> wrote:
Quoted 5 lines · Mika Westerberg
Intel Ice Lake exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Ice Lake SPI serial flash PCI ID to the driver list of supported devices.
Signed-off-by Mika Westerberg <[email protected]>This should probably go through trivial patches ML, no ?
Nope, it should go through the spi-nor tree. Actually, even for trivial fixes like typos, I prefer to take them directly to avoid possible future conflicts in case something changes near the typo.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Also, CC Stable.
Why? It's adding a new entry in pci_ids[] table, it looks like supporting new HW to me, not fixing a bug.
So you can boot/use new HW with stable kernels. Stable kernels would become useless fairly quickly otherwise.
HW enablement patches are OK when they don't affect existing HW by much.Where did you get that from? I've always been told that Cc-ing stable was reserved for bug fixes.
Quoted 10 lines
Quoted 5 lines
From following linux dev lists. I don't have a reference, sorry.
If you look at the commit log for stable kernels you will see that a lot more than pure bug fixes. Sometimes backport of new infra structure to allow for easy backporting of fixes too.
Documentation/process/stable-kernel-rules.rst
24 - New device IDs and quirks are also accepted.
Okay. I didn't know that.
Thanks,
Boris