Re: [PATCH v2] net: break out nested function

2020-05-20 Thread Daniel Kiper
On Tue, May 19, 2020 at 05:18:11PM +0100, Leif Lindholm wrote: > On Tue, May 19, 2020 at 17:53:03 +0200, Javier Martinez Canillas wrote: > > Nested functions are not supported in C, but are permitted as an extension > > in the GNU C dialect. Commit cb2f15c5448 ("normal/main: Search for specific >

Re: [PATCH] tpm: Enable module for all EFI platforms

2020-05-20 Thread Daniel Kiper
On Tue, May 19, 2020 at 11:20:59AM +0200, Javier Martinez Canillas wrote: > The module is only enabled for x86_64, but there's nothing specific to > x86_64 in the implementation and can be enabled for all EFI platforms. > > Signed-off-by: Javier Martinez Canillas Reviewed-by: Daniel Kiper

Re: [GRUB PATCH 0/2] Better Xen support

2020-05-20 Thread Daniel Kiper
On Wed, May 20, 2020 at 01:14:18PM +0100, Ian Jackson wrote: > Hi. As maintainer of the Xen Project upstream CI, I do testing of > upstream Xen builds onto Debian systems. > > We use grub's 20_linux_xen to do the bootloader setup. However, it is > missing some features so we are carrying some

[GRUB PATCH 1/2] 20_linux_xen: Ignore xenpolicy and config files too

2020-05-20 Thread Ian Jackson
"file_is_not_sym" currently only checks for xen-syms. Extend it to disregard xenpolicy (XSM policy files) and files ending .config (which are built by the Xen upstream build system in some configurations and can therefore end up in /boot). Rename the function accordingly, to

[GRUB PATCH 0/2] Better Xen support

2020-05-20 Thread Ian Jackson
Hi. As maintainer of the Xen Project upstream CI, I do testing of upstream Xen builds onto Debian systems. We use grub's 20_linux_xen to do the bootloader setup. However, it is missing some features so we are carrying some patches. Here they are for your consideration. Regards, Ian. Ian

[GRUB PATCH 2/2] 20_linux_xen: Support Xen Security Modules (XSM/FLASK)

2020-05-20 Thread Ian Jackson
XSM is enabled by adding "flask=enforcing" as a Xen command line argument, and providing the policy file as a grub module. We make entries for both with and without XSM. If XSM is not compiled into Xen, then there are no policy files, so no change to the boot options. Signed-off-by: Ian Jackson

Re: [PATCH] net: Don't use nested functions to allow building with clang

2020-05-20 Thread Daniel Axtens
> clang still doesn't like 'make check', but that looks like a different > issue around relocations. clang isn't a huge priority for me, so it > might take a while. But this patch is good to go in regardless. Turns out I needed to specify CXX=clang++ as well. Daniel > > Thanks again, > Daniel >