Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Markos Chandras <Markos.Chandras@imgtec.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Subject: Re: [PATCH 1/4] MIPS: asm: r4kcache: Use correct base register for MIPS R6 cache flushes
Date: Tue, 24 Mar 2015 08:59:57 +0000	[thread overview]
Message-ID: <5511278D.4030109@imgtec.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1503232033060.8758@eddie.linux-mips.org>

On 03/23/2015 08:40 PM, Maciej W. Rozycki wrote:
> On Mon, 9 Mar 2015, Markos Chandras wrote:
> 
>>>  Since this operates on addresses shouldn't PTR_ADDIU be used instead?
>>>
>>>   Maciej
>>>
>>
>> I don't know. I thought PTR_ADDIU should be used for pointers but the
>> arguments in these macros are "unsigned long".
> 
>  Hmm, good point.  I think we should match the C data type used even 
> though we have an assumption that sizeof(long) == sizeof(void *), so your 
> change looks right to me as it stands.
> 
>  I think we have a convention to separate `linux' from `asm' inclusions by 
> an empty line though, so I suggest that you add one here:
> 
>> diff --git a/arch/mips/include/asm/r4kcache.h b/arch/mips/include/asm/r4kcache.h
>> index 1b22d2da88a1..d329f7328bd4 100644
>> --- a/arch/mips/include/asm/r4kcache.h
>> +++ b/arch/mips/include/asm/r4kcache.h
>> @@ -12,6 +12,7 @@
>>  #ifndef _ASM_R4KCACHE_H
>>  #define _ASM_R4KCACHE_H
>>  
>> +#include <linux/stringify.h>
>>  #include <asm/asm.h>
>>  #include <asm/cacheops.h>
>>  #include <asm/compiler.h>
> 
> as well.  I can offer you my review tag if you repost the change with this 
> trivial update.
> 
>   Maciej
> 
Hi,

I believe Ralf can fix this trivial change whenever he gets to apply
these patches. If not, I will post it again.

-- 
markos

WARNING: multiple messages have this Message-ID (diff)
From: Markos Chandras <Markos.Chandras@imgtec.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH 1/4] MIPS: asm: r4kcache: Use correct base register for MIPS R6 cache flushes
Date: Tue, 24 Mar 2015 08:59:57 +0000	[thread overview]
Message-ID: <5511278D.4030109@imgtec.com> (raw)
Message-ID: <20150324085957.WrGYl7lMWuK9WZOxg1GRTyo_waJDPxnY2EPNPYowndA@z> (raw)
In-Reply-To: <alpine.LFD.2.11.1503232033060.8758@eddie.linux-mips.org>

On 03/23/2015 08:40 PM, Maciej W. Rozycki wrote:
> On Mon, 9 Mar 2015, Markos Chandras wrote:
> 
>>>  Since this operates on addresses shouldn't PTR_ADDIU be used instead?
>>>
>>>   Maciej
>>>
>>
>> I don't know. I thought PTR_ADDIU should be used for pointers but the
>> arguments in these macros are "unsigned long".
> 
>  Hmm, good point.  I think we should match the C data type used even 
> though we have an assumption that sizeof(long) == sizeof(void *), so your 
> change looks right to me as it stands.
> 
>  I think we have a convention to separate `linux' from `asm' inclusions by 
> an empty line though, so I suggest that you add one here:
> 
>> diff --git a/arch/mips/include/asm/r4kcache.h b/arch/mips/include/asm/r4kcache.h
>> index 1b22d2da88a1..d329f7328bd4 100644
>> --- a/arch/mips/include/asm/r4kcache.h
>> +++ b/arch/mips/include/asm/r4kcache.h
>> @@ -12,6 +12,7 @@
>>  #ifndef _ASM_R4KCACHE_H
>>  #define _ASM_R4KCACHE_H
>>  
>> +#include <linux/stringify.h>
>>  #include <asm/asm.h>
>>  #include <asm/cacheops.h>
>>  #include <asm/compiler.h>
> 
> as well.  I can offer you my review tag if you repost the change with this 
> trivial update.
> 
>   Maciej
> 
Hi,

I believe Ralf can fix this trivial change whenever he gets to apply
these patches. If not, I will post it again.

-- 
markos

  reply	other threads:[~2015-03-24  9:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 18:48 [PATCH 0/4] MIPS R6 fixes for 4.0 Markos Chandras
2015-03-03 18:48 ` Markos Chandras
2015-03-03 18:48 ` [PATCH 1/4] MIPS: asm: r4kcache: Use correct base register for MIPS R6 cache flushes Markos Chandras
2015-03-03 18:48   ` Markos Chandras
2015-03-05 13:46   ` Maciej W. Rozycki
2015-03-09  8:43     ` Markos Chandras
2015-03-09  8:43       ` Markos Chandras
2015-03-23 20:40       ` Maciej W. Rozycki
2015-03-24  8:59         ` Markos Chandras [this message]
2015-03-24  8:59           ` Markos Chandras
2015-03-03 18:48 ` [PATCH 2/4] MIPS: asm: spinlock: Fix addiu instruction for R10000_LLSC_WAR case Markos Chandras
2015-03-03 18:48   ` Markos Chandras
2015-03-03 18:48 ` [PATCH 3/4] MIPS: kernel: entry.S: Set correct ISA level for mips_ihb Markos Chandras
2015-03-03 18:48   ` Markos Chandras
2015-03-03 18:48 ` [PATCH 4/4] MIPS; asm: bitops: Add missing ISA levels for MIPS R6 Markos Chandras
2015-03-03 18:48   ` Markos Chandras
2015-03-09 15:24   ` Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5511278D.4030109@imgtec.com \
    --to=markos.chandras@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox