Set EN_MAS7_UPDATE HID0 bit for e500 core.
Without enabling this bit, tlbre and tlbsx don't update the MAS7 register, resulting in garbage in the register after a read (rather, the previous setting of it for a tlbwe). This can result in mmu_booke_mapdev_attr() thinking mappings that should match actually don't, because tlb1_read_entry() can't determine the correct address of a given entry. MFC after: 11-RELEASE
This commit is contained in:
parent
4294f337b0
commit
080286e983
@ -208,7 +208,8 @@
|
||||
#define HID1_E500_ASTME 0x00002000 /* Address bus streaming mode enable */
|
||||
#define HID1_E500_RFXE 0x00020000 /* Read fault exception enable */
|
||||
|
||||
#define HID0_E500_DEFAULT_SET (HID0_EMCP | HID0_E500_TBEN)
|
||||
#define HID0_E500_DEFAULT_SET (HID0_EMCP | HID0_E500_TBEN | \
|
||||
HID0_E500_MAS7UPDEN)
|
||||
#define HID1_E500_DEFAULT_SET (HID1_E500_ABE | HID1_E500_ASTME)
|
||||
#define HID0_E500MC_DEFAULT_SET (HID0_EMCP | HID0_E500MC_L2MMU_MHD | \
|
||||
HID0_E500_MAS7UPDEN)
|
||||
|
Loading…
Reference in New Issue
Block a user