Skip to contentSkip to conversation

MAINTAINERS: Voluntary to review hobbyist MIPS contributions

PATCH Philippe Mathieu-Daudé 2 participants 8 messages Oct 10, 2018 – Oct 17, 2018 5 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Eric corrected s/Voluntary/Volunteer/ in the subject line.

Quoted 26 lines · Philippe Mathieu-Daudé
---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
index ce7c351afa..2708745bf7 100644
@@ -188,6 +188,7 @@ F: disas/microblaze.c
 MIPS
 M: Aurelien Jarno <[email protected]>
 M: Aleksandar Markovic <[email protected]>
+R: Philippe Mathieu-Daudé <[email protected]>
 S: Maintained
 F: target/mips/
 F: hw/mips/
@@ -1948,6 +1949,7 @@ F: disas/i386.c
 
 MIPS target
 M: Aurelien Jarno <[email protected]>
+R: Philippe Mathieu-Daudé <[email protected]>
 S: Maintained
 F: tcg/mips/
 F: disas/mips.c
#5 lore raw

Re: [Qemu-devel] [PATCH v3 0/4] mips: Increase the insn_flags holder size and clean mips-defs.h

In reply to a message not in the archive

Ping?

Quoted 35 lines · Philippe Mathieu-Daudé

After noticing Fredrik patch [1] clashes with an ongoing work, I shared my concerns after the current limitations of CPUMIPSState::insn_flags, having 1 bit left to store more 'Chip specific instructions'.

Since v2: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg04064.html

- rebased on upstream/master (previous was based on Fredrik's R5900)> Since v1: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg00933.html

- update "int insn_flags;" in target/mips/translate.c::DisasContext
- cleaned the 'insn_flags' namespace per Aleksandar suggestion
- drop cpu defs used once
- add my email in MAINTAINERS:MIPS to help me catch patches to review

Regards,

Phil.

[1] http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01978.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2018-09/msg00901.html

Philippe Mathieu-Daudé (4):
target/mips: Increase the 'supported instructions' flags holder size target/mips: Remove definitions that are only used once target/mips: Clean the 'insn_flags' namespace
MAINTAINERS: Voluntary to review hobbyist MIPS contributions

 target/mips/cpu.h                |  2 +-
 target/mips/internal.h           |  2 +-
 target/mips/mips-defs.h          | 89 ++++++++++++++++++--------------
 target/mips/translate.c          |  6 +--
 target/mips/translate_init.inc.c |  6 +--
 MAINTAINERS                      |  2 +
 6 files changed, 61 insertions(+), 46 deletions(-)
#6 lore raw

Re: [Qemu-devel] [PATCH v3 0/4] mips: Increase the insn_flags holder size and clean mips-defs.h

Quoted 4 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: Re: [PATCH v3 0/4] mips: Increase the insn_flags holder size and clean mips-defs.h

Ping?

I will get back to this series in next few days.

Thanks,
Aleksandar

#8 lore raw

Re: [Qemu-devel] [PATCH v3 3/4] target/mips: Clean the 'insn_flags' namespace

In reply to a message not in the archive
Quoted 7 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH v3 3/4] target/mips: Clean the 'insn_flags' namespace

Let space available for the ASE_DSPR3 entry.

This patch will be included in the next MIPS queue with minor modifications.

#10 lore raw

Re: [Qemu-devel] [PATCH v3 2/4] target/mips: Remove definitions that are only used once

In reply to a message not in the archive
Quoted 9 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH v3 2/4] target/mips: Remove definitions that are only used once

There is no gain in adding cpu definition which is used only once. Use the chip specific flags directly in place.
This also clears the 'MIPS CPU defines' namespace.

---

Being used only once is not a sufficient reason for deleting a preprocessor constant. The constants in this case are just fine as they are.

Thanks,
Aleksandar

#3 lore raw
In reply to a message not in the archive
Quoted 7 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH v3 4/4] MAINTAINERS: Voluntary to review hobbyist MIPS contributions

---
MAINTAINERS | 2 ++

1 file changed, 2 insertions(+)

This is very generous of you. However, I would prefer registered reviewers of MIPS directories to be persons more focused on MIPS. But thanks again.

Aleksandar

#12 lore raw

Re: [Qemu-devel] [PATCH v3 1/4] target/mips: Increase the 'supported instructions' flags holder size

In reply to a message not in the archive
Quoted 4 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH v3 1/4] target/mips: Increase the 'supported instructions' flags holder size

Currently this holder is limited to at most 32 flags on

a 32-bit architecture, which lets an unique bit available for another 'chip specific instructions' flag.

Quoted 5 lines

Relax this limit using a 64-bit integer.

---

This patch doesn't apply to the main tree, but I will fixed that while integrating MIPS queue.

This patch will be included in the next MIPS queue with minor modifications.

#4 lore raw
In reply to Aleksandar Markovic

Hi Aleksandar,

Quoted 9 lines · Aleksandar Markovic
Quoted 7 lines

From: Philippe Mathieu-Daudé <[email protected]> on behalf of Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH v3 4/4] MAINTAINERS: Voluntary to review hobbyist MIPS contributions

---
MAINTAINERS | 2 ++

1 file changed, 2 insertions(+)

This is very generous of you. However, I would prefer registered reviewers of MIPS directories to be persons more focused on MIPS. But thanks again.

In MAINTAINERS the 'R:' tag simply means "These reviewers should be CCed on patches."

This is just used by the get_maintainer script to see to who send patches to. This is not about responsibility nor ownership.

The guideline on the wiki
https://wiki.qemu.org/Contribute/SubmitAPatch#CC_the_relevant_maintainer
says:
"In fact, you can automate this, via a one-time setup of git config
sendemail.cccmd 'scripts/get_maintainer.pl --nogit-fallback'."

So you end up with:

$ grep -A2 email .git/config
[sendemail]
    confirm = auto
    cccmd = scripts/get_maintainer.pl --nogit-fallback --noroles --n
--m --r --remove-duplicates

As an example, if you check the "Unimp device" section:

Unimplemented device
M: Peter Maydell <[email protected]>
R: Philippe Mathieu-Daudé <[email protected]>
S: Maintained
F: include/hw/misc/unimp.h
F: hw/misc/unimp.c

I'm not a maintainer, Peter is. I have no obligation to review patches, I am simply interested to not loose them in the traffic. With the 'R:' tag my email appears in the list:

$ ./scripts/get_maintainer.pl -f hw/misc/unimp.c
Peter Maydell <[email protected]> (maintainer:Unimplemented device)
"Philippe Mathieu-Daudé" <[email protected]> (reviewer:Unimplemented device)
[email protected] (open list:All patches CC here)

Anyway I'm fine with that patch not being applied, and now I even prefer it is not.

I found a kludge using the "to: ([email protected] [email protected] [email protected])" email filter. If an email is sent to the list and both of you, it is very likely this is MIPS related.

Regards,

Phil.