Skip to contentSkip to conversation

Can anyone help test Cortex A9 patches?

DISCUSSION Russell King - ARM Linux 5 participants 7 messages Nov 19, 2009 – Nov 20, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I need help testing Cortex A9 patches. What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

#1 lore raw

Russell,

Quoted 18 lines

-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux- arm-kernel-bounces at lists.infradead.org] On Behalf Of Russell King - ARM Linux
Sent: Thursday, November 19, 2009 2:33 PM
To: linux-arm-kernel at lists.infradead.org
Subject: Can anyone help test Cortex A9 patches?

Hi,

I need help testing Cortex A9 patches. What I need is someone with a
fairly fully fledged Cortex A9 platform with the ability to build and
test recent kernels - and therefore be able to test my patches without
modification.

Quoted 8 lines

Specifically, I'm looking for someone who can reproduce data corruption
on DMA transfers from devices caused by Cortex A9's speculative prefetching

Unfortunately, I have no way to reproduce this problem here (I have no
Cortex A9 hardware), and as such I can't test the fixes.

I can test your patches on A9 hardware (OMAP4) over this weekend. Couple of constraints with codebase I have
1. It's still on 2.6.31. Can you patches be applied on 2.6.31 too ?
2. Do you have the testcase for the above mentioned scenario or do I need to make one?

Regards,
Santosh

#2 lore raw
In reply to Russell King - ARM Linux

Russell,
We have Cortex-A9 hardware (U8500) at ST-Ericsson. We can test your patches. Let me know how frequently you would like to test these patches on recent kernels? And do you have some specific test scenarios wherein we can reproduce this Cortex A9's data corruption issue?

Srinidhi

-----Original Message-----
From: [email protected] [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of Russell King - ARM Linux
Sent: Thursday, November 19, 2009 2:33 PM
To: linux-arm-kernel at lists.infradead.org
Subject: Can anyone help test Cortex A9 patches?

Hi,

I need help testing Cortex A9 patches. What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
In reply to Russell King - ARM Linux
Quoted 10 lines · Russell King - ARM Linux

I need help testing Cortex A9 patches. What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

I can get access to a PBX-A9 board but there is no DMA support on it, so not able to reproduce the problem.

What's the background to this? Has anyone reported issues?

Another thing we have is domain switching overriding the NX bit on ioremap'ed regions and therefore getting speculative prefetches from that area (in theory, it's hard to predict what the CPU would try to prefetch). But we don't set the manager domain for too long and it would be hard to trigger a failure.

Signature · 1 line
Catalin
#4 lore raw
Quoted 9 lines · Catalin Marinas
Quoted 8 lines · Russell King - ARM Linux

I need help testing Cortex A9 patches. What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Quoted 7 lines
Quoted 2 lines

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

I can get access to a PBX-A9 board but there is no DMA support on it, so not able to reproduce the problem.

What's the background to this? Has anyone reported issues?

Well, I had a fast response from people this morning, and the patch has been successfully tested against a recent kernel. So problem mostly solved.

Essentially corruption caused by speculative prefetches from buffers while they are mapped for DMA. You were sent an email late last month about the problem:

http://lists.arm.linux.org.uk/lurker/message/20091031.131319.18796aa1.en.html

Unfortunately, the reporter seems to have taken the subsequent messages off the list. Morevoer, the original reporter said the patch didn't help, however since he applied it to an older kernel and got rejects, I'm going to dismiss that. I can find nothing wrong with my patch which would mean his original problem would not be fixed.

#5 lore raw
Quoted 22 lines · Russell King - ARM Linux
Quoted 9 lines · Catalin Marinas
Quoted 8 lines · Russell King - ARM Linux

I need help testing Cortex A9 patches. What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Quoted 7 lines
Quoted 2 lines

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

I can get access to a PBX-A9 board but there is no DMA support on it, so not able to reproduce the problem.

What's the background to this? Has anyone reported issues?

Well, I had a fast response from people this morning, and the patch has been successfully tested against a recent kernel. So problem mostly solved.

Quoted 5 lines

Essentially corruption caused by speculative prefetches from buffers while they are mapped for DMA. You were sent an email late last month about the problem:

http://lists.arm.linux.org.uk/lurker/message/20091031.131319.18796aa1.en.html

It's a bit worrying that I don't have this e-mail in my inbox (nor deleted items). I have to check the spam filter.

Thanks for the link anyway, I'll have a look tomorrow (have to go now).

Signature · 1 line
Catalin
#6 lore raw
In reply to Russell King - ARM Linux

Russell,

Patch to fix "DMA Cache Coherency issue on A9-SMP" is working, Since i am using 2.6.29 version of kernel, i manually patched the files which are
relevant to our SOC.

Thanks a lot.

Regards,
Rajanikanth

Quoted 39 lines · Russell King - ARM Linux
Quoted 9 lines · Catalin Marinas
Quoted 8 lines · Russell King - ARM Linux

I need help testing Cortex A9 patches. ?What I need is someone with a fairly fully fledged Cortex A9 platform with the ability to build and test recent kernels - and therefore be able to test my patches without modification.

Specifically, I'm looking for someone who can reproduce data corruption on DMA transfers from devices caused by Cortex A9's speculative prefetching

Quoted 7 lines
Quoted 2 lines

Unfortunately, I have no way to reproduce this problem here (I have no Cortex A9 hardware), and as such I can't test the fixes.

I can get access to a PBX-A9 board but there is no DMA support on it, so not able to reproduce the problem.

What's the background to this? Has anyone reported issues?

Well, I had a fast response from people this morning, and the patch has been successfully tested against a recent kernel. ?So problem mostly solved.

Essentially corruption caused by speculative prefetches from buffers while they are mapped for DMA. ?You were sent an email late last month about the problem:

http://lists.arm.linux.org.uk/lurker/message/20091031.131319.18796aa1.en.html

Unfortunately, the reporter seems to have taken the subsequent messages off the list. ?Morevoer, the original reporter said the patch didn't help, however since he applied it to an older kernel and got rejects, I'm going to dismiss that. ?I can find nothing wrong with my patch which would mean his original problem would not be fixed.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel