On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote:
> On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote:
> > On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote:
> > >
> > > I googled a fair bit of time and I'm 99% confident that there isn't such
> > >
On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote:
> On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote:
> >
> > I googled a fair bit of time and I'm 99% confident that there isn't such
> > userspace/lib tool so I guess this will have done the hard way :(
>
> If there is
Hi, As I sent already the error message shows the discrepancy starts from
include/linux/cache.h,
So I added the same #pragma thing around that #include and the
compile error is gone.
This is only for debugging a boot failure in a qemu machine (which is for a
real fpga board), so I can follow
On Sun, Jan 23, 2022 at 4:23 AM Chan Kim wrote:
>
> Hello all,
>
> In linux 5.4.21, when tell the compiler to use no optimzation for function
> early_fixmap_init as below,
>
> (I need to compile with O0 to follow what’s happening here using gdb.)
>
> #pragma GCC push_options
>
> #pragma GCC
I found adding __init to gic_smp_init() removed this warning message.
Is it ok to move this function to .init.text ? (doesn't it cause it to be
removed after initialization?)
Chan
From: Chan Kim
Sent: Sunday, January 23, 2022 7:48 PM
To: kernelnewbies@kernelnewbies.org
Subject: how to fix
I found adding the same #pragma directives warp to #include
makes the compiler error go away!
#pragma GCC push_options
#pragma GCC optimize ("O0")
#include
#pragma GCC pop_option
Chan
From: Chan Kim
Sent: Sunday, January 23, 2022 8:23 PM
To: kernelnewbies@kernelnewbies.org
Hello all,
In linux 5.4.21, when tell the compiler to use no optimzation for function
early_fixmap_init as below,
(I need to compile with O0 to follow what's happening here using gdb.)
#pragma GCC push_options
#pragma GCC optimze ("O0")
void __init early_fixmap_init(void)
{
...
}
#pragma
On Sun, Jan 23, 2022 at 07:48:01PM +0900, Chan Kim wrote:
> Hello all,
>
>
>
> In linux 5.4.21 source code, I put
>
> #pragma GCC push_options
>
> #pragma GCC optimize ("O0")
Do not do that. Bad things will happen, the kernel really does not like
this at all.
Why do you want to
On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote:
> > > 1: Given the driver's history and ioctl number conflit, is the backwards
> > > compatibility something to be kept or not to be taken into consideration
> > > as ioctl numbering rules weren't followed?
> >
> > Try to find
Hello all,
In linux 5.4.21 source code, I put
#pragma GCC push_options
#pragma GCC optimize ("O0")
and
#pragma GCC pop_options
around function static int __init gic_init_bases in file
drivers/irqchip/irq-gic-v3.c.
When I build it, I get this warning message (section
10 matches
Mail list logo