Re: [000/121] 3.2.51-rc1 review

2013-09-08 Thread Geert Uytterhoeven
5183 ("m68knommu: clean up linker script"). Greg, any idea? > Details are at http://server.roeck-us.net:8010/builders. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversat

Re: [PATCH] m68k: remove deprecated IRQF_DISABLED

2013-09-09 Thread Geert Uytterhoeven
can hold off the "remove the define" patch until 3.2-rc1 and push | it along with everything which hasn't been merged until then. but apparently that never happened... oh well... Anyway, will queue if nothing happens at the global front... Gr{oetje,eeting}s,

[PATCH 2/2] regulator: da9063: Add missing initialization of da9063_reg_matches

2013-09-09 Thread Geert Uytterhoeven
. Signed-off-by: Geert Uytterhoeven --- Can this happen? Or will any of the b*_merged flags be set in this case, so the while loop continues and we never get to the place where da9063_reg_matches is used? The code is too convoluted for me to see... drivers/regulator/da9063-regulator.c |2 +- 1

[PATCH 1/2] regulator: da9063: Fix PTR_ERR/ERR_PTR mismatch

2013-09-09 Thread Geert Uytterhoeven
from integer without a cast Use ERR_PTR() to encode an error code in a pointer. PTR_ERR() is meant to decode an error code from a pointer. Signed-off-by: Geert Uytterhoeven --- drivers/regulator/da9063-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-09 Thread Geert Uytterhoeven
m68k[*]. It's no longer broken on sparc64, as the missing export already got into mainline. In light of the above, perhaps that should be reverted? [*] Why does m68k allmodconfig still succeed on kissb??? It does fail for me, as m68k's copy_from_user_page() calls flush_icache_user_r

[PATCH/RFC 2/2] m68k/amiga: Provide mach_get_cycles()

2013-09-09 Thread Geert Uytterhoeven
Use the 24-bit Time-Of-Day clock in CIA B, which is clocked by HSYNC. Signed-off-by: Geert Uytterhoeven --- 1. Completely untested! It does compile ;-) 2. Is a 24-bit counter running at 15-31 kHz good enough? Two cascaded 16-bit CIA timers running from the 700 kHz E-clock would be

[PATCH 1/2] m68k: Add infrastructure for machine-specific get_cycles()

2013-09-09 Thread Geert Uytterhoeven
Currently get_cycles() always returns zero. As get_cycles() is called to add entropy to the random number generator pool, security can be increased by adding a hook where platforms can provide their own implementation. Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/machdep.h

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-10 Thread Geert Uytterhoeven
h calls copy_to_user_page() and thus flush_icache_user_range()), while gcc 4.1.2 doesn't do that. Mystery solved. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical peop

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-10 Thread Geert Uytterhoeven
cause the event value is quite deterministic and jiffies are very > coarse. > > However, on the following architectures, get_cycles will return 0: > - M68K Thanks, m68k is being worked on, cfr. https://lkml.org/lkml/2013/9/9/441 Gr{oetje,eeting}s, Geert -- Ge

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-10 Thread Geert Uytterhoeven
6.3/4.6.3/. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer&quo

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-10 Thread Geert Uytterhoeven
that's the best we can do), but in others, that may not be > appropriate at all. Good to know it's called from every interrupt. So the first importance for random_get_fast_cycles() is that it needs to be fast. What's most important next: number of bits or high-frequency? Gr{oetje,eeting}s,

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-12 Thread Geert Uytterhoeven
nt name than "random_get_fast_cycles()", as it's better to have something that returns different and unpredictable numbers than an actual monotonic cycle counter. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- g

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-12 Thread Geert Uytterhoeven
ld be fine for /dev/random, I guess, but it's not really "get_cycles()". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a ha

Uninitialized rx_req/tx_req (was: Re: [PATCH v2 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case)

2013-09-12 Thread Geert Uytterhoeven
ed in this function drivers/mmc/host/omap_hsmmc.c:1779: warning: ‘tx_req’ may be used uninitialized in this function Indeed, rx_req and tx_req are not initialized in the DT case. Initializing them to zero is probably not the right fix. Where are the values supposed to come from in the DT case? Gr{

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-12 Thread Geert Uytterhoeven
gt; and OR the 24 bit on bits 48 to 17? > > Yet, there is a break in that counter: the 16 low bits rotate several > times (around 10 times) before bit 17 is changed once. Sure, but it's also slower, as this will be called for every interrupt, and the counters (accessed by byte!) ar

[PATCH] sunrpc: Add missing kuids conversion for printing

2013-09-12 Thread Geert Uytterhoeven
s for printing") forgot to convert one instance. Signed-off-by: Geert Uytterhoeven --- net/sunrpc/auth_generic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/auth_generic.c b/net/sunrpc/auth_generic.c index f6d84be..ed04869 100644 --- a/net/sunrpc/auth_generic.c

Kernel size increase of +256 KiB (was: Re: RPCSEC_GSS: Share all credential caches on a per-transport basis)

2013-09-12 Thread Geert Uytterhoeven
sh_table- 262144 +262144 Woops... Are you trying to game Tim's survey? ;-) (question 13 at http://www.embeddedlinuxconference.com/cgi-bin/survey.cgi) Can this memory be allocated dynamically / only when it's used? Thanks! Gr{oetje,eeting}s,

Re: Kernel size increase of +256 KiB (was: Re: RPCSEC_GSS: Share all credential caches on a per-transport basis)

2013-09-12 Thread Geert Uytterhoeven
hould already be the case, Only for the modular case. What about builtin, e.g. for nfsroot? Or is it better to not build in NFS_V4 support in that case? config NFS_V4 If unsure, say Y. config NFSD_V4 If unsure, say N. So that's why my defconfig has NFS_V4 but not NFS

Re: [PATCH] Kconfig cleanup (PARPORT_PC dependencies)

2013-09-12 Thread Geert Uytterhoeven
m68k part: Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just sa

Re: Kernel size increase of +256 KiB (was: Re: RPCSEC_GSS: Share all credential caches on a per-transport basis)

2013-09-12 Thread Geert Uytterhoeven
rything to boot (block, net, nfs) as built-in. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journali

Re: [GIT PULL] Btrfs

2013-09-12 Thread Geert Uytterhoeven
ting for unfinished jobs Cfr. my early warning 10 days ago: "Btrfs is the first user of __put_user_unaligned() outside the compat code, hence now all 32-bit architectures should make sure to implement this, too." http://marc.info/?l=linux-arch&m=137820065929216&w=2 Gr{oetje,eeti

Re: [patch 3/4] skd: use strncpy() as a cleanup

2013-09-13 Thread Geert Uytterhoeven
s than strncpy(). > inq.page_length = cpu_to_be16((sizeof(inq) - 4)); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. Bu

Re: [GIT PULL] Btrfs

2013-09-13 Thread Geert Uytterhoeven
the same CPU family. No one seems to actully use __get_user_unaligned(). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-13 Thread Geert Uytterhoeven
the first user of __put_user_unaligned() outside the compat code, hence now all 32-bit architectures should make sure to implement this, too." http://marc.info/?l=linux-arch&m=137820065929216&w=2 and today's thread https://lkml.org/lkml/2013/9/12/814 Gr{oetje,eeting}s,

Build regressions/improvements in v3.12-rc4

2013-10-07 Thread Geert Uytterhoeven
008): Section mismatch in reference from the variable ccio_driver to the function .init.text:ccio_probe(): N/A => - warning: vmlinux.o(.data+0x40164): Section mismatch in reference from the variable dino_driver to the function .init.

Re: Build regressions/improvements in v3.12-rc4

2013-10-07 Thread Geert Uytterhoeven
On Mon, Oct 7, 2013 at 9:23 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.12-rc4 to v3.12-rc3[3], the summaries are: > - build errors: +6/-10 + /scratch/kisskb/src/arch/powerpc/xmon/xmon.c: error: implicit declaration of function 'dump_tlb_44x' [-Werror=i

Re: [PATCH] mtd: phram: Make phram 64-bit compatible

2013-10-08 Thread Geert Uytterhoeven
d. Why deviate from SI with "Kd" (a new invention)?? That should just be "k". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself

Re: [PATCH] kbuild: warn about headers using __[us]{8, 16, 32, 64} types w/out linux/types.h

2013-10-08 Thread Geert Uytterhoeven
this also triggers on __[us]{8,16,32,64} in comments instead of in actual code (just got caught ;-). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations wi

Re: [PATCH] arm, kbuild: make "make install" not depend on vmlinux

2013-10-09 Thread Geert Uytterhoeven
, doesn't it? I had the habit of doing the above many years ago, when I was mostly doing native builds, and before I had my own custom linux-install-kernel script that e.g. knows how to copy kernels and modules around to NFS servers. Not that I'm strongly attached to it, but there m

Re: [PATCH] arm, kbuild: make "make install" not depend on vmlinux

2013-10-09 Thread Geert Uytterhoeven
On Wed, Oct 9, 2013 at 12:28 PM, Michal Marek wrote: > On 9.10.2013 09:18, Geert Uytterhoeven wrote: >> Sorry for chiming in that late, but I didn't think of this when reading the >> original submission. >> >> Just doing "make oldconfig; make install"

Re: [uml-devel] BUG: soft lockup for a user mode linux image

2013-10-09 Thread Geert Uytterhoeven
On Thu, Oct 10, 2013 at 4:46 AM, Fengguang Wu wrote: > On Wed, Oct 09, 2013 at 11:47:33PM +0200, Jan Kara wrote: >> On Wed 09-10-13 20:43:50, Richard Weinberger wrote: >> > Am 09.10.2013 19:26, schrieb Toralf Förster: >> > > On 10/08/2013 10:07 PM, Geert Uytterhoeve

Re: sysfs for my chips

2013-10-10 Thread Geert Uytterhoeven
We already create platform devices for the cpus in the system in >> /sys/devices/system/, so can you just hang the attribute files off of >> those platform devices? > > This is not CPUs. CPUs are threads really. Even if they were cores, that > still wouldn't cut it. I'

[PATCH -next] staging: dgap: Add missing #include

2013-08-29 Thread Geert Uytterhoeven
declaration of function ‘kmalloc’ drivers/staging/dgap/dgap_driver.c:940: warning: initialization makes pointer from integer without a cast Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/9422860/ http://kisskb.ellerman.id.au/kisskb/buildresult/9419277/ drivers

[-next] openvswitch BUILD_BUG_ON failed

2013-08-29 Thread Geert Uytterhoeven
64-bit words must be only 4-byte aligned). There's another build check "BUILD_BUG_ON(sizeof(long) % sizeof(u32))". Isn't this always true on Linux, as "long" is never smaller than 4 bytes? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven --

Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture

2013-08-30 Thread Geert Uytterhoeven
as a hobbyist architecture maintainer, and see what are his plans and opinions. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I

Re: [-next] openvswitch BUILD_BUG_ON failed

2013-08-31 Thread Geert Uytterhoeven
On Fri, Aug 30, 2013 at 3:11 AM, Jesse Gross wrote: > On Thu, Aug 29, 2013 at 3:10 PM, David Miller wrote: >> From: Jesse Gross >> Date: Thu, 29 Aug 2013 14:42:22 -0700 >> >>> On Thu, Aug 29, 2013 at 2:21 PM, Geert Uytterhoeven >>> wrote: >>>>

Re: linux-next: Tree for Aug 30 (brcmfmac)

2013-08-31 Thread Geert Uytterhoeven
re a reasonable solution to this? In order of preference: 1. Make it tristate 2. depends on MMC=y However, the first solution cannot be used as there are several "#ifdef CONFIG_BRCMFMAC_SDIO" in the code itself. Note that there's a similar issue with BRCMFMAC_USB and USB. Gr{oetj

Re: [PATCH 3/6] tree-sweep: Include linux/sched.h for might_sleep users

2013-08-31 Thread Geert Uytterhoeven
eld 'time' has incomplete type http://kisskb.ellerman.id.au/kisskb/buildresult/9424440/ http://kisskb.ellerman.id.au/kisskb/buildresult/9424438/ Note that it doesn't use might_sleep(). It does use might_fault(), but only from a macro, not from a C inline function. Gr{oetje,eeting

Re: [PATCH 08/10] kexec: Disable at runtime if the kernel enforces module loading restrictions

2013-09-01 Thread Geert Uytterhoeven
Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer

Re: [PATCH] checkpatch: Make extern in .h prototypes quieter.

2013-09-02 Thread Geert Uytterhoeven
ot the subject of this patch, but shouldn't "extern prototypes" be "extern keywords"? > $fix) { > $fixed[$linenr - 1] =~ > s/(.*)\bextern\s+(.*)/$1$2/; > } Gr{oetje,eeting}s, Geert -- Geer

Re: [PATCH] input: allow SERIO=m even without EXPERT=y

2013-09-02 Thread Geert Uytterhoeven
dropping the "!X86" too? Because the "if EXPERT" only mattered for X86. Apply De Morgan and it read like "do not ask the question if !EXPERT && X86". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux bey

[git pull] m68k updates for 3.12

2013-09-02 Thread Geert Uytterhoeven
55490050df0f5d82ce070be11351c65f7696101c: m68k/atari: ARAnyM - Always use physical addresses in NatFeat calls (2013-08-23 12:49:01 +0200) Geert Uytterhoeven (2): m68k: Ignore disabled HSYNC interrupt on Atari for irqs_disabled

Re: Linux 3.11

2013-09-03 Thread Geert Uytterhoeven
k emails from some kernel-hacking Google employees as spam. Just marking them as not spam over and over didn't help, as they were using non-google SMTP servers for their outgoing email. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond

[PATCH -next] m68k/m68knommu: Implement __get_user_unaligned/__put_user_unaligned()

2013-09-03 Thread Geert Uytterhoeven
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’: fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’ Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/9455452/ Btrfs is the first user of __put_user_unaligned

Re: Build regressions/improvements in v3.11

2013-09-03 Thread Geert Uytterhoeven
On Tue, 3 Sep 2013, Geert Uytterhoeven wrote: > JFYI, when comparing v3.11 to v3.11-rc7[3], the summaries are: > - build errors: +9/-17 Besides the usual ppc64 relocation truncations and powerpc-randconfig breakage, there's only: + error: "__ashrdi3" [fs/ntfs/ntfs.ko

Re: [GIT PULL] timers/nohz changes for v3.12

2013-09-03 Thread Geert Uytterhoeven
right. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or

Re: [PATCH trivial] UAPI: Kbuild: add/modify comments for "uapi/Kbuild" and "uapi/linux/Kbuild"

2013-09-03 Thread Geert Uytterhoeven
x/", UAPI means Universal API. Sorry for my silly question, but what's the purpose of this "Universal API" comment? > +# For "linux/", UAPI means User API which can be used by user mode. > > header-y += asm-generic/ > header-y += linux/ Gr{oetje,eeting}s,

Re: new binutils needed for arm in 3.12-rc1

2013-09-26 Thread Geert Uytterhoeven
m shipping GPLv3 binaries? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "pro

[PATCH] m68k/defconfig: Make NFS_V4 modular instead of builtin

2013-09-26 Thread Geert Uytterhoeven
This reduces the kernel image size by ca. 100 KiB, while still allowing NFS root. Signed-off-by: Geert Uytterhoeven --- arch/m68k/configs/amiga_defconfig|2 +- arch/m68k/configs/apollo_defconfig |2 +- arch/m68k/configs/atari_defconfig|2 +- arch/m68k/configs

Re: [PATCH] m68k: remove deprecated IRQF_DISABLED

2013-09-26 Thread Geert Uytterhoeven
On Mon, Sep 9, 2013 at 9:32 AM, Geert Uytterhoeven wrote: > On Sat, Sep 7, 2013 at 7:43 AM, Michael Opdenacker > wrote: >> This patch proposes to remove the IRQF_DISABLED flag from m68k architecture >> code. It's a NOOP since 2.6.35 and it will be removed one day. >&

Re: [PATCH 2/8] um: Do not use SUBARCH

2013-09-26 Thread Geert Uytterhoeven
; > the user should expect a 64-bit build, and not an i386 build as you > say. Both my patches are correct, and the "regression" that you > pointed out is a red herring. Sorry for chiming in, but... what about cross compiling? SUBARCH=x86 should give you a 32-bit ia32 kernel, ri

Re: About atags_proc buffer size

2013-09-27 Thread Geert Uytterhoeven
aving a static allocation of 12k would be wasteful > for the majority of users. It's __initdata memory, right? So it would waste this 12 KiB only temporarily. Stll, it enlarges the kernel image by 12 KiB, as there's no such thing as __initbss. Gr{oetje,eeting}s,

Re: Issue with BUG() in asm-gemeric/bug.h if CONFIG_BUG=n

2013-09-30 Thread Geert Uytterhoeven
achable >> anyways. >> > > Simply not true. > > do{}while(0) is a NOP it is no more useful than an ';' statement. It > doesn't serve as a magic uninitialized variable hiding mechanism. You missed the "turn off warnings" part of the "and&

Build regressions/improvements in v3.12-rc3

2013-09-30 Thread Geert Uytterhoeven
tch in reference from the function .free_area_init_core.isra.37() to the function .init.text:.set_pageblock_order(): N/A => - warning: vmlinux.o (.PPC.EMB.apuinfo): unexpected non-allocatable section.: N/A => - warning: vmlinux.o(.data+0x3ff68): Section mismatch in reference f

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-01 Thread Geert Uytterhoeven
somewhat controversial (although I dislike strncpy more with the > crazy zero-padding, ugh). Indeed, e.g. on Ubuntu it's in libbsd, so you also need to #include and link with -lbsd. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond

Re: [PATCH 1/2] remove all uses of printf's %n

2013-09-22 Thread Geert Uytterhoeven
hough I wonder someone wants to > use '\0', '\t', '\n' etc. as the padding character... Not those special characters. '-' could be useful for tables (doh, text-mode graphics log output). Gr{oetje,eeting}s, Geert -- Ge

Re: [PATCH 2/2] framebuffer: Remove pmag-aa-fb

2013-09-22 Thread Geert Uytterhoeven
ops (with get_var()/get_fix()), instead of the new fb_ops (rectangular drawing API and var/fix as member data). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical

Re: checkpatch guide for newbies

2013-09-23 Thread Geert Uytterhoeven
he first line (i.e. "BitReverse" is indented by one more TAB tjan "PowerData"). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call m

Re: Drivers: scsi: FLUSH timeout

2013-09-25 Thread Geert Uytterhoeven
he value > we currently have for I/O > timeout. So you want to replace it by "180 * HZ", which is ... another magic number? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal co

Build regressions/improvements in v3.12-rc2

2013-09-25 Thread Geert Uytterhoeven
ence from the function .ps3fb_probe() to the variable .init.data:ps3fb_fix: N/A => - warning: drivers/video/built-in.o(.text+0x29b722): Section mismatch in reference from the function .ps3fb_probe() to the variable .init.data:ps3fb_fix: N/A => - warning: mm/built-in.o(.meminit.text+0x1

Re: Build regressions/improvements in v3.12-rc2

2013-09-25 Thread Geert Uytterhoeven
On Wed, Sep 25, 2013 at 10:54 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.12-rc2 to v3.12-rc1[3], the summaries are: > - build errors: +15/-11 + error: arch/powerpc/kernel/entry_32.S: undefined reference to `uprobe_post_sstep_notifier': => .text+0x10570) + error

Re: [PATCH] swim: Add missing spinlock init

2012-09-06 Thread Geert Uytterhoeven
On Thu, Sep 6, 2012 at 1:48 PM, Jean Delvare wrote: > It doesn't seem this spinlock was properly initialized. Quiet possible. There's no SMP on m68k, so all spinlock ops expand to nothing. > Signed-off-by: Jean Delvare > Cc: Finn Thain > Cc: Geert Uytterhoeven > ---

Re: linux-next: build failure after merge of the final tree (staging tree related)

2012-09-06 Thread Geert Uytterhoeven
,6 +4,7 @@ > > menuconfig IPACK_BUS > tristate "IndustryPack bus support" > + depends on BROKEN Cool, can I do that for all build failures? ;-) > ---help--- > If you say Y here you get support for the IndustryPack Framework >

Re: [PATCH 4/4] xtensa: Setup CROSS_COMPILE at the top

2012-09-09 Thread Geert Uytterhoeven
On Sat, May 12, 2012 at 10:39 PM, Geert Uytterhoeven wrote: > CROSS_COMPILE must be setup before using e.g. cc-option (and a few other > as-*, cc-*, ld-* macros), else they will check against the wrong compiler > when cross-compiling, and may invoke the cross compiler with wrong or >

Re: [PATCH/RFC] um: Preinclude include/linux/kern_levels.h

2012-09-09 Thread Geert Uytterhoeven
Ping? On Thu, Aug 16, 2012 at 8:15 PM, Geert Uytterhoeven wrote: > The userspace part of UML uses the asm-offsets.h generator mechanism to > create definitions for UM_KERN_ that match the in-kernel > KERN_ constant definitions. > > As of commit 04d2c8c83d0e3ac5f78aeede51babb3236

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Geert Uytterhoeven
e --program-prefix=m68k-linux-gnu- --includedir=/usr/m68k-linux-gnu/include --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=m68k-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Ubuntu 4.1.1-21) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-09 Thread Geert Uytterhoeven
Hi Günter, On Sun, Sep 9, 2012 at 6:17 PM, Guenter Roeck wrote: > On Sun, Sep 09, 2012 at 04:57:34PM +0200, Geert Uytterhoeven wrote: >> On Fri, Aug 31, 2012 at 5:02 PM, Guenter Roeck wrote: >> > DIV_ROUND_CLOSEST returns a bad result for negative dividends: >> >

Re: Build regressions/improvements in v3.6-rc5

2012-09-09 Thread Geert Uytterhoeven
On Sun, Sep 9, 2012 at 10:41 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.6-rc5 to v3.6-rc4[3], the summaries are: > - build errors: +15/-4 + arch/powerpc/platforms/512x/mpc512x_shared.c: error: 'FSL_DIU_PORT_DVI' undeclared (first use in this function): => 189

Re:

2012-10-06 Thread Geert Uytterhoeven
On Sun, Oct 7, 2012 at 1:15 AM, David Howells wrote: > (3) m68k turned out to have a header installation problem due to it lacking a > kvm_para.h file. Sh also. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: [regression] boot failure on alpha, bisected

2012-10-08 Thread Geert Uytterhoeven
> The question is, should I add the warning to remind that this > arch needs a fix? Just wondering. As this is on an SMP system, perhaps the read_barrier_depends() vs. smp_read_barrier_depends() matters here? http://lkml.indiana.edu/hypermail/linux/kernel/1209.3/00555.html Gr{oetje,eeting}s,

Re: udev breakages -

2012-10-10 Thread Geert Uytterhoeven
ow of one. A few years ago, the OpenWRT people pointed me to hotplug2 when I mentioned udev made my poor m68k box with 12 MiB of RAM immediately go OOM. Don't know if it's suitable for "bigger" machines, though. Gr{oetje,eeting}s, Geert -- Geert Uytterh

Re: [PATCH 1/9] goldfish: definitions for Goldfish on x86 platforms

2012-12-04 Thread Geert Uytterhoeven
ily. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say &q

[PATCH -resend 1/2] frv: Fix use of extinct _sbss and _ebss in debug code

2012-12-04 Thread Geert Uytterhoeven
Nowadays it should probably use __bss_start and __bss_stop Signed-off-by: Geert Uytterhoeven --- arch/frv/kernel/setup.c |2 +- arch/frv/mm/init.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index b8993c8

[PATCH -resend 2/2] frv: Properly use the declarations provided by

2012-12-04 Thread Geert Uytterhoeven
- Remove the superfluous address-of ('&') operators, - Remove the unneeded casts, use %p to format pointers instead. Signed-off-by: Geert Uytterhoeven --- arch/frv/kernel/setup.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/frv/ke

[PATCH -resend] cris: Use "int" for ssize_t to match size_t

2012-12-04 Thread Geert Uytterhoeven
ged to "int". Hence cris can just use the generic 32-bit versions from include/asm-generic/posix_types.h for all size-related types. Signed-off-by: Geert Uytterhoeven Cc: Mikael Starvik Cc: Jesper Nilsson Cc: Hans-Peter Nilsson Cc: linux-cris-ker...@axis.com --- arch/cris/inclu

Build regressions/improvements in v3.7-rc8

2012-12-05 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.7-rc8[1] compared to v3.6[2]. To make this mail fit in the lkml limit, I deleted - 6016 lines about __mcount_loc on sparc64 - all error and warning improvements Summarized: - build errors: +13/-952 - build warnings: +

Re: Look Ma, da kernel is b0rken

2012-12-05 Thread Geert Uytterhoeven
service. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer"

Re: [PATCH 02/10] UAPI: Make uapi/linux/irqnr.h non-empty

2012-10-17 Thread Geert Uytterhoeven
o add something to such a file, the include guards are needed anyway (but may be forgotten), and the comment should be deleted as well (which may also be forgotten). BTW, is "#pragma once" allowed these days? It seems we already have one user in drivers/staging/bcm/CmHost.h. Gr{oetje,eet

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-17 Thread Geert Uytterhoeven
8,7 +148,7 @@ static inline void insb(unsigned long addr, void *buffer, > int count) The "addr" parameter is actually a misnomer. Probably it should be "port". Oops, inb() and friends also use "addr". Gr{oetje,eeting}s, Geert -- Geert Uytte

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-17 Thread Geert Uytterhoeven
Hi Ben, On Thu, Oct 18, 2012 at 2:04 AM, Benjamin Herrenschmidt wrote: > On Wed, 2012-10-17 at 21:16 +0200, Geert Uytterhoeven wrote: >> On Wed, Oct 17, 2012 at 5:45 PM, Will Deacon wrote: >> > The {in,out}s{b,w,l} functions are designed to operate on a stream of >> >

Re: linux-next: manual merge of the m68knommu tree with the tree

2012-10-17 Thread Geert Uytterhoeven
; header-y += ioctls.h >>> -header-y += msgbuf.h >>> header-y += param.h >>> header-y += poll.h >>> header-y += posix_types.h >>> header-y += ptrace.h >>> -header-y += sembuf.h >>> header-y += setup.h >>> -header-y +

Re: linux-next: manual merge of the m68knommu tree with the tree

2012-10-18 Thread Geert Uytterhoeven
Hi Greg, On Thu, Oct 18, 2012 at 12:01 PM, Greg Ungerer wrote: > On 10/18/2012 03:51 PM, Geert Uytterhoeven wrote: >> On Thu, Oct 18, 2012 at 5:34 AM, Greg Ungerer wrote: >>> On 18/10/12 09:38, Stephen Rothwell wrote: >>>> On Thu, 18 Oct 2012 10:37:13 +1100 Ste

[PATCH] m68k: Wire up kcmp

2012-10-18 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/unistd.h |2 +- arch/m68k/include/uapi/asm/unistd.h |1 + arch/m68k/kernel/syscalltable.S |1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm

[git pull] m68k updates for 3.7 (take 2)

2012-10-21 Thread Geert Uytterhoeven
/git/geert/linux-m68k.git for-linus David Howells (1): UAPI: (Scripted) Disintegrate arch/m68k/include/asm Geert Uytterhoeven (3): Merge tag 'disintegrate-m68k-20121009' of git://git.infradead.org/users/dhowells/linux-headers into for-linus m68k: Remove empty #ifdef/#e

Re: Build regressions/improvements in v3.7-rc2

2012-10-22 Thread Geert Uytterhoeven
On Mon, Oct 22, 2012 at 9:47 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.7-rc2 to v3.7-rc1[3], the summaries are: > - build errors: +4/-44 + arch/s390/include/asm/kvm_para.h: error: redefinition of 'kvm_arch_para_features': => 147:28, 147:99 + arch/s390/inc

Re: Using IO functions across ARM, PPC and Microblaze architectures

2012-12-08 Thread Geert Uytterhoeven
ct io_ops * in struct device, to be set up by the bus driver? Wasn't David Hinds working on something like this in the context of PCMCIA a few decades ago? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread Geert Uytterhoeven
ata_page { u64 time_stamp;/* page time stamp */ local_t commit;/* write committed index */ - unsigned chardata[];/* data of buffer page */ + unsigned chardata[] RB_ALIGN_DATA; /* data of buffer page */ }; (cfr. your other patch). Gr{

Re: Missing tags in my local stable git repo

2012-12-10 Thread Geert Uytterhoeven
at is backed up (the alternates don't need backup as half mirrors Linus' tree and the stable tree). > git fetch > git remote update stable A single "git remote update" will fetch objects for both origin and the stable remote. Gr{oetje,eeting}s, Geert

Re: Missing tags in my local stable git repo

2012-12-10 Thread Geert Uytterhoeven
On Mon, Dec 10, 2012 at 10:16 PM, Geert Uytterhoeven wrote: > On Mon, Dec 10, 2012 at 9:44 PM, Steven Rostedt wrote: >> Otherwise I don't get the updates from stable when I do a remote fetch >> of my local copies. Would something like this work? >> >> [remote &q

Re: [PATCH] HID: microsoft, do not use compound literal

2012-11-12 Thread Geert Uytterhoeven
where was not indirectly included. > On x86_64, memcmp is a function, so I did not see the error. > > Signed-off-by: Jiri Slaby > Reported-by: Geert Uytterhoeven > --- > drivers/hid/hid-microsoft.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --

Re: [PATCH] HID: microsoft, do not use compound literal

2012-11-12 Thread Geert Uytterhoeven
On Mon, Nov 12, 2012 at 1:35 PM, Jiri Slaby wrote: > On 11/12/2012 01:30 PM, Geert Uytterhoeven wrote: >> My comment was purely cosmetic, as it applies to the quoted compiler error >> messages only. > > Ah, I see. When you are applying the patch Jiri, could you remove errors

Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.7-rc5[1] compared to v3.6[2]. To make this mail fit in the lkml limit, I deleted - 734 lines about __mcount_loc on sparc64 - all error and warning improvements Summarized: - build errors: +23/-948 - build warnings: +1

Re: Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Geert Uytterhoeven
On Mon, Nov 12, 2012 at 9:58 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.7-rc5 to v3.7-rc4[3], the summaries are: > - build errors: +14/-4 14 regressions: + drivers/virt/fsl_hypervisor.c: error: 'MSR_GS' undeclared (first use in this function): => 799:93

Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2012-11-13 Thread Geert Uytterhoeven
cally put the burden of selecting Kconfig flags for deprecated features on the existing architectures that provide the deprecated features? I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures that need it, instead? Gr{oetje,eeting}s, Geert -- Gee

Re: Build regressions/improvements in v3.7-rc5

2012-11-13 Thread Geert Uytterhoeven
Hi Scott, On Mon, Nov 12, 2012 at 10:51 PM, Scott Wood wrote: > On 11/12/2012 03:02:46 PM, Geert Uytterhoeven wrote: >> On Mon, Nov 12, 2012 at 9:58 PM, Geert Uytterhoeven >> wrote: >> > JFYI, when comparing v3.7-rc5 to v3.7-rc4[3], the summaries are: >> >

Re: ccache: FATAL: Could not create /scratch/kisskb/ccache

2012-11-14 Thread Geert Uytterhoeven
Hi Stephen, On Sat, Nov 3, 2012 at 12:19 AM, Stephen Rothwell wrote: > On Fri, 2 Nov 2012 19:44:48 +0100 Geert Uytterhoeven > wrote: >> http://kisskb.ellerman.id.au/kisskb/buildresult/7458505/ >> >> ccache: FATAL: Could not create >> /scratch/kisskb/ccache/d/7/

Re: new architectures, time_t __kernel_long_t

2012-11-14 Thread Geert Uytterhoeven
stem metadata? Currently, nlink_t is unconditionally __u32, even on 64-bit. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But whe

Re: [PATCH v2 000/104] remove CONFIG_EXPERIMENTAL

2012-11-06 Thread Geert Uytterhoeven
experimental. "default n" is the default. Unless you have a very good reason, you should never have "default y". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations w

Re: [PATCH 014/193] arch/m68k: remove CONFIG_EXPERIMENTAL

2012-11-11 Thread Geert Uytterhoeven
Hi Kees, On Sun, Oct 28, 2012 at 4:41 PM, Kees Cook wrote: > On Sun, Oct 28, 2012 at 2:18 AM, Geert Uytterhoeven > wrote: >> On Tue, Oct 23, 2012 at 10:01 PM, Kees Cook wrote: >>> This config item has not carried much meaning for a while now and is >>> almost

Re: [PATCH] mfd/DA9055: Remove Unicode Byte Order Marks

2012-11-11 Thread Geert Uytterhoeven
Ping? (akpm added to CC) On Mon, Oct 15, 2012 at 10:44 PM, Geert Uytterhoeven wrote: > Older gcc (< 4.4) doesn't like files starting with Unicode BOMs: > > include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program > include/linux/mfd/da9055/core.h:1: error: str

<    1   2   3   4   5   6   7   8   9   10   >