Sparclinux Archive mirror
 help / color / mirror / Atom feed
From: Sam Ravnborg via B4 Relay <devnull+sam.ravnborg.org@kernel.org>
To: Andreas Larsson <andreas@gaisler.com>,
	 "David S. Miller" <davem@davemloft.net>,
	sparclinux@vger.kernel.org
Cc: Nick Bowler <nbowler@draconx.ca>,
	linux-kernel@vger.kernel.org,  Arnd Bergmann <arnd@arndb.de>,
	Sam Ravnborg <sam@ravnborg.org>,
	 Atish Patra <atish.patra@oracle.com>,
	stable@vger.kernel.org,  Bob Picco <bob.picco@oracle.com>,
	Vijay Kumar <vijay.ac.kumar@oracle.com>
Subject: [PATCH 00/10] sparc64: Fix CPU online bug and warning fixes
Date: Sat, 30 Mar 2024 10:57:36 +0100	[thread overview]
Message-ID: <20240330-sparc64-warnings-v1-0-37201023ee2f@ravnborg.org> (raw)

Nick Bowler reported that sparc64 failed to bring all his CPU's online,
and that turned out to be an easy fix.

The sparc64 build was rather noisy with a lot of warnings which had
irritated me enough to go ahead and fix them.
With this set of patches my arch/sparc/ is almost warning free for
all{no,yes,mod}config + defconfig builds.

There is one warning about "clone3 not implemented", which I have ignored.

The warning fixes hides the fact that sparc64 is not yet y2038 prepared,
and it would be preferable if someone knowledgeable would fix this
poperly.

All fixes looks like 6.9 material to me.

	Sam 

---
Sam Ravnborg (10):
      sparc64: Fix prototype warning for init_vdso_image
      sparc64: Fix prototype warnings in traps_64.c
      sparc64: Fix prototype warning for vmemmap_free
      sparc64: Fix prototype warning for alloc_irqstack_bootmem
      sparc64: Fix prototype warning for uprobe_trap
      sparc64: Fix prototype warning for dma_4v_iotsb_bind
      sparc64: Fix prototype warnings in adi_64.c
      sparc64: Fix prototype warning for sched_clock
      sparc64: Fix number of online CPUs
      sparc64: Fix prototype warnings for vdso

 arch/sparc/include/asm/smp_64.h  |  2 --
 arch/sparc/include/asm/vdso.h    | 10 ++++++++++
 arch/sparc/kernel/adi_64.c       | 14 +++++++-------
 arch/sparc/kernel/kernel.h       |  4 ++++
 arch/sparc/kernel/pci_sun4v.c    |  6 +++---
 arch/sparc/kernel/prom_64.c      |  4 +++-
 arch/sparc/kernel/setup_64.c     |  3 +--
 arch/sparc/kernel/smp_64.c       | 14 --------------
 arch/sparc/kernel/time_64.c      |  1 +
 arch/sparc/kernel/traps_64.c     | 10 +++++-----
 arch/sparc/kernel/uprobes.c      |  2 ++
 arch/sparc/mm/init_64.c          |  5 -----
 arch/sparc/vdso/vclock_gettime.c |  1 +
 arch/sparc/vdso/vma.c            |  5 +++--
 14 files changed, 40 insertions(+), 41 deletions(-)
---
base-commit: 84b76d05828a1909e20d0f66553b876b801f98c8
change-id: 20240329-sparc64-warnings-668cc90ef53b

Best regards,
-- 
Sam Ravnborg <sam@ravnborg.org>



             reply	other threads:[~2024-03-30  9:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-30  9:57 Sam Ravnborg via B4 Relay [this message]
2024-03-30  9:57 ` [PATCH 01/10] sparc64: Fix prototype warning for init_vdso_image Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 02/10] sparc64: Fix prototype warnings in traps_64.c Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 03/10] sparc64: Fix prototype warning for vmemmap_free Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 04/10] sparc64: Fix prototype warning for alloc_irqstack_bootmem Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 05/10] sparc64: Fix prototype warning for uprobe_trap Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 06/10] sparc64: Fix prototype warning for dma_4v_iotsb_bind Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 07/10] sparc64: Fix prototype warnings in adi_64.c Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 08/10] sparc64: Fix prototype warning for sched_clock Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 09/10] sparc64: Fix number of online CPUs Sam Ravnborg via B4 Relay
2024-03-30  9:57 ` [PATCH 10/10] sparc64: Fix prototype warnings for vdso Sam Ravnborg via B4 Relay
2024-03-30 10:16   ` Arnd Bergmann
2024-03-30 10:19 ` [PATCH 00/10] sparc64: Fix CPU online bug and warning fixes Arnd Bergmann
2024-03-30 18:39   ` Sam Ravnborg
2024-04-22 13:11     ` Andreas Larsson

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=20240330-sparc64-warnings-v1-0-37201023ee2f@ravnborg.org \
    --to=devnull+sam.ravnborg.org@kernel.org \
    --cc=andreas@gaisler.com \
    --cc=arnd@arndb.de \
    --cc=atish.patra@oracle.com \
    --cc=bob.picco@oracle.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nbowler@draconx.ca \
    --cc=sam@ravnborg.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=vijay.ac.kumar@oracle.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).