<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LayerscapeのトピックRe: LX2160A Linux: ioread32 panics when upgrading LSDK</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1686762#M12866</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which kernel version did you use in LSDK20.12? 4.19 or 5.4?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 15:30:55 GMT</pubDate>
    <dc:creator>Oswalag</dc:creator>
    <dc:date>2023-07-12T15:30:55Z</dc:date>
    <item>
      <title>LX2160A Linux: ioread32 panics when upgrading LSDK</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1680236#M12768</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a simple PCI driver that is doing pci_iomap and then ioread32.&lt;/P&gt;&lt;P&gt;It works fine in&amp;nbsp;LSDK-20.12 but we get the following panic on&amp;nbsp; LSDK-21.08 (the panic occurs when the driver is calling ioread32).&lt;/P&gt;&lt;P&gt;Any idea how to debug this? what can cause this?&lt;/P&gt;&lt;P&gt;[ 296.208513] xdma:xdma_mod_init: Xilinx XDMA Reference Driver xdma v2020.1.8&lt;BR /&gt;[ 296.215515] xdma:xdma_mod_init: desc_blen_max: 0xfffffff/268435455, timeout: h2c 10 c2h 10 sec.&lt;BR /&gt;[ 296.224377] xdma:xdma_device_open: xdma device 0001:01:00.0, 0x000000003e674e35.&lt;BR /&gt;[ 296.231947] xdma:map_single_bar: BAR0 at 0x9400000000 mapped at 0x00000000540a24ba, length=65536(/65536)&lt;BR /&gt;[ 296.241559] SError Interrupt on CPU12, code 0xbf000002 – SError&lt;BR /&gt;[ 296.241560] CPU: 12 PID: 756 Comm: modprobe Not tainted 5.10.35 #15&lt;BR /&gt;[ 296.241561] Hardware name: SolidRun LX2160A Clearfog CX (DT)&lt;BR /&gt;[ 296.241562] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=–)&lt;BR /&gt;[ 296.241563] pc : xdma_device_open+0x890/0xca0 [xdma]&lt;BR /&gt;[ 296.241564] lr : xdma_device_open+0x408/0xca0 [xdma]&lt;BR /&gt;[ 296.241565] sp : ffff8000113537c0&lt;BR /&gt;[ 296.241566] x29: ffff8000113537c0 x28: 0000009400000000&lt;BR /&gt;[ 296.241569] x27: ffffdc9f4c87a000 x26: 0000000000000000&lt;BR /&gt;[ 296.241571] x25: ffffdc9f0c38a000 x24: ffff0a920205a3b0&lt;BR /&gt;[ 296.241573] x23: 0000000000000000 x22: 0000000000010000&lt;BR /&gt;[ 296.241576] x21: ffff0a920205a000 x20: ffff0a920ba49048&lt;BR /&gt;[ 296.241578] x19: ffff0a920ba49000 x18: ffffffffffffffff&lt;BR /&gt;[ 296.241580] x17: 00000000000000c0 x16: ffffdc9f4b46422c&lt;BR /&gt;[ 296.241582] x15: ffffdc9f4c87a188 x14: 0000000000000325&lt;BR /&gt;[ 296.241584] x13: ffff800011353490 x12: 00000000ffffffea&lt;BR /&gt;[ 296.241586] x11: ffffdc9f4c90db50 x10: ffffdc9f4c8f5b10&lt;BR /&gt;[ 296.241589] x9 : ffffdc9f4c8f5b68 x8 : 0000000000017fe8&lt;BR /&gt;[ 296.241591] x7 : c0000000ffffefff x6 : ffff0a94fe35d860&lt;BR /&gt;[ 296.241593] x5 : ffff0a94fe35d860 x4 : 0000000000000000&lt;BR /&gt;[ 296.241595] x3 : ffff0a94fe36d930 x2 : dadd71bdec942000&lt;BR /&gt;[ 296.241597] x1 : 0000000000000000 x0 : ffff800012c70000&lt;BR /&gt;[ 296.241599] Kernel panic - not syncing: Asynchronous SError Interrupt&lt;BR /&gt;[ 296.241600] CPU: 12 PID: 756 Comm: modprobe Not tainted 5.10.35 #15&lt;BR /&gt;[ 296.241601] Hardware name: SolidRun LX2160A Clearfog CX (DT)&lt;BR /&gt;[ 296.241602] Call trace:&lt;BR /&gt;[ 296.241603] dump_backtrace+0x0/0x1e8&lt;BR /&gt;[ 296.241604] show_stack+0x18/0x28&lt;BR /&gt;[ 296.241605] dump_stack+0xd8/0x134&lt;BR /&gt;[ 296.241606] panic+0x180/0x3ac&lt;BR /&gt;[ 296.241607] add_taint+0x0/0xb0&lt;BR /&gt;[ 296.241607] arm64_serror_panic+0x78/0x88&lt;BR /&gt;[ 296.241608] do_serror+0x38/0x98&lt;BR /&gt;[ 296.241609] el1_error+0x84/0x104&lt;BR /&gt;[ 296.241610] xdma_device_open+0x890/0xca0 [xdma]&lt;BR /&gt;[ 296.241611] probe_one+0x90/0x290 [xdma]&lt;BR /&gt;[ 296.241612] local_pci_probe+0x40/0xb0&lt;BR /&gt;[ 296.241613] pci_device_probe+0x130/0x1c8&lt;BR /&gt;[ 296.241614] really_probe+0x2ac/0x500&lt;BR /&gt;[ 296.241615] driver_probe_device+0xfc/0x168&lt;BR /&gt;[ 296.241616] device_driver_attach+0x74/0x80&lt;BR /&gt;[ 296.241617] __driver_attach+0xb8/0x168&lt;BR /&gt;[ 296.241617] bus_for_each_dev+0x7c/0xd8&lt;BR /&gt;[ 296.241618] driver_attach+0x24/0x30&lt;BR /&gt;[ 296.241619] bus_add_driver+0x184/0x250&lt;BR /&gt;[ 296.241620] driver_register+0x64/0x120&lt;BR /&gt;[ 296.241621] __pci_register_driver+0x44/0x50&lt;BR /&gt;[ 296.241622] xdma_mod_init+0x98/0xa8 [xdma]&lt;/P&gt;&lt;P&gt;# lspci&lt;BR /&gt;0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)&lt;BR /&gt;0000:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980&lt;BR /&gt;0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)&lt;BR /&gt;0001:01:00.0 Serial controller: Xilinx Corporation Device 8038&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;====== our device&lt;BR /&gt;0002:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)&lt;/P&gt;&lt;P&gt;#lspci -v (just our device):&lt;BR /&gt;0001:01:00.0 Serial controller: Xilinx Corporation Device 8038 (prog-if 01 [16450])&lt;BR /&gt;Subsystem: Xilinx Corporation Device 0007&lt;BR /&gt;Flags: fast devsel, IRQ 121, IOMMU group 1&lt;BR /&gt;Memory at 9400000000 (64-bit, prefetchable) [size=64K]&lt;BR /&gt;Memory at 9400010000 (64-bit, prefetchable) [size=64K]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+&lt;BR /&gt;Capabilities: [70] Express Endpoint, MSI 00&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [1c0] Secondary PCI Express&lt;BR /&gt;Kernel modules: xdma&lt;/P&gt;&lt;P&gt;We are using SERDES 14_2_2:&lt;/P&gt;&lt;P&gt;Model: SolidRun LX2160ACEX7 COM express type 7 based board&lt;BR /&gt;Board: LX2160ACE Rev2.0-CEX7, SD&lt;BR /&gt;SERDES1 Reference: Clock1 = 161.13MHz Clock2 = 100MHz&lt;BR /&gt;SERDES2 Reference: Clock1 = 100MHz Clock2 = 100MHz&lt;BR /&gt;SERDES3 Reference: Clock1 = 100MHz Clock2 = 100Hz&lt;BR /&gt;DRAM: 15.9 GiB&lt;BR /&gt;DDR 15.9 GiB (DDR4, 64-bit, CL=22, ECC on)&lt;BR /&gt;dev_get_priv: null device&lt;BR /&gt;dev_get_priv: null device&lt;BR /&gt;Using SERDES1 Protocol: 14 (0xe)&lt;BR /&gt;Using SERDES2 Protocol: 2 (0x2)&lt;BR /&gt;Using SERDES3 Protocol: 2 (0x2)&lt;BR /&gt;PCIe1: pcie@3400000 disabled&lt;BR /&gt;PCIe2: pcie@3500000 Root Complex: x4 gen3&lt;BR /&gt;PCIe3: pcie@3600000 Root Complex: x8 gen3&lt;BR /&gt;PCIe4: pcie@3700000 disabled&lt;BR /&gt;PCIe5: pcie@3800000 Root Complex: no link&lt;BR /&gt;PCIe6: pcie@3900000 disabled&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 07:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1680236#M12768</guid>
      <dc:creator>rogermo</dc:creator>
      <dc:date>2023-07-03T07:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160A Linux: ioread32 panics when upgrading LSDK</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1680274#M12770</link>
      <description>&lt;P&gt;#lspci -vvv&lt;/P&gt;&lt;P&gt;0001:01:00.0 Serial controller: Xilinx Corporation Device 8038 (prog-if 01 [16450])&lt;BR /&gt;Subsystem: Xilinx Corporation Device 0007&lt;BR /&gt;Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-&lt;BR /&gt;Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast &amp;gt;TAbort- &amp;lt;TAbort- &amp;lt;MAbort- &amp;gt;SERR- &amp;lt;PERR- INTx-&lt;BR /&gt;Interrupt: pin A routed to IRQ 121&lt;BR /&gt;IOMMU group: 1&lt;BR /&gt;Region 0: Memory at 9400000000 (64-bit, prefetchable) [size=64K]&lt;BR /&gt;Region 2: Memory at 9400010000 (64-bit, prefetchable) [size=64K]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)&lt;BR /&gt;Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-&lt;BR /&gt;Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+&lt;BR /&gt;Address: 0000000000000000 Data: 0000&lt;BR /&gt;Capabilities: [70] Express (v2) Endpoint, MSI 00&lt;BR /&gt;DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s &amp;lt;64ns, L1 &amp;lt;1us&lt;BR /&gt;ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W&lt;BR /&gt;DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-&lt;BR /&gt;RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+&lt;BR /&gt;MaxPayload 256 bytes, MaxReadReq 256 bytes&lt;BR /&gt;DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-&lt;BR /&gt;LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM not supported&lt;BR /&gt;ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+&lt;BR /&gt;LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-&lt;BR /&gt;ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-&lt;BR /&gt;LnkSta: Speed 8GT/s, Width x8&lt;BR /&gt;TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-&lt;BR /&gt;DevCap2: Completion Timeout: Range BC, TimeoutDis+ NROPrPrP- LTR-&lt;BR /&gt;10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-&lt;BR /&gt;EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-&lt;BR /&gt;FRS- TPHComp- ExtTPHComp-&lt;BR /&gt;AtomicOpsCap: 32bit- 64bit- 128bitCAS-&lt;BR /&gt;DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,&lt;BR /&gt;AtomicOpsCtl: ReqEn-&lt;BR /&gt;LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-&lt;BR /&gt;LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-&lt;BR /&gt;Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-&lt;BR /&gt;Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot&lt;BR /&gt;LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+&lt;BR /&gt;EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-&lt;BR /&gt;Retimer- 2Retimers- CrosslinkRes: unsupported&lt;BR /&gt;Capabilities: [100 v1] Advanced Error Reporting&lt;BR /&gt;UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-&lt;BR /&gt;UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-&lt;BR /&gt;UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-&lt;BR /&gt;CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-&lt;BR /&gt;CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+&lt;BR /&gt;AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-&lt;BR /&gt;MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-&lt;BR /&gt;HeaderLog: 00000000 00000000 00000000 00000000&lt;BR /&gt;Capabilities: [1c0 v1] Secondary PCI Express&lt;BR /&gt;LnkCtl3: LnkEquIntrruptEn- PerformEqu-&lt;BR /&gt;LaneErrStat: 0&lt;BR /&gt;Kernel modules: xdma&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 07:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1680274#M12770</guid>
      <dc:creator>rogermo</dc:creator>
      <dc:date>2023-07-03T07:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160A Linux: ioread32 panics when upgrading LSDK</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1686762#M12866</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which kernel version did you use in LSDK20.12? 4.19 or 5.4?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 15:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-Linux-ioread32-panics-when-upgrading-LSDK/m-p/1686762#M12866</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2023-07-12T15:30:55Z</dc:date>
    </item>
  </channel>
</rss>

