android_kernel_xiaomi_sm8350/include/asm-arm
Lennert Buytenhek a77bc69138 [ARM] 3539/1: ixp23xx: fix __arch_ixp23xx_is_coherent() for A1 stepping
Patch from Lennert Buytenhek

The current __ixp23xx_arch_is_coherent() check assumes that the
lower byte of IXP23XX_PRODUCT_ID is identical to the lower byte of
processor_id, but this is not the case, and because of this we were
incorrectly enabling coherency on A1 stepping CPUs.

Stepping A1 of the ixp2350, which has a PRODUCT_ID of 0x401, has '02'
in the lower byte of processor_id, while A2, with a PRODUCT_ID of
0x402, has '04' in the lower byte of processor_id.

So, to check for >= A2, we really need to check the lower byte of
processor_id against >= 4.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-06-02 19:51:50 +01:00
..
arch-aaec2000 [ARM] 3506/1: aaec2000: debug-macro.S needs hardware.h 2006-05-07 22:49:23 +01:00
arch-at91rm9200 Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-04-02 13:34:00 -07:00
arch-cl7500 [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-clps711x [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-ebsa110 [ARM] ebsa110: Fix incorrect serial port address 2006-04-07 13:23:48 +01:00
arch-ebsa285 [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-ep93xx [ARM] 3451/1: ep93xx: use the m48t86 rtc driver on the ts72xx platform 2006-04-02 16:17:40 +01:00
arch-h720x [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-imx [ARM] 3501/1: i.MX: fix lowlevel debug macros 2006-05-07 18:56:27 +01:00
arch-integrator [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-iop3xx [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-ixp4xx [ARM] 3487/1: IXP4xx: Support non-PCI systems 2006-04-30 15:34:29 +01:00
arch-ixp23xx [ARM] 3539/1: ixp23xx: fix __arch_ixp23xx_is_coherent() for A1 stepping 2006-06-02 19:51:50 +01:00
arch-ixp2000 [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-l7200 [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-lh7a40x [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
arch-omap [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
arch-pxa [PATCH] pxa2xx-spi update 2006-05-21 12:59:20 -07:00
arch-realview [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
arch-rpc [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-s3c2410 [PATCH] S3C24XX: hardware SPI driver 2006-05-21 12:59:19 -07:00
arch-sa1100 [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-shark [ARM] Move FLUSH_BASE macros to asm/arch/memory.h 2006-04-07 13:22:21 +01:00
arch-versatile [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
hardware [ARM] 3373/1: move uengine loader to arch/arm/common 2006-03-21 22:06:16 +00:00
mach [ARM] Quieten spurious IRQ detection 2006-03-22 10:22:58 +00:00
a.out.h
apm.h
assembler.h [ARM] Move enable_irq and disable_irq to assembler.h 2006-03-23 16:59:37 +00:00
atomic.h [PATCH] mutex subsystem, add atomic_xchg() to all arches 2006-01-09 15:59:17 -08:00
auxvec.h
bitops.h [PATCH] bitops: arm: use generic bitops 2006-03-26 08:57:12 -08:00
bug.h [ARM] 3494/1: asm-arm/bug.h needs linux/stddef.h 2006-05-05 15:11:14 +01:00
bugs.h
byteorder.h [ARM] 3252/1: help gcc do the best with ___arch__swab32 2006-01-10 19:48:02 +00:00
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h [ARM] 3377/2: add support for intel xsc3 core 2006-03-28 21:00:40 +01:00
checksum.h [ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum() 2006-02-01 19:26:00 +00:00
cpu-multi32.h
cpu-single.h
cpu.h [ARM SMP] Track CPU idle threads 2005-11-02 21:51:40 +00:00
cputime.h
current.h
delay.h [ARM] 3346/1: Fix udelay() for HZ values different from 100 2006-03-21 22:06:07 +00:00
div64.h
dma-mapping.h [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
dma.h [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h 2006-01-04 15:30:48 +00:00
domain.h [ARM] 3377/2: add support for intel xsc3 core 2006-03-28 21:00:40 +01:00
ecard.h
elf.h [ARM] 3205/1: Handle new EABI relocations when loading kernel modules. 2005-12-14 22:04:22 +00:00
emergency-restart.h
errno.h
fcntl.h
fiq.h
floppy.h
fpstate.h [ARM] 3472/1: Use the D variants of FLDMIA/FSTMIA on ARMv6 2006-04-10 21:32:42 +01:00
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
glue.h
hardirq.h [ARM SMP] Add core ARM support for local timers 2005-11-08 19:08:05 +00:00
hardware.h
ide.h
io.h [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h
ipc.h
ipcbuf.h
irq.h [ARM] Fix cosmetic typo in asm/irq.h 2006-03-20 10:12:31 +00:00
kmap_types.h
leds.h
limits.h
linkage.h
local.h
locks.h
mc146818rtc.h
memory.h [ARM] Remove unnecessary extra parens in include/asm-arm/memory.h 2006-04-04 16:25:47 +01:00
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu_context.h [ARM] Add linux/compiler.h includes where required 2005-11-16 17:23:57 +00:00
mmu.h
mmzone.h
module.h
msgbuf.h
mtd-xip.h
mutex.h [ARM] 3311/1: clean up include/asm-arm/mutex.h 2006-02-08 21:19:38 +00:00
namei.h
nwflash.h
page.h [ARM] 3377/2: add support for intel xsc3 core 2006-03-28 21:00:40 +01:00
param.h [ARM] Move HZ definition into Kconfig 2006-03-21 22:05:45 +00:00
parport.h
pci.h
percpu.h
pgalloc.h [ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h 2006-03-21 22:03:25 +00:00
pgtable-hwdef.h [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
pgtable.h [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
proc-fns.h [ARM] 3377/2: add support for intel xsc3 core 2006-03-28 21:00:40 +01:00
processor.h [ARM] start_thread fixup for nommu mode 2006-01-13 21:04:17 +00:00
procinfo.h [ARM] 3517/1: move definition of PROC_INFO_SZ from procinfo.h to asm-offsets.h 2006-05-16 11:39:30 +01:00
ptrace.h [ARM] 3262/4: allow ptraced syscalls to be overriden 2006-01-14 19:30:04 +00:00
resource.h
rtc.h [PATCH] RTC subsystem: ARM cleanup 2006-03-27 08:44:50 -08:00
scatterlist.h [ARM] Remove '__address' from scatterlist and convert to DMA API 2006-01-04 15:08:30 +00:00
sections.h
segment.h
semaphore-helper.h
semaphore.h [ARM] sema_count() removal 2005-12-01 20:58:01 +00:00
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sizes.h
smp.h [ARM] Fix SMP initialisation oops 2006-02-16 11:08:09 +00:00
socket.h
sockios.h
spinlock_types.h
spinlock.h [ARM] 3533/1: Implement the __raw_(read|write)_can_lock functions on ARM 2006-05-19 21:55:35 +01:00
stat.h [ARM] 3106/2: ARM EABI: some syscall adjustments 2006-01-14 16:32:12 +00:00
statfs.h [ARM] 3108/2: old ABI compat: statfs64 and fstatfs64 2006-01-14 16:35:03 +00:00
string.h
suspend.h
system.h [PATCH] ARM: Fix XScale PMD setting 2006-05-31 16:27:44 -07:00
termbits.h
termios.h
therm.h
thread_info.h [ARM] iwmmxt thread state alignment 2006-03-12 22:36:06 +00:00
timex.h
tlb.h [ARM] noMMU: removes TLB codes in nommu mode 2006-03-21 22:03:20 +00:00
tlbflush.h [ARM] Fix typo in tlbflush.h 2006-03-21 22:03:21 +00:00
topology.h
traps.h
types.h
uaccess.h [ARM] Fix get_user when passed a const pointer 2005-11-18 14:22:03 +00:00
ucontext.h
unaligned.h
unistd.h [ARM] 3495/1: EABI: undefine removed syscalls, but... 2006-05-05 22:35:05 +01:00
user.h
vfp.h
vfpmacros.h [ARM] 3472/1: Use the D variants of FLDMIA/FSTMIA on ARMv6 2006-04-10 21:32:42 +01:00
vga.h
xor.h