Re: [PATCH] IMA: allow/fix UML builds

2023-03-12 Thread Randy Dunlap
ping? On 2/23/23 19:27, Randy Dunlap wrote: > UML supports HAS_IOMEM since 0bbadafdc49d (um: allow disabling > NO_IOMEM). > > Current IMA build on UML fails on allmodconfig (with TCG_TPM=m): > > ld: security/integrity/ima/ima_queue.o: in function `ima_add_template_entry': > ima_queue.c:(.text+0x

Re: [PATCH v2] UML: pata_cs5536: fix build for X86_32 UML with TRACEPOINTS

2023-03-12 Thread Damien Le Moal
On 3/13/23 08:55, Randy Dunlap wrote: > Current build of pata_cs5536 for i386 UML fails with: > > ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] > undefined! > ERROR: modpost: "do_trace_write_msr" [drivers/ata/pata_cs5536.ko] undefined! > ERROR: modpost: "__tracepoint_read_

[PATCH v2] UML: pata_cs5536: fix build for X86_32 UML with TRACEPOINTS

2023-03-12 Thread Randy Dunlap
Current build of pata_cs5536 for i386 UML fails with: ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "do_trace_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "__tracepoint_read_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR:

Re: [PATCH] ata: pata_cs5536: don't build on UML

2023-03-12 Thread Geert Uytterhoeven
Hi Randy, On Sun, Mar 12, 2023 at 6:26 AM Randy Dunlap wrote: > Similar to 22eebaa631c4 ("ata: pata_cs5535: Don't build on UML"), > prevent pata_cs5536 from building on UML since it references > symbols that are not present when building X86_32/i386 allmodconfig. > > ERROR: modpost: "__tracepoint