linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tbogendoerfer@suse.de>
To: Ralf Baechle <ralf@linux-mips.org>,
	Paul Burton <paul.burton@mips.com>,
	James Hogan <jhogan@kernel.org>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] Clean up ARC code and fix IP22/28 early printk
Date: Wed,  9 Oct 2019 15:27:11 +0200	[thread overview]
Message-ID: <20191009132718.25346-1-tbogendoerfer@suse.de> (raw)

While fixing the problem of not working EARLY_PRINTK on IP22/IP28
I've removed not used ARC function and made 32bit ARC PROMs working
with 64bit kernels. By switching to memory detection via PROM calls
EARLY_PRINTK works now. And by using the regular 64bit spaces
maximum memory of 384MB on Indigo2 R4k machines is working, too.

Thomas Bogendoerfer (6):
  MIPS: fw: arc: remove unused ARC code
  MIPS: fw: arc: use call_o32 to call ARC prom from 64bit kernel
  MIPS: Kconfig: always select ARC_MEMORY and ARC_PROMLIB for platform
  MIPS: fw: arc: workaround 64bit kernel/32bit ARC problems
  MIPS: SGI-IP22: set PHYS_OFFSET to memory start
  MIPS: SGI-IP22/28: Use PROM for memory detection

 arch/mips/Kconfig                        |  32 +++-----
 arch/mips/fw/arc/Makefile                |   2 +-
 arch/mips/fw/arc/env.c                   |   6 --
 arch/mips/fw/arc/file.c                  |  49 ------------
 arch/mips/fw/arc/identify.c              |   5 ++
 arch/mips/fw/arc/init.c                  |   5 ++
 arch/mips/fw/arc/memory.c                |   9 +++
 arch/mips/fw/arc/misc.c                  |  59 --------------
 arch/mips/fw/arc/promlib.c               |  25 +++++-
 arch/mips/fw/arc/salone.c                |  25 ------
 arch/mips/fw/arc/time.c                  |  25 ------
 arch/mips/fw/arc/tree.c                  | 127 -------------------------------
 arch/mips/include/asm/bootinfo.h         |   1 +
 arch/mips/include/asm/mach-ip22/spaces.h |  12 +--
 arch/mips/include/asm/sgialib.h          |  12 ---
 arch/mips/include/asm/sgiarcs.h          | 103 ++++++++-----------------
 arch/mips/sgi-ip22/ip22-mc.c             |  74 +++++-------------
 17 files changed, 105 insertions(+), 466 deletions(-)
 delete mode 100644 arch/mips/fw/arc/salone.c
 delete mode 100644 arch/mips/fw/arc/time.c
 delete mode 100644 arch/mips/fw/arc/tree.c

-- 
2.16.4


             reply	other threads:[~2019-10-09 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 13:27 Thomas Bogendoerfer [this message]
2019-10-09 13:27 ` [PATCH 1/6] MIPS: fw: arc: remove unused ARC code Thomas Bogendoerfer
2019-10-09 13:27 ` [PATCH 2/6] MIPS: fw: arc: use call_o32 to call ARC prom from 64bit kernel Thomas Bogendoerfer
2019-10-09 13:27 ` [PATCH 3/6] MIPS: Kconfig: always select ARC_MEMORY and ARC_PROMLIB for platform Thomas Bogendoerfer
2019-10-09 13:27 ` [PATCH 4/6] MIPS: fw: arc: workaround 64bit kernel/32bit ARC problems Thomas Bogendoerfer
2019-10-09 13:27 ` [PATCH 5/6] MIPS: SGI-IP22: set PHYS_OFFSET to memory start Thomas Bogendoerfer
2019-10-09 13:27 ` [PATCH 6/6] MIPS: SGI-IP22/28: Use PROM for memory detection Thomas Bogendoerfer
2019-10-09 21:58 ` [PATCH 0/6] Clean up ARC code and fix IP22/28 early printk Paul Burton

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=20191009132718.25346-1-tbogendoerfer@suse.de \
    --to=tbogendoerfer@suse.de \
    --cc=jhogan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=paul.burton@mips.com \
    --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 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).