From: James Hogan <james.hogan@imgtec.com>
To: <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>, <linux-mips@linux-mips.org>
Subject: Re: [PATCH v2 0/3] Add MIPS CDMM bus support
Date: Wed, 25 Feb 2015 11:02:38 +0000 [thread overview]
Message-ID: <54EDABCE.5070004@imgtec.com> (raw)
In-Reply-To: <1422877510-29247-1-git-send-email-james.hogan@imgtec.com>
[-- Attachment #1: Type: text/plain, Size: 2652 bytes --]
Hi,
On 02/02/15 11:45, James Hogan wrote:
> This patchset adds basic support for the MIPS Common Device Memory Map
> Memory (CDMM) region in the form of a bus in the standard Linux device
> model.
It'd be great to get these patches upstream for v4.1 via the MIPS tree
along with my other two related patchsets (MIPS: Allow shared IRQ for
timer & perf counter, and Add MIPS EJTAG Fast Debug Channel TTY driver).
Greg: Since this is a new bus I suspect I need your Ack/Review first?
Btw, more info about CDMM can be found here:
http://www.linux-mips.org/wiki/CDMM
And a git branch containing the latest version of all 3 patchsets
(basically just rebased on v4.0-rc1 to resolve conflicts) can be found
here:
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips.git fdc
Thanks
James
>
> Since the CDMM region is a feature of the MIPS architecture (since
> around MIPSr2) the first patch adds the necessary definitions and
> probing to arch/mips.
>
> The second patch adds the actual bus driver (see that patch for lots
> more info).
>
> The final patch just enables CDMM to work on Malta.
>
> Futher patches will follow soon to add TTY/Console/KGDB support for the
> EJTAG Fast Debug Channel (FDC) device which is found in the CDMM region.
>
> Changes in v2:
> - Fix typo in definition of MIPS_CPU_CDMM, s/0ll/ull (Maciej).
> - Fix some checkpatch errors.
> - Correct CDMM name in various places. It is "Common Device Memory Map",
> rather than "Common Device Mapped Memory" (which for some reason had
> got stuck in my head).
>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: linux-mips@linux-mips.org
>
> James Hogan (3):
> MIPS: Add arch CDMM definitions and probing
> MIPS: Add CDMM bus support
> MIPS: Malta: Implement mips_cdmm_phys_base()
>
> arch/mips/include/asm/cdmm.h | 87 +++++
> arch/mips/include/asm/cpu-features.h | 4 +
> arch/mips/include/asm/cpu.h | 1 +
> arch/mips/include/asm/mipsregs.h | 11 +
> arch/mips/kernel/cpu-probe.c | 2 +
> arch/mips/mti-malta/malta-memory.c | 7 +
> drivers/bus/Kconfig | 13 +
> drivers/bus/Makefile | 1 +
> drivers/bus/mips_cdmm.c | 711 +++++++++++++++++++++++++++++++++++
> include/linux/mod_devicetable.h | 8 +
> scripts/mod/devicetable-offsets.c | 3 +
> scripts/mod/file2alias.c | 16 +
> 12 files changed, 864 insertions(+)
> create mode 100644 arch/mips/include/asm/cdmm.h
> create mode 100644 drivers/bus/mips_cdmm.c
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: James Hogan <james.hogan@imgtec.com>
To: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: [PATCH v2 0/3] Add MIPS CDMM bus support
Date: Wed, 25 Feb 2015 11:02:38 +0000 [thread overview]
Message-ID: <54EDABCE.5070004@imgtec.com> (raw)
Message-ID: <20150225110238.s2wU1UYjE74xodpELWRnD6SMtnDago97TVbDReNet_8@z> (raw)
In-Reply-To: <1422877510-29247-1-git-send-email-james.hogan@imgtec.com>
[-- Attachment #1: Type: text/plain, Size: 2652 bytes --]
Hi,
On 02/02/15 11:45, James Hogan wrote:
> This patchset adds basic support for the MIPS Common Device Memory Map
> Memory (CDMM) region in the form of a bus in the standard Linux device
> model.
It'd be great to get these patches upstream for v4.1 via the MIPS tree
along with my other two related patchsets (MIPS: Allow shared IRQ for
timer & perf counter, and Add MIPS EJTAG Fast Debug Channel TTY driver).
Greg: Since this is a new bus I suspect I need your Ack/Review first?
Btw, more info about CDMM can be found here:
http://www.linux-mips.org/wiki/CDMM
And a git branch containing the latest version of all 3 patchsets
(basically just rebased on v4.0-rc1 to resolve conflicts) can be found
here:
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips.git fdc
Thanks
James
>
> Since the CDMM region is a feature of the MIPS architecture (since
> around MIPSr2) the first patch adds the necessary definitions and
> probing to arch/mips.
>
> The second patch adds the actual bus driver (see that patch for lots
> more info).
>
> The final patch just enables CDMM to work on Malta.
>
> Futher patches will follow soon to add TTY/Console/KGDB support for the
> EJTAG Fast Debug Channel (FDC) device which is found in the CDMM region.
>
> Changes in v2:
> - Fix typo in definition of MIPS_CPU_CDMM, s/0ll/ull (Maciej).
> - Fix some checkpatch errors.
> - Correct CDMM name in various places. It is "Common Device Memory Map",
> rather than "Common Device Mapped Memory" (which for some reason had
> got stuck in my head).
>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: linux-mips@linux-mips.org
>
> James Hogan (3):
> MIPS: Add arch CDMM definitions and probing
> MIPS: Add CDMM bus support
> MIPS: Malta: Implement mips_cdmm_phys_base()
>
> arch/mips/include/asm/cdmm.h | 87 +++++
> arch/mips/include/asm/cpu-features.h | 4 +
> arch/mips/include/asm/cpu.h | 1 +
> arch/mips/include/asm/mipsregs.h | 11 +
> arch/mips/kernel/cpu-probe.c | 2 +
> arch/mips/mti-malta/malta-memory.c | 7 +
> drivers/bus/Kconfig | 13 +
> drivers/bus/Makefile | 1 +
> drivers/bus/mips_cdmm.c | 711 +++++++++++++++++++++++++++++++++++
> include/linux/mod_devicetable.h | 8 +
> scripts/mod/devicetable-offsets.c | 3 +
> scripts/mod/file2alias.c | 16 +
> 12 files changed, 864 insertions(+)
> create mode 100644 arch/mips/include/asm/cdmm.h
> create mode 100644 drivers/bus/mips_cdmm.c
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-02-25 11:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 11:45 [PATCH v2 0/3] Add MIPS CDMM bus support James Hogan
2015-02-02 11:45 ` James Hogan
2015-02-02 11:45 ` [PATCH v2 1/3] MIPS: Add arch CDMM definitions and probing James Hogan
2015-02-02 11:45 ` James Hogan
2015-02-02 11:45 ` [PATCH v2 2/3] MIPS: Add CDMM bus support James Hogan
2015-02-02 11:45 ` James Hogan
2015-03-25 12:37 ` Greg Kroah-Hartman
2015-03-25 15:11 ` James Hogan
2015-03-25 15:11 ` James Hogan
2015-03-25 15:39 ` [PATCH v3 " James Hogan
2015-03-25 15:39 ` James Hogan
2015-03-25 22:03 ` Greg Kroah-Hartman
2015-03-26 9:24 ` James Hogan
2015-03-26 9:24 ` James Hogan
2015-02-02 11:45 ` [PATCH v2 3/3] MIPS: Malta: Implement mips_cdmm_phys_base() James Hogan
2015-02-02 11:45 ` James Hogan
2015-02-25 11:02 ` James Hogan [this message]
2015-02-25 11:02 ` [PATCH v2 0/3] Add MIPS CDMM bus support James Hogan
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=54EDABCE.5070004@imgtec.com \
--to=james.hogan@imgtec.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.