All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: James Hogan <jhogan@kernel.org>,
	linux-mips@linux-mips.org, Huacai Chan <chenhc@lemote.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline
Date: Wed, 20 Dec 2017 17:36:16 +0100	[thread overview]
Message-ID: <20171220163616.GH28538@linux-mips.org> (raw)
In-Reply-To: <20171216145751.3486-2-jiaxun.yang@flygoat.com>

On Sat, Dec 16, 2017 at 10:57:47PM +0800, Jiaxun Yang wrote:

> Since lemote-2f/marchtype.c need to get cmdline from loongson.h
> this patch simply copy kernel command line from arcs_cmdline
> to fix that issue

Sorry, I don't quite understand.

Is the issue that arcs_cmdline[] is declared as __initdata in
arch/mips/kernel/setup.c?

Note that it's ok to use arcs_cmdline on a non-ARCS machine.  ARC systems
were the first systems supported by Linux/MIPS, that's how the variable
got its name; the name was just never properly cleaned up but probably
should.

  Ralf

  reply	other threads:[~2017-12-20 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-16 14:57 Add YeeLoong support v5 Jiaxun Yang
2017-12-16 14:57 ` [PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Jiaxun Yang
2017-12-20 16:36   ` Ralf Baechle [this message]
2017-12-16 14:57 ` [PATCH v5 2/5] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up Jiaxun Yang
2017-12-16 14:57 ` [PATCH v5 3/5] MIPS: Loongson64: Yeeloong add platform driver Jiaxun Yang
2017-12-16 18:28   ` Philippe Ombredanne
2017-12-16 14:57 ` [PATCH v5 4/5] MIPS: Loongson64: Load platform device during boot Jiaxun Yang
2017-12-16 14:57 ` [PATCH v5 5/5] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver Jiaxun Yang
2017-12-20 14:54   ` Ralf Baechle

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=20171220163616.GH28538@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=chenhc@lemote.com \
    --cc=jhogan@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@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.