Linux-parisc archive mirror
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Guenter Roeck <linux@roeck-us.net>, deller@kernel.org
Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 8/8] parisc: Reduce size of __bug_table[] on 64-bit kernel by half
Date: Thu, 30 Nov 2023 20:00:27 +0100	[thread overview]
Message-ID: <61579b26-88b5-428a-b818-5021e528471d@gmx.de> (raw)
In-Reply-To: <ef74368d-1fd6-4fd0-81dc-bcf04892cc13@roeck-us.net>

On 11/30/23 18:30, Guenter Roeck wrote:
> On Fri, Nov 24, 2023 at 03:41:13PM +0100, deller@kernel.org wrote:
>> From: Helge Deller <deller@gmx.de>
>>
>> Enable GENERIC_BUG_RELATIVE_POINTERS which will store 32-bit relative
>> offsets to the bug address and the source file name instead of 64-bit
>> absolute addresses. This effectively reduces the size of the
>> __bug_table[] array by half on 64-bit kernels.
>>
>> Signed-off-by: Helge Deller <deller@gmx.de>
>
> With this patch in mainline, parisc:tinyconfig fails to build.
>
> ecurity/commoncap.c: In function 'cap_capset':
> arch/parisc/include/asm/bug.h:71:17: error: invalid 'asm': operand number out of range
>     71 |                 asm volatile("\n"                                       \
>        |                 ^~~
>
> and many similar errors. Bisect log attached.

Yes, problem was reported already and fix is in my for-next git tree:

https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=487635756198cad563feb47539c6a37ea57f1dae

Thanks!
Helge

      reply	other threads:[~2023-11-30 19:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24 14:40 [PATCH 0/8] parisc patch queue deller
2023-11-24 14:41 ` [PATCH 1/8] parisc: Mark __ex_table entries 32-bit aligned in assembly.h deller
2023-11-24 14:41 ` [PATCH 2/8] parisc: Mark __ex_table entries 32-bit aligned in uaccess.h deller
2023-11-24 14:41 ` [PATCH 3/8] parisc: Specify alignments for .PARISC.unwind and .data..lock_aligned deller
2023-11-24 14:41 ` [PATCH 4/8] parisc: Mark altinstructions 32-bit aligned deller
2023-11-24 14:41 ` [PATCH 5/8] parisc: Mark __jump_table aligned to CPU long width deller
2023-11-24 14:41 ` [PATCH 6/8] parisc: Use correct alignment in __bug_table deller
2023-11-24 14:41 ` [PATCH 7/8] parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes deller
2023-11-24 14:41 ` [PATCH 8/8] parisc: Reduce size of __bug_table[] on 64-bit kernel by half deller
2023-11-30 17:30   ` Guenter Roeck
2023-11-30 19:00     ` Helge Deller [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=61579b26-88b5-428a-b818-5021e528471d@gmx.de \
    --to=deller@gmx.de \
    --cc=deller@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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).