summaryrefslogtreecommitdiff
path: root/scripts/ksymoops
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-09-28 22:56:51 +0200
committerBrian Norris <computersforpeace@gmail.com>2015-09-28 17:32:19 -0700
commite971affaf92d530b653122f08aa23e7384de170f (patch)
tree4ce244faf9d65464390b2c815a1c353c13c15cd5 /scripts/ksymoops
parentb33c35b11e0049e3adbb58df6c83d6c9496f8210 (diff)
mtd: nand: pxa3xx-nand: prevent DFI bus lockup on removal
After the conversion of pxa architecture to common clock framework, the NAND clock can be disabled on driver exit. In this case, it happens that if the driver used the NAND and set the DFI arbitration bit, the next access to a static memory controller area, such as an ethernet card, will stall the system bus, and the core will be stalled forever. This is especially true on pxa31x SoCs, where the NDCR was augmented with a new bit to prevent this lockups by giving full ownership of the DFI arbiter to the SMC, in change SCr#6. Fix this by clearing the DFI arbritration bit in driver exit. This effectively prevents a lockup on zylonite when removing pxa3xx-nand module, and using ethernet afterwards. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions