From: Aleksandar Markovic <Aleksandar.Markovic@mips.com>
To: James Hogan <James.Hogan@mips.com>,
Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
Miodrag Dinic <Miodrag.Dinic@mips.com>,
Goran Ferenc <Goran.Ferenc@mips.com>,
"David S. Miller" <davem@davemloft.net>,
Douglas Leung <Douglas.Leung@mips.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Paul Burton <Paul.Burton@mips.com>,
Petar Jovanovic <Petar.Jovanovic@mips.com>,
Raghu Gandham <Raghu.Gandham@mips.com>,
"Ralf Baechle" <ralf@linux-mips.org>,
Randy Dunlap <rdunlap@infradead.org>
Subject: RE: [PATCH v9 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board
Date: Thu, 16 Nov 2017 12:45:28 +0000 [thread overview]
Message-ID: <BD3A5F1946F2E540A31AF2CE969BAEEEC19ED4@MIPSMAIL01.mipstec.com> (raw)
In-Reply-To: <20171115215910.GB27409@jhogan-linux.mipstec.com>
> From: James Hogan
>
> Hi Aleksandar,
>
> On Wed, Nov 15, 2017 at 02:42:20PM +0100, Aleksandar Markovic wrote:
> > diff --git a/arch/mips/configs/generic/board-ranchu.config b/arch/mips/configs/generic/board-ranchu.config
> > new file mode 100644
> > index 0000000..fee9ad4
> > --- /dev/null
> > +++ b/arch/mips/configs/generic/board-ranchu.config
> > @@ -0,0 +1,30 @@
> > +CONFIG_VIRT_BOARD_RANCHU=y
>
> I presume its valid for Ranchu support to be enabled in MIPS32 / MIPS64,
> and R1 / R2 / R6 kernels? (that's fine if so, just making sure there's
> no need for a require comment).
Yes, Ranchu virtual machine, and Android emulator for that matter, support
all combinations you mentioned.
>
> > diff --git a/arch/mips/generic/board-ranchu.c b/arch/mips/generic/board-ranchu.c
> > new file mode 100644
> > index 0000000..0efc555
> > --- /dev/null
> > +++ b/arch/mips/generic/board-ranchu.c
> > @@ -0,0 +1,85 @@
>
> ...
>
> > +static __init unsigned int ranchu_measure_hpt_freq(void)
> > +{
>
> ...
>
> > + count += 5000; /* round */
> > + count -= count % 10000;
>
> A comment to explain the purpose of the rounding would be helpful. I
> presume its there just to get a more accurate value since the frequency
> will always be a round value in practice.
An appropriate comment will be added in v10, but v10 will be submitted
no sooner than next week, to provide enough time for other people wanting
to review this and other patches.
>
> Either way this patch looks good to me:
> Reviewed-by: James Hogan <jhogan@kernel.org>
>
> Thanks!
> James
I appreciate your review!
Aleksandar
prev parent reply other threads:[~2017-11-16 12:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 13:42 [PATCH v9 0/3] MIPS: Add virtual Ranchu board as a " Aleksandar Markovic
2017-11-15 13:42 ` [PATCH v9 1/3] Documentation: Add device tree binding for Goldfish PIC driver Aleksandar Markovic
2017-11-15 13:42 ` [PATCH v9 2/3] irqchip/irq-goldfish-pic: Add " Aleksandar Markovic
2017-11-15 13:42 ` [PATCH v9 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board Aleksandar Markovic
2017-11-15 21:59 ` James Hogan
2017-11-16 12:45 ` Aleksandar Markovic [this message]
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=BD3A5F1946F2E540A31AF2CE969BAEEEC19ED4@MIPSMAIL01.mipstec.com \
--to=aleksandar.markovic@mips.com \
--cc=Douglas.Leung@mips.com \
--cc=Goran.Ferenc@mips.com \
--cc=James.Hogan@mips.com \
--cc=Miodrag.Dinic@mips.com \
--cc=Paul.Burton@mips.com \
--cc=Petar.Jovanovic@mips.com \
--cc=Raghu.Gandham@mips.com \
--cc=aleksandar.markovic@rt-rk.com \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=mchehab@kernel.org \
--cc=ralf@linux-mips.org \
--cc=rdunlap@infradead.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
all inboxes | Powered by JetHome®