* [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12
@ 2015-07-10 21:47 Chen Gang
2015-08-05 14:40 ` Hans-Peter Nilsson
2015-10-01 19:07 ` Jesper Nilsson
0 siblings, 2 replies; 4+ messages in thread
From: Chen Gang @ 2015-07-10 21:47 UTC (permalink / raw)
To: starvik, jesper.nilsson
Cc: Hans-Peter Nilsson, linux-cris-kernel@axis.com,
linux-kernel@vger.kernel.org
For arch-v10, there is no DTP0 register, and at present, assembler know
BAR, so use BAR instead of DTP0, the related error (with allmodconfig):
CC arch/cris/arch-v10/kernel/kgdb.o
{standard input}: Assembler messages:
{standard input}:6: Error: Illegal operands
{standard input}:6: Error: Illegal operands
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
arch/cris/arch-v10/kernel/kgdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
index 22d846b..5b61335 100644
--- a/arch/cris/arch-v10/kernel/kgdb.c
+++ b/arch/cris/arch-v10/kernel/kgdb.c
@@ -970,7 +970,7 @@ asm ("\n"
" move $ibr,[cris_reg+0x4E] ; P9,\n"
" move $irp,[cris_reg+0x52] ; P10,\n"
" move $srp,[cris_reg+0x56] ; P11,\n"
-" move $dtp0,[cris_reg+0x5A] ; P12, register BAR, assembler might not know BAR\n"
+" move $bar,[cris_reg+0x5A] ; P12,\n"
" ; P13, register DCCR already saved\n"
";; Due to the old assembler-versions BRP might not be recognized\n"
" .word 0xE670 ; move brp,r0\n"
@@ -1063,7 +1063,7 @@ asm ("\n"
" move $ibr,[cris_reg+0x4E] ; P9,\n"
" move $irp,[cris_reg+0x52] ; P10,\n"
" move $srp,[cris_reg+0x56] ; P11,\n"
-" move $dtp0,[cris_reg+0x5A] ; P12, register BAR, assembler might not know BAR\n"
+" move $bar,[cris_reg+0x5A] ; P12,\n"
" ; P13, register DCCR already saved\n"
";; Due to the old assembler-versions BRP might not be recognized\n"
" .word 0xE670 ; move brp,r0\n"
--
1.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12
2015-07-10 21:47 [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12 Chen Gang
@ 2015-08-05 14:40 ` Hans-Peter Nilsson
2015-10-01 19:07 ` Jesper Nilsson
1 sibling, 0 replies; 4+ messages in thread
From: Hans-Peter Nilsson @ 2015-08-05 14:40 UTC (permalink / raw)
To: xili_gchen_5257; +Cc: starvik, jespern, linux-cris-kernel, linux-kernel
> From: Chen Gang <xili_gchen_5257@hotmail.com>
> Date: Fri, 10 Jul 2015 23:47:24 +0200
> For arch-v10, there is no DTP0 register, and at present, assembler know
> BAR, so use BAR instead of DTP0, the related error (with allmodconfig):
>
> CC arch/cris/arch-v10/kernel/kgdb.o
> {standard input}: Assembler messages:
> {standard input}:6: Error: Illegal operands
> {standard input}:6: Error: Illegal operands
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
> arch/cris/arch-v10/kernel/kgdb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
> index 22d846b..5b61335 100644
Acked-by: Hans-Peter Nilsson <hp@axis.com>
brgds, H-P
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12
2015-07-10 21:47 [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12 Chen Gang
2015-08-05 14:40 ` Hans-Peter Nilsson
@ 2015-10-01 19:07 ` Jesper Nilsson
[not found] ` <560DD0B1.5090101@hotmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Jesper Nilsson @ 2015-10-01 19:07 UTC (permalink / raw)
To: Chen Gang
Cc: starvik, jespern, Hans-Peter Nilsson, linux-cris-kernel@axis.com,
linux-kernel@vger.kernel.org
Hi,
On Sat, Jul 11, 2015 at 05:47:24AM +0800, Chen Gang wrote:
> For arch-v10, there is no DTP0 register, and at present, assembler know
> BAR, so use BAR instead of DTP0, the related error (with allmodconfig):
>
> CC arch/cris/arch-v10/kernel/kgdb.o
> {standard input}: Assembler messages:
> {standard input}:6: Error: Illegal operands
> {standard input}:6: Error: Illegal operands
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
While checking another kgdb related fix, I hit this bug too.
Applied to the for-next branch of the cris tree.
Sorry about the slow (glacial) response time and thanks!
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12
[not found] ` <560DD0B1.5090101@hotmail.com>
@ 2015-10-02 0:32 ` Chen Gang
0 siblings, 0 replies; 4+ messages in thread
From: Chen Gang @ 2015-10-02 0:32 UTC (permalink / raw)
To: Jesper Nilsson
Cc: starvik@axis.com, jespern@axis.com, Hans-Peter Nilsson,
linux-cris-kernel@axis.com, kernel mailing list
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1001 bytes --]
On 10/2/15 03:07, Jesper Nilsson wrote:
> Hi,
>
> On Sat, Jul 11, 2015 at 05:47:24AM +0800, Chen Gang wrote:
>> For arch-v10, there is no DTP0 register, and at present, assembler know
>> BAR, so use BAR instead of DTP0, the related error (with allmodconfig):
>>
>> CC arch/cris/arch-v10/kernel/kgdb.o
>> {standard input}: Assembler messages:
>> {standard input}:6: Error: Illegal operands
>> {standard input}:6: Error: Illegal operands
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
>
> While checking another kgdb related fix, I hit this bug too.
> Applied to the for-next branch of the cris tree.
>
> Sorry about the slow (glacial) response time and thanks!
>
It doesn't matter. Thank you for your work with the 2 patches.
--
Chen Gang (³Â¸Õ)
Open, share, and attitude like air, water, and life which God blessed
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-02 0:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 21:47 [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12 Chen Gang
2015-08-05 14:40 ` Hans-Peter Nilsson
2015-10-01 19:07 ` Jesper Nilsson
[not found] ` <560DD0B1.5090101@hotmail.com>
2015-10-02 0:32 ` Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).