Could you provide an explanation of the workaround that references JIRA SW-5991? ``` diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index 5900cd5..952736d 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S @@ -73,10 +73,19 @@ ENDPROC(cpu_v6_reset) * * IRQs are already disabled. */ + +/* See jira SW-5991 for details of this workaround */ ENTRY(cpu_v6_do_idle) - mov r1, #0 - mcr p15, 0, r1, c7, c10, 4 @ DWB - WFI may enter a low-power mode - mcr p15, 0, r1, c7, c0, 4 @ wait for interrupt + .align 5 + mov r1, #2 +1: subs r1, #1 + nop + mcreq p15, 0, r1, c7, c10, 4 @ DWB - WFI may enter a low-power mode + mcreq p15, 0, r1, c7, c0, 4 @ wait for interrupt + nop + nop + nop + bne 1b mov pc, lr ENTRY(cpu_v6_dcache_clean_area) ```
Activity
swarren commentedon May 25, 2012
Is there an ARM bug number that can be referenced when upstreaming this code, or is is somehow specific to Broadcom's implementation?
nfs: skip commit in releasepage if we're freeing memory for fs-relate…
x86: Remove some noise from boot log when starting cpus
[media] V4L/v4l2-dev: Make 'videodev_init' as a subsys initcall
x86/smp: Fix topology checks on AMD MCM CPUs
nfs: skip commit in releasepage if we're freeing memory for fs-relate…
IB/mlx4: Fix possible deadlock on sm_lock spinlock
net: qmi_wwan: add Sierra Wireless devices
ARM: 7692/1: iop3xx: move IOP3XX_PERIPHERAL_VIRT_BASE
ARM: 7692/1: iop3xx: move IOP3XX_PERIPHERAL_VIRT_BASE
nfsd: nfsd_open: when dentry_open returns an error do not propagate a…
nfsd: nfsd_open: when dentry_open returns an error do not propagate a…
204 remaining items
mm: factor out large folio handling from folio_order() into folio_lar…
mm: page_isolation: avoid calling folio_hstate() without hugetlb_lock
ACPICA: Apply pack(1) to union aml_resource
perf unwind-libdw: skip non-regular files
perf debug: Add function symbols to dump_stack
Merge patch series "can: netlink: preparation before introduction of …
mm: stop making SPARSEMEM_VMEMMAP user-selectable
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete
Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …