Re: early boot lockup with 2.6.23-rc1

2007-08-08 Thread Mikko Rapeli
On Wed, Aug 08, 2007 at 05:02:11PM -0700, Andrew Morton wrote: On Thu, 9 Aug 2007 01:31:20 +0300 Mikko Rapeli [EMAIL PROTECTED] wrote: Since 2.6.23-rc1 I can't boot an old k6 (with a funky IDE drive worth testing with libata). The boot hangs without a sound or letter prints

Re: early boot lockup with 2.6.23-rc1

2007-08-08 Thread Mikko Rapeli
On Wed, Aug 08, 2007 at 10:09:18PM -0700, Andrew Morton wrote: Often such an early crash is due to a config problem. eg: chose the wrong CPU type. So I'd recommend that you triple-check that config, especially under Processor type and features before diving into into the bisection hunt.

Re: early boot lockup with 2.6.23-rc1

2007-08-09 Thread Mikko Rapeli
On Thu, Aug 09, 2007 at 12:25:02AM -0700, H. Peter Anvin wrote: So it's not printing Uncompressing kernel... at all? Yes, nothing comes up. Machine responds to three-finger-salute and numlock status can be changed, though. It might be an issue with the new setup code. What happens if you

Re: early boot lockup with 2.6.23-rc1

2007-08-09 Thread Mikko Rapeli
On Thu, Aug 09, 2007 at 12:25:02AM -0700, H. Peter Anvin wrote: It might be an issue with the new setup code. What happens if you append vga=ask to the kernel command line? I get to choose the vga mode but nothing visible happens after that. This seems like regression since even 2.6.23-rc2

Re: early boot lockup with 2.6.23-rc1

2007-08-09 Thread Mikko Rapeli
As I could guess from the changelogs, 2.6.22-git2 works and anything after 2.6.22-git3 doesn't. -Mikko - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Thu, Aug 09, 2007 at 03:26:57PM -0700, H. Peter Anvin wrote: Mikko Rapeli wrote: As I could guess from the changelogs, 2.6.22-git2 works and anything after 2.6.22-git3 doesn't. Okay, here is something to try. Don't try this unless you haven't already tested 2.6.23-rc2, since

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 09:45:31AM -0700, H. Peter Anvin wrote: Let me get this straight... edd=skipmbr boots fine, but commenting out the call to query_edd() didn't? Could you please try that (and, I guess, only that), and make sure everything necessary is rebuild. 2.6.23-*rc2* you say

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 12:32:39PM -0700, H. Peter Anvin wrote: Could you please describe your hardware configuration, in particular: In http://marc.info/?l=linux-kernelm=118661306932149w=2 but here again: - what BIOS are you using; *-firmware description: BIOS

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote: On Fri, Aug 10, 2007 at 09:45:31AM -0700, H. Peter Anvin wrote: Let me get this straight... edd=skipmbr boots fine, but commenting out the call to query_edd() didn't? Could you please try that (and, I guess, only that), and make

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote: I've bisected thus far, if it helps: Bisect came to this conclusion: git-bisect start # good: [4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4] lots-of-architectures: enable arbitary speed tty support git-bisect good

Undoing 'quiet' kernel command line option after boot?

2013-10-08 Thread Mikko Rapeli
Is it possible re-enable more verbose kernel logs/printk's to default console after boot is done from userspace? I have a system with correct serial console setting on kernel command line but there's 'quiet' as well to make the boot faster. After boot I'd like to run some tests on the platform

Re: Undoing 'quiet' kernel command line option after boot?

2013-10-08 Thread Mikko Rapeli
On Tue, Oct 08, 2013 at 04:23:59PM +0300, Mikko Rapeli wrote: Is it possible re-enable more verbose kernel logs/printk's to default console after boot is done from userspace? Ah, oops messages are printed to serial console also in 'quiet' mode. Didn't took long to find out with trinity

[PATCH][RFC] Compile test script for exported header files

2014-08-21 Thread Mikko Rapeli
‘DECLARE_BITMAP’ 1 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snd_seq_client_type_t’ 1 #error patchkey.h included directly 1 drm.h: No such file or directory 1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli mikko.rap

[RFC PATCH v2 21/27] gntalloc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntalloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h index 76bd580

[RFC PATCH v2 06/27] drm_mode.h: include stdint.h and linux/types.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index f104c26

[RFC PATCH v2 23/27] r128_drm.h: include drm/drm.h

2014-09-01 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm

[RFC PATCH v2 25/27] via_drm.h: hide struct via_file_private in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644

[RFC PATCH v2 20/27] hdspm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/hdspm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index d956c35

[RFC PATCH v2 03/27] Makefile: propagate verbose options

2014-09-01 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 25b85ab..df0eb14 100644 --- a/Makefile +++ b/Makefile @@ -855,13 +855,13 @@ quiet_cmd_link

[RFC PATCH v2 14/27] cld.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/nfsd/cld.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h index

[RFC PATCH v2 17/27] scsi_bsg_fc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h

[RFC PATCH v2 10/27] vmwgfx_drm.h: include drm/drm.h instead of drm.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/vmwgfx_drm.h:31:17: fatal error: drm.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/vmwgfx_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm

[RFC PATCH v2 19/27] scsi_netlink_fc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h

[RFC PATCH v2 11/27] dm-log-userspace.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h b/include/uapi

[RFC PATCH v2 13/27] ebtables.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/netfilter_bridge

[RFC PATCH v2 18/27] scsi_netlink.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi

[RFC PATCH v2 15/27] rds.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/rds.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644

[RFC PATCH v2 16/27] sctp.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/sctp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index 266022a..f68d79a

[RFC PATCH v2 12/27] hsi_char.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/hsi/hsi_char.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/hsi/hsi_char.h b/include/uapi

[RFC PATCH v2 27/27] sis_drm.h: hide sis_file_private in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm

[RFC PATCH v2 08/27] nouveau_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index

[RFC PATCH v2 22/27] gntdev.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h index 5304bd3..f724f75

[RFC PATCH v2 24/27] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm

[RFC PATCH v2 07/27] exynos_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h

[RFC PATCH v2 01/27] Compile test script for exported header files

2014-09-01 Thread Mikko Rapeli
: No such file or directory 1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function) 1 arpa/inet.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers_compile_test.sh | 84 + 1 file changed, 84 insertions

[RFC PATCH v2 00/27] Compile test and fixes for exported header files

2014-09-01 Thread Mikko Rapeli
. Some problems like with via_drm.h seem several years old but have not been fixed thus far: http://marc.info/?l=linux-kbuildm=122919682002000w=2 Mikko Rapeli (27): Compile test script for exported header files scripts/headers.sh: add verbose option to make calls if defined Makefile: propagate

[RFC PATCH v2 05/27] drm.h: include stdlib.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 9abbeb9..820fd01 100644

[RFC PATCH v2 02/27] scripts/headers.sh: add verbose option to make calls if defined

2014-09-01 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 978b42b..09e8a5c 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh

[RFC PATCH v2 04/27] headers_install.sh: enhance error handling

2014-09-01 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts

[RFC PATCH v2 09/27] radeon_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index

[RFC PATCH v2 26/27] savage_drm.h: include drm/drm.h

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions

[PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index b0b8556..8f4488f 100644

[PATCH 01/45] Makefile: propagate verbose options

2015-02-16 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4e93284..c1b515d 100644 --- a/Makefile +++ b/Makefile @@ -912,13 +912,13 @@ quiet_cmd_link

[PATCH RFC v02 00/45] Compile test and fixes for exported header files

2015-02-16 Thread Mikko Rapeli
in headers_test_v02 branch at github: https://github.com/mcfrisk/linux/tree/headers_test_v02 Mikko Rapeli (45): Makefile: propagate verbose options scripts/headers.sh: add verbose option to make calls if defined headers_install.sh: enhance error handling scripts/headers_compile_test.sh: compile test script

[PATCH 07/45] exynos_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h

[PATCH 04/45] scripts/headers_compile_test.sh: compile test script for exported headers

2015-02-16 Thread Mikko Rapeli
’ before ‘snd_seq_client_type_t’ 1 #error patchkey.h included directly 1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers_compile_test.sh | 143 1 file changed, 143

[PATCH 03/45] headers_install.sh: enhance error handling

2015-02-16 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts

[PATCH 13/45] savage_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions

[PATCH 17/45] ebtables.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/netfilter_bridge

[PATCH 27/45] include/uapi/linux/sysctl.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/sysctl.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index 43aaba1..b7b344f 100644

[PATCH 14/45] sis_drm.h: hide sis_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm

[PATCH 09/45] radeon_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index

[PATCH 12/45] via_drm.h: hide struct via_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644

[PATCH 29/45] include/uapi/asm-generic/msgbuf.h: include asm/ipcbuf.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘msg_perm’ has incomplete type struct ipc64_perm msg_perm Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/msgbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/msgbuf.h b

[PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘in’ has incomplete type struct in_addr in; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/netfilter_bridge.h b/include/uapi

[PATCH 45/45] include/uapi/asm-generic/ucontext.h: include signal.h and sigcontext.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler errors: error: unknown type name ‘stack_t’ error: field ‘uc_mcontext’ has incomplete type struct sigcontext uc_mcontext; error: unknown type name ‘sigset_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed

[PATCH 10/45] r128_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm

[PATCH 06/45] drm_mode.h: include stdint.h and linux/types.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a0db2d4a

[PATCH 08/45] nouveau_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index

[PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h b/include/uapi

[PATCH 16/45] hsi_char.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/hsi/hsi_char.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/hsi/hsi_char.h b/include/uapi

[PATCH 18/45] cld.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/nfsd/cld.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h index

[PATCH 11/45] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
On Mon, Feb 16, 2015 at 06:32:54PM -0500, Mike Snitzer wrote: On Mon, Feb 16 2015 at 6:05pm -0500, Mikko Rapeli mikko.rap...@iki.fi wrote: Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ What userspace code are you compiling? Do you have

[PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-02-16 Thread Mikko Rapeli
This libc header has sockaddr definition for userspace. Fixes compilation errors like: error: field ‘ifru_addr’ has incomplete type struct sockaddr ifru_addr; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/socket.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 42/45] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h always

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors in userspace like: error: unknown type name ‘__be32’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/rds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 7ff0c70

[PATCH 30/45] include/uapi/asm-generic/shmbuf.h: include fixes

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘shm_perm’ has incomplete type struct ipc64_perm shm_perm; /* operation perms */ error: unknown type name ‘size_t’ error: unknown type name ‘__kernel_time_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic

[PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

2015-02-16 Thread Mikko Rapeli
The DECLARE_BITMAP macro is not available in userspace headers. Fixes userspace compile error: error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/emu10k1.h | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace

2015-02-16 Thread Mikko Rapeli
It is already defined by libc headers in /usr/include/i386-linux-gnu/sys/select.h Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/signal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h

[PATCH 36/45] include/uapi/linux/netfilter.h: include in.h and in6.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compile errors like: error: field ‘in’ has incomplete type error: field ‘in6’ has incomplete type Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux

[PATCH 23/45] scsi_netlink_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h

[PATCH 22/45] scsi_netlink.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi

[PATCH 32/45] drm/i810_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: array type has incomplete element type struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/i810_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/i810_drm.h

[PATCH 25/45] gntalloc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntalloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h index 76bd580

[PATCH 24/45] hdspm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/hdspm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index d956c35

[PATCH 28/45] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘__kernel_key_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/ipcbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/ipcbuf.h b/include/uapi/asm-generic/ipcbuf.h index

[PATCH 39/45] include/uapi/sound/asequencer.h: include sound/asound.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘snd_seq_client_type_t’ snd_seq_client_type_t type; /* client type */ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/asequencer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/sound

[PATCH 20/45] sctp.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/sctp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index ce70fe6..9fd31cf

[PATCH 38/45] include/uapi/linux/agpgart.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/agpgart.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h index 4e828cf..f525104 100644

[PATCH 35/45] include/uapi/sound/asound.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler errors like: error: field ‘trigger_tstamp’ has incomplete type error: invalid application of ‘sizeof’ to incomplete t ype ‘struct timespec’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/asound.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 33/45] include/uapi/asm-generic/signal.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler warning: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/signal.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 9df61f1..8a341a2

[PATCH 44/45] nf_conntrack_tuple_common.h: include linux/types.h and linux/netfilter.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘__be16’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter/nf_conntrack_tuple_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/netfilter/nf_conntrack_tuple_common.h

[PATCH 40/45] include/uapi/sound/emu10k1.h: include sound/asound.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘id’ has incomplete type struct snd_ctl_elem_id id; /* full control ID definition */ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/emu10k1.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 31/45] asm-generic/sembuf.h: include asm/posix_types.h and asm/ipcbuf.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘msg_perm’ has incomplete type struct ipc64_perm msg_perm; error: unknown type name ‘__kernel_ulong_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/sembuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 19/45] rds.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/rds.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644

[PATCH 21/45] scsi_bsg_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h

[PATCH 26/45] gntdev.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h index 5304bd3..f724f75

[PATCH 02/45] scripts/headers.sh: add verbose option to make calls if defined

2015-02-16 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 95ece06..aa62fd8 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh

Re: [PATCH RFC v02 00/45] Compile test and fixes for exported header files

2015-02-18 Thread Mikko Rapeli
Thanks for all the reviews! I'm going through the review feedback and will try to address all findings and find correct ways to fix things but this will take some time from my side. -Mikko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 20/45] sctp.h: include stdint.h in userspace

2015-02-18 Thread Mikko Rapeli
On Wed, Feb 18, 2015 at 04:48:04PM +0100, Daniel Borkmann wrote: On 02/17/2015 12:05 AM, Mikko Rapeli wrote: Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi I have no idea where the rest of this series went

Re: [PATCH 05/45] drm.h: include stdlib.h in userspace

2015-03-21 Thread Mikko Rapeli
On Fri, Mar 20, 2015 at 08:25:40PM +, Emil Velikov wrote: On 23 February 2015 at 10:35, Mikko Rapeli mikko.rap...@iki.fi wrote: On Mon, Feb 23, 2015 at 10:26:58AM +, Emil Velikov wrote: On 16/02/15 23:05, Mikko Rapeli wrote: Fixes drm/drm.h compilation error: drm/drm.h:132:2

Re: [PATCH 45/45] include/uapi/asm-generic/ucontext.h: include signal.h and sigcontext.h

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:10:42AM +0100, Arnd Bergmann wrote: On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote: #ifndef __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H +#include asm-generic/signal.h +#include asm/sigcontext.h + struct ucontext

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: This libc header has sockaddr definition for userspace. Fixes compilation errors like: error: field ‘ifru_addr’ has incomplete type struct sockaddr ifru_addr

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Wed, Mar 11, 2015 at 02:38:15AM +0200, Mikko Rapeli wrote: On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: This libc header has sockaddr definition for userspace. Fixes compilation errors like: error: field

Re: [PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 01:02:50AM +0100, Jan Engelhardt wrote: On Tuesday 2015-02-17 00:05, Mikko Rapeli wrote: Fixes userspace compilation errors like: error: field ‘in’ has incomplete type struct in_addr in; +#include linux/if.h Patch 36/45 included linux/in.h instead of linux

Re: [PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 07:27:38AM +0100, Takashi Iwai wrote: At Tue, 17 Feb 2015 00:05:44 +0100, Mikko Rapeli wrote: The DECLARE_BITMAP macro is not available in userspace headers. Fixes userspace compile error: error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’ It's

Re: [PATCH 03/45] headers_install.sh: enhance error handling

2015-03-11 Thread Mikko Rapeli
On Wed, Mar 11, 2015 at 11:16:11AM +0100, Michal Marek wrote: On 2015-03-10 23:44, Mikko Rapeli wrote: On Tue, Feb 17, 2015 at 02:17:51PM +0100, Michal Marek wrote: On 2015-02-17 00:05, Mikko Rapeli wrote: Exit with error if using undefined variables or if any sub command fails with error

Re: [PATCH 02/45] scripts/headers.sh: add verbose option to make calls if defined

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 04:18:59PM +0900, Masahiro Yamada wrote: On Tue, 17 Feb 2015 00:05:05 +0100 Mikko Rapeli mikko.rap...@iki.fi wrote: Useful when debugging the scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers.sh | 2 +- 1 file changed, 1

Re: [PATCH 01/45] Makefile: propagate verbose options

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 04:18:12PM +0900, Masahiro Yamada wrote: Hi Mikko, On Tue, 17 Feb 2015 00:05:04 +0100 Mikko Rapeli mikko.rap...@iki.fi wrote: Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- Makefile | 8 1 file

Re: [PATCH 03/45] headers_install.sh: enhance error handling

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 02:17:51PM +0100, Michal Marek wrote: On 2015-02-17 00:05, Mikko Rapeli wrote: Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables

  1   2   3   4   5   6   7   8   9   10   >