RE: A bug about system call on ARM

2013-06-13 Thread Wang, Yalin
erger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Mon, Jun 03, 2013 at 06:25:26AM +0100, Wang, Yalin wrote: > Hi Will, > > I have a question about

Re: A bug about system call on ARM

2013-06-04 Thread Will Deacon
On Tue, Jun 04, 2013 at 10:30:04AM +0100, Wang, Yalin wrote: > Hi Will, > > Thanks for your reply, > I see your meaning , > But it seems my apply for joining into 'linux-arm-ker...@lists.infradead.org' > Is not approved , > How to join in this mail-list ? There's a mailman frontend here: htt

RE: A bug about system call on ARM

2013-06-04 Thread Wang, Yalin
t: Tuesday, June 04, 2013 4:49 PM To: Wang, Yalin Cc: 'richard -rw- weinberger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Tue, Jun 04, 2013 at 06:33

Re: A bug about system call on ARM

2013-06-04 Thread Will Deacon
On Tue, Jun 04, 2013 at 06:33:20AM +0100, Wang, Yalin wrote: > Hi Will, Hello, > Could I know what's your git branch is mainly used for ? > > https://git.kernel.org/cgit/linux/kernel/git/will/linux.git > > > I mean if the branch is used for ARM arch maintenance ? I send most of my patches

RE: A bug about system call on ARM

2013-06-03 Thread Wang, Yalin
Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Monday, June 03, 2013 5:54 PM To: Wang, Yalin Cc: 'richard -rw- weinberger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subj

Re: A bug about system call on ARM

2013-06-03 Thread Will Deacon
On Mon, Jun 03, 2013 at 11:45:34AM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 03, 2013 at 11:27:23AM +0100, Will Deacon wrote: > > On Mon, Jun 03, 2013 at 11:18:09AM +0100, Russell King - ARM Linux wrote: > > > On Thu, May 30, 2013 at 12:41:12PM +0100, Will Deacon wrote: > > > > +#if defi

Re: A bug about system call on ARM

2013-06-03 Thread Russell King - ARM Linux
On Mon, Jun 03, 2013 at 11:27:23AM +0100, Will Deacon wrote: > Hi Russell, > > On Mon, Jun 03, 2013 at 11:18:09AM +0100, Russell King - ARM Linux wrote: > > On Thu, May 30, 2013 at 12:41:12PM +0100, Will Deacon wrote: > > > +#if defined(CONFIG_OABI_COMPAT) || !defined(CONFIG_AEABI) > > > + /* > >

Re: A bug about system call on ARM

2013-06-03 Thread Will Deacon
Hi Russell, On Mon, Jun 03, 2013 at 11:18:09AM +0100, Russell King - ARM Linux wrote: > On Thu, May 30, 2013 at 12:41:12PM +0100, Will Deacon wrote: > > +#if defined(CONFIG_OABI_COMPAT) || !defined(CONFIG_AEABI) > > + /* > > +* We may have faulted trying to load the SWI instruction due to >

Re: A bug about system call on ARM

2013-06-03 Thread Russell King - ARM Linux
On Thu, May 30, 2013 at 12:41:12PM +0100, Will Deacon wrote: > +#if defined(CONFIG_OABI_COMPAT) || !defined(CONFIG_AEABI) > + /* > + * We may have faulted trying to load the SWI instruction due to > + * concurrent page aging on another CPU. In this case, return > + * back to the

RE: A bug about system call on ARM

2013-06-03 Thread Wang, Yalin
l.dea...@arm.com] Sent: Monday, June 03, 2013 5:54 PM To: Wang, Yalin Cc: 'richard -rw- weinberger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Mon, Jun 03

Re: A bug about system call on ARM

2013-06-03 Thread Will Deacon
On Mon, Jun 03, 2013 at 06:25:26AM +0100, Wang, Yalin wrote: > Hi Will, > > I have a question about this patch . > > If the user space is thumb mode, > The PC should be rewind by 2 bytes, > So the fix_up code should be > > Sub lr, lr, #2 . > > > Am I right ? No, because we don't have OABI-c

RE: A bug about system call on ARM

2013-06-02 Thread Wang, Yalin
;Will Deacon' Cc: 'richard -rw- weinberger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: RE: A bug about system call on ARM Hi Will, I see, I will make one more test . Thanks for you

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 05:48:56PM +0100, Nicolas Pitre wrote: > On Fri, 31 May 2013, Will Deacon wrote: > > > Hard to tell without context. You can take a look at my git tree if you > > like (I fixed it up based on Nico's comment): > > > > > > https://git.kernel.org/cgit/linux/kernel/git/will

Re: A bug about system call on ARM

2013-05-31 Thread Nicolas Pitre
On Fri, 31 May 2013, Will Deacon wrote: > Hard to tell without context. You can take a look at my git tree if you > like (I fixed it up based on Nico's comment): > > > https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=misc-patches If you like, you may add "Reviewed-by: Nic

RE: A bug about system call on ARM

2013-05-31 Thread Wang, Yalin
ux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Fri, May 31, 2013 at 12:02:49PM +0100, Wang, Yalin wrote: > Hi Will, > > I have merge your code , > But there is a different , > > + > + c

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 12:02:49PM +0100, Wang, Yalin wrote: > Hi Will, > > I have merge your code , > But there is a different , > > + > + ct_user_exit I thought you didn't have ct_user_exit? In which case, just delete this line. > +#ifdef CONFIG_ALIGNMENT_TRAP > + ldr ip, __

RE: A bug about system call on ARM

2013-05-31 Thread Wang, Yalin
vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Fri, May 31, 2013 at 03:56:31AM +0100, Wang, Yalin wrote: > Hi Will, > > Thanks for your patch , > > But I found I don&#x

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 03:56:31AM +0100, Wang, Yalin wrote: > Hi Will, > > Thanks for your patch , > > But I found I don't have ct_user_exit macro > In my arch/arm/kernel/entry-common.S > > My kernel version is 3.4.0 Well things have moved on this since then (we're approaching 3.10, so yo

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 04:54:56AM +0100, Nicolas Pitre wrote: > On Thu, 30 May 2013, Will Deacon wrote: > > > On Thu, May 30, 2013 at 10:09:49AM +0100, Will Deacon wrote: > > > On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: > > > > If you have some patch for this issue, > > > > I ca

Re: A bug about system call on ARM

2013-05-30 Thread Nicolas Pitre
On Thu, 30 May 2013, Will Deacon wrote: > On Thu, May 30, 2013 at 10:09:49AM +0100, Will Deacon wrote: > > On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: > > > If you have some patch for this issue, > > > I can do the test for it . > > > > I'll have a look at cooking something which

RE: A bug about system call on ARM

2013-05-30 Thread Wang, Yalin
eacon [mailto:will.dea...@arm.com] Sent: Thursday, May 30, 2013 7:41 PM To: Wang, Yalin Cc: 'richard -rw- weinberger'; 'linux-a...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: A bug about system call on ARM On Thu,

Re : A bug about system call on ARM

2013-05-30 Thread Matthieu CASTET
Hello, > Hi all, > > I am a new comer to this mailing list , > I am happy to join this community . > You should send this to arm ML. Also I believe most of people don't enable CONFIG_OABI_COMPAT, that's why they don't hit the bug. Matthieu > I have a bug reported from our android phones w

Re: A bug about system call on ARM

2013-05-30 Thread Will Deacon
On Thu, May 30, 2013 at 10:09:49AM +0100, Will Deacon wrote: > On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: > > If you have some patch for this issue, > > I can do the test for it . > > I'll have a look at cooking something which uses an exception table entry > to rewind the PC and

Re: A bug about system call on ARM

2013-05-30 Thread Will Deacon
On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: > Hi Will, Hello, > Have you received the log files? Yep, and you seem to be completely correct: CPU0 ages the page from which CPU1 just executed a system call, so we explode trying to load the swi instruction in order to retrieve the

RE: A bug about system call on ARM

2013-05-29 Thread Wang, Yalin
! -Original Message- From: Wang, Yalin Sent: Wednesday, May 29, 2013 5:51 PM To: 'Will Deacon'; richard -rw- weinberger Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: RE: A bug about system call on ARM Hi This is kerne

Re: A bug about system call on ARM

2013-05-29 Thread Will Deacon
Hello, On Wed, May 29, 2013 at 09:46:42AM +0100, richard -rw- weinberger wrote: > On Wed, May 29, 2013 at 10:24 AM, Wang, Yalin > wrote: > > I have download the latest linux kernel code 3.9.4 > > And Compare with 3.4.0 kernel . > > > > It seems there is no change for this part , > > So it will

RE: A bug about system call on ARM

2013-05-29 Thread Mikael Pettersson
Wang, Yalin writes: > Hi > > I have download the latest linux kernel code 3.9.4 > And Compare with 3.4.0 kernel . > > It seems there is no change for this part , > So it will still happen . > Does anyone know who is responsible for arm arch part kernel code ? A quick look in MAINTAI

Re: A bug about system call on ARM

2013-05-29 Thread richard -rw- weinberger
t: Wednesday, May 29, 2013 3:35 PM > To: Wang, Yalin > Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: A bug about system call on ARM > > Hi! > > On Wed, May 29, 2013 at 8:52 AM, Wang, Yalin > wrote: >> Hi all, >> >> I am a new co

RE: A bug about system call on ARM

2013-05-29 Thread Wang, Yalin
: Wednesday, May 29, 2013 3:38 PM To: 'richard -rw- weinberger' Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: RE: A bug about system call on ARM Hi Richard, Thanks for your reply , I will make a check for this . -Original Message- From: richard -rw-

RE: A bug about system call on ARM

2013-05-29 Thread Wang, Yalin
bug about system call on ARM Hi! On Wed, May 29, 2013 at 8:52 AM, Wang, Yalin wrote: > Hi all, > > I am a new comer to this mailing list , I am happy to join this > community . > > I have a bug reported from our android phones which is caused by the system > call . > I

Re: A bug about system call on ARM

2013-05-29 Thread richard -rw- weinberger
Hi! On Wed, May 29, 2013 at 8:52 AM, Wang, Yalin wrote: > Hi all, > > I am a new comer to this mailing list , > I am happy to join this community . > > I have a bug reported from our android phones which is caused by the system > call . > It seems like kernel bugs from my view . Is this a unm