Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-01-29 Thread Rob Landley
' tip (0e47c969). Looks like an improvement. Acked-by: Rob Landley r...@landley.net (My own scripts to find this stuff are based on maintaining http://kernel.org/doc and the kernel developers are no longer capable of providing rsync access to that, despite repeated requests. Most recently https

Re: What does echo -c do (as found in dynamic-debug-howto.txt)

2013-12-27 Thread Rob Landley
On 12/26/13 11:38, Alexander Holler wrote: Hello, I've just read Documentation/dynamic-debug-howto.txt (again) and I wonder what the parameter -c for echo is for (found at lines 94 ff). Neither echo from coreutils nor the buildin from bash do know the parameter -c. Huh. No idea. Annotate

Re: [PATCH] doc/kmemcheck: add kmemcheck to kernel-parameters.txt

2013-12-27 Thread Rob Landley
On 12/26/13 20:13, Greg KH wrote: On Thu, Dec 26, 2013 at 11:25:03AM +0800, Xishi Qiu wrote: Add kmemcheck to Documentation/kernel-parameters.txt. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- Documentation/kernel-parameters.txt |7 +++ 1 files changed, 7 insertions(+), 0

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Rob Landley
On 12/26/13 10:58, Joe Xue wrote: Hi all, I think Pavel's suggestion is a good idea, I'm starting to write another trigger named Morse code trigger. Those who don't know history are doomed to fail the class and have to retake it with the same instructor next year:

Re: Question about /proc/uptime

2013-12-31 Thread Rob Landley
On 12/30/13 09:26, Martin Schwidefsky wrote: On Mon, 30 Dec 2013 16:11:10 +0100 Oleg Nesterov o...@redhat.com wrote: Not sure I understand... except that timekeeping_resume() does __timekeeping_inject_sleeptime(). Hmm, you are right. The sleeptime is added to the monotonic boottime. So the

Re: Question about /proc/uptime

2014-01-01 Thread Rob Landley
On 01/01/14 06:41, Martin Schwidefsky wrote: On Tue, 31 Dec 2013 22:17:39 -0600 Rob Landley r...@landley.net wrote: On 12/30/13 09:26, Martin Schwidefsky wrote: On Mon, 30 Dec 2013 16:11:10 +0100 Oleg Nesterov o...@redhat.com wrote: Not sure I understand... except that timekeeping_resume

Re: [RFC v02 1/5] PowerCap: Documentation

2013-08-08 Thread Rob Landley
On 08/07/2013 11:12:41 AM, Srinivas Pandruvada wrote: Added power cap framework documentation. This explains the use of power capping framework, sysfs and programming interface. There are two documents: Documentation/powercap/PowerCappingFramework.txt: Explains use case and API in details.

Re: [PATCH] MAINTAINERS: resume as Documentation maintainer

2014-03-28 Thread Rob Landley
Landley r...@landley.net --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Please resend any outstanding patches to me. Acked-by: Rob Landley r...@landley.net And thank you. Rob -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH 1/5] initmpfs: replace MS_NOUSER in initramfs

2013-06-29 Thread Rob Landley
From: Rob Landley r...@landley.net Mounting MS_NOUSER prevents --bind mounts from rootfs. Prevent new rootfs mounts with a different mechanism that doesn't affect bind mounts. Signed-off-by: Rob Landley r...@landley.net --- fs/ramfs/inode.c |9 - 1 file changed, 8 insertions(+), 1

[PATCH 4/5] initmpfs: Make rootfs use tmpfs when CONFIG_TMPFS enabled.

2013-06-29 Thread Rob Landley
From: Rob Landley r...@landley.net Conditionally call the appropriate fs_init function and fill_super functions. Add a use once guard to shmem_init() to simply succeed on a second call. (Note that IS_ENABLED() is a compile time constant so dead code elimination removes unused function calls when

[PATCH 3/5] initmpfs: Move rootfs code from fs/ramfs/ to init/

2013-06-29 Thread Rob Landley
From: Rob Landley r...@landley.net When the rootfs code was a wrapper around ramfs, having them in the same file made sense. Now that it can wrap another filesystem type, move it in with the init code instead. This also allows a subsequent patch to access rootfstype= command line arg. Signed

[PATCH 5/5] initmpfs: Use initramfs if rootfstype= or root= specified.

2013-06-29 Thread Rob Landley
From: Rob Landley r...@landley.net Command line option rootfstype=ramfs to obtain old initramfs behavior, and use ramfs instead of tmpfs for stub when root= defined (for cosmetic reasons). Signed-off-by: Rob Landley r...@landley.net --- init/do_mounts.c | 15 +++ 1 file changed

[PATCH 2/5] initmpfs: Move bdi setup from init_rootfs to init_ramfs

2013-06-29 Thread Rob Landley
From: Rob Landley r...@landley.net Even though ramfs hasn't got a backing device, commit e0bf68ddec4f added one anyway, and put the initialization in init_rootfs() since that's the first user, leaving it out of init_ramfs() to avoid duplication. But initmpfs uses init_tmpfs() instead, so move

[PATCH 0/5] initmpfs: use tmpfs instead of ramfs for rootfs

2013-06-29 Thread Rob Landley
Use tmpfs for rootfs when CONFIG_TMPFS=y and there's no root=. Specify rootfstype=ramfs to get the old initramfs behavior. The previous initramfs code provided a fairly crappy root filesystem: didn't let you --bind mount directories out of it, reported zero size/usage so it didn't show up in df

Re: [PATCH 1/5] initmpfs: replace MS_NOUSER in initramfs

2013-06-29 Thread Rob Landley
On 06/29/2013 08:15:40 PM, Eric W. Biederman wrote: Rob Landley r...@landley.net writes: From: Rob Landley r...@landley.net Mounting MS_NOUSER prevents --bind mounts from rootfs. Prevent new rootfs mounts with a different mechanism that doesn't affect bind mounts. I don't see patches 4

Re: [PATCH 1/5] initmpfs: replace MS_NOUSER in initramfs

2013-06-29 Thread Rob Landley
On 06/29/2013 08:15:40 PM, Eric W. Biederman wrote: Rob Landley r...@landley.net writes: From: Rob Landley r...@landley.net Mounting MS_NOUSER prevents --bind mounts from rootfs. Prevent new rootfs mounts with a different mechanism that doesn't affect bind mounts. I don't see patches 4

Re: [PATCH 1/2] Documentation: arm: early_ioremap

2013-06-29 Thread Rob Landley
, but nothing about how to use it. Do these mappings persist if you don't unmap them, or does paging_init() clear them? Oh well: Acked-by: Rob Landley r...@landley.net Rob-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/4] Documentation: arm: [U]EFI runtime services

2013-06-29 Thread Rob Landley
, but it's a touch newbie-unfriendly. I tend to prefer documentation that's aimed at people who _don't_ already know whatever it is. Personal idiosyncrasy.) Acked-by: Rob Landley r...@landley.net Rob-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] proc: Document that /proc/pid/task/tid/children really is per-thread

2013-07-01 Thread Rob Landley
On 06/26/2013 04:05:01 PM, Andy Lutomirski wrote: I was surprised to discover that a process can have a parent that isn't a thread group leader. (The usual ppid interfaces hide this, but the children list exposes it.) Signed-off-by: Andy Lutomirski l...@amacapital.net Cc: Cyrill Gorcunov

Re: [PATCH] nbd: correct disconnect behavior

2013-07-02 Thread Rob Landley
On 06/26/2013 06:21:07 PM, Andrew Morton wrote: On Wed, 19 Jun 2013 17:09:18 -0400 (EDT) Paul Clements paul.cleme...@steeleye.com wrote: Currently, when a disconnect is requested by the user (via NBD_DISCONNECT ioctl) the return from NBD_DO_IT is undefined (it is usually one of several

Re: [PATCH] use initmpfs even if there's root= cmdline

2013-12-22 Thread Rob Landley
On 12/18/13 20:35, Dave Young wrote: On Wed, Dec 18, 2013 at 11:51:30AM -0600, Rob Landley wrote: On 12/12/13 20:38, Dave Young wrote: On 12/12/13 at 05:25pm, Dave Young wrote: Current code use ramfs instead of tmpfs for stub when root= defined. But for real use case with initramfs

Re: make oldnoconfig fix?

2013-12-22 Thread Rob Landley
On 12/05/13 18:10, David Cohen wrote: On 12/02/2013 06:58 PM, Rob Landley wrote: On 11/11/2013 12:55:37 PM, David Cohen wrote: On 11/11/2013 10:13 AM, Yann E. MORIN wrote: David, All, Hi Yann, On 2013-11-11 10:11 -0800, David Cohen spake thusly: Is there a plan to fix 'make oldnoconfig

Question about /proc/uptime

2013-12-25 Thread Rob Landley
There are two values here, the first is seconds since boot time (which is just elapsed time; at one point it was ajusted for suspend and that was revered as confusing). The second value isn't documented but looking at fs/proc/uptime.c I think it's idle time? Except, if yo uadd up the idle

Re: Documentation for init

2014-08-26 Thread Rob Landley
On Tue, Aug 26, 2014 at 7:34 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: On 2014-08-26 01:48, Shea Levy wrote: Hi all, Is there any official documentation of the init process? I'm specifically interested in the process state at kernel handoff (argv, envp, open fds, etc.) as well as

Re: OT: Open letter to the Linux World

2014-08-16 Thread Rob Landley
On Fri, Aug 15, 2014 at 3:59 AM, Vlad Glagolev stea...@tiberian.ru wrote: Now what do we see? Complete degradation of Linux-like ecosystem. I'm Nah, lots of embedded guys value simplicity and a modular design where you can swap actually out parts. Check out the musl-libc.org mailing list for

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-15 Thread Rob Landley
On 10/14/14 16:00, Andrew Morton wrote: On Wed, 1 Oct 2014 11:13:14 -0700 Andy Lutomirski l...@amacapital.net wrote: On Wed, Oct 1, 2014 at 11:05 AM, j...@joshtriplett.org wrote: On Tue, Sep 30, 2014 at 09:53:56PM -0700, Andy Lutomirski wrote: I significantly prefer default N. Scripts that

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 17:04, Andy Lutomirski wrote: --- a/init/main.c +++ b/init/main.c @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) ret = run_init_process(execute_command); if (!ret) return 0; -#ifndef CONFIG_INIT_FALLBACK

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 23:02, Andy Lutomirski wrote: On Mon, Oct 20, 2014 at 8:45 PM, Rob Landley r...@landley.net wrote: On 10/20/14 17:04, Andy Lutomirski wrote: --- a/init/main.c +++ b/init/main.c @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) ret = run_init_process

Re: OT: Open letter to the Linux World

2014-09-04 Thread Rob Landley
On Thu, Sep 4, 2014 at 1:33 PM, Alexander Holler hol...@ahsoftware.de wrote: Hmm, a sane and maintainable solution would use C++ with which people don't have to manually build lists or hashes for every structure like in the kernel (generic programming done right). So you won't find much kernel

Re: Documentation for init

2014-08-28 Thread Rob Landley
On Thu, Aug 28, 2014 at 6:37 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: On 2014-08-26 18:00, Rob Landley wrote: * Doesn't have a session ID until it calls setsid() (not certain about this one) News to me. I think now (after reading the rest of your e-mail) that I am wrong about

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Rob Landley
On 10/07/14 00:28, Guenter Roeck wrote: Devicetree bindings are supposed to be operating system independent and should thus not describe how a specific functionality is implemented in Linux. So your argument is that linux/Documentation/devicetree/bindings should not be specific to Linux.

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Rob Landley
On 10/07/14 11:59, David Daney wrote: On 10/07/2014 09:31 AM, Guenter Roeck wrote: On Tue, Oct 07, 2014 at 11:21:11AM -0500, Rob Landley wrote: On 10/07/14 00:28, Guenter Roeck wrote: Devicetree bindings are supposed to be operating system independent and should thus not describe how

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Rob Landley
On 10/08/14 14:23, Eric W. Biederman wrote: Could we have an extra rootfs-like fs that is always completely empty, doesn't allow any writes, and can sit at the bottom of container namespace hierarchies? If so, and if we add a new syscall that's like pivot_root (or unshare) but prunes the

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Rob Landley
On 10/08/14 14:31, Andy Lutomirski wrote: On Wed, Oct 8, 2014 at 12:23 PM, Eric W. Biederman ebied...@xmission.com wrote: Andy Lutomirski l...@amacapital.net writes: Maybe we want to say that rootfs should not be used if we are going to create containers... Today it is an assumption of the

Re: [PATCH v5] init: Disable defaults if init= fails

2014-09-30 Thread Rob Landley
On 09/30/14 19:41, Frank Rowand wrote: The earliest mention I find of this on lkml is v4. Was there earlier discussion of this elsewhere? (Just so I have a clue as to the full context and don't repeat previous discussion.) The mention of names in the change logs tells me I should be able to

Re: [PATCH v5] init: Disable defaults if init= fails

2014-09-30 Thread Rob Landley
On 09/30/14 20:52, Frank Rowand wrote: On 9/30/2014 5:58 PM, Rob Landley wrote: If you're going to argue that it should default y, that's a defensible choice. But please don't argue for kernel config symbols with a negative meaning or we'll start having allyesconfig_n brain damage too

Re: [patch v2] Documentation/SubmittingPatches: Reported-by tags and permission

2014-10-29 Thread Rob Landley
On 10/29/14 05:01, Dan Carpenter wrote: The reported-by text says you have to ask for permission, but that should only be if the bug was reported in private. These days the standard is to always give reported-by credit or it's considered a bit rude. Signed-off-by: Dan Carpenter

Re: bit fields data tearing

2014-09-10 Thread Rob Landley
On Wed, Sep 10, 2014 at 3:18 PM, H. Peter Anvin h...@zytor.com wrote: On 09/08/2014 10:52 AM, One Thousand Gnomes wrote: I think the whole removing Alpha EV5 support is basically bonkers. Just use set_bit in the tty layer. Alpha will continue to work as well as it always has done and you

Re: [PATCH v3] init: Add strictinit to disable init= fallbacks

2014-09-26 Thread Rob Landley
On Fri, Sep 26, 2014 at 2:23 PM, Chuck Ebbert cebbert.l...@gmail.com wrote: On Fri, 26 Sep 2014 12:13:57 -0700 Andy Lutomirski l...@amacapital.net wrote: If a user puts init=/whatever on the command line and /whatever can't be run, then the kernel will try a few default options before giving

Re: [Linux-ima-user] Initramfs and IMA Appraisal

2014-12-29 Thread Rob Landley
{ err = init_ramfs_fs(); } [CC'ing Rob Landley, lsm, lkml] Thanks! saved_root_name is set to the boot command line root= option, which in my case is the UUID. I'm not sure why real root should impact the initramfs tmpfs/ramfs decision. Unless there is a good explanation, did you

Re: [Linux-ima-user] Initramfs and IMA Appraisal

2014-12-29 Thread Rob Landley
On 12/29/2014 03:46 PM, Mimi Zohar wrote: On Mon, 2014-12-29 at 14:34 -0600, Rob Landley wrote: On 12/29/2014 07:45 AM, Mimi Zohar wrote: On Thu, 2014-11-27 at 10:15 +0100, Christophe Fillot wrote: Are you using an initrd not an initramfs? According to Documentation/filesystems/ramfs

Re: [Linux-ima-user] Initramfs and IMA Appraisal

2014-12-29 Thread Rob Landley
On 12/29/2014 09:20 PM, Mimi Zohar wrote: On Mon, 2014-12-29 at 19:55 -0600, Rob Landley wrote: Thanks Rob for the explanation. The problem is that ramfs does not support extended attributes, while tmpfs does. If you're _using_ initramfs/initmpfs, there's no reason to specify a root

Re: broken links on https://www.kernel.org/doc/

2014-11-29 Thread Rob Landley
On 11/29/14 16:27, Matt Parker wrote: Howdy Rob, I was following the links in Videos worth watching and found that the links for the videos on video.google.com http://video.google.com are broken, but I could find them on youtube. Yeah, I know. Updated links have been on

Re: [PATCH v2 2/3] fpga manager: framework core

2014-12-08 Thread Rob Landley
On 12/08/2014 11:50 AM, Grant Likely wrote: On Sat, 6 Dec 2014 14:55:33 +0100 , Pavel Machek pa...@denx.de wrote: Hi! I am accustomed to doing 'echo -n' for most of sysfs anyway. Once in a while I am a bonehead and forget the '-n' and spend a few minutes wondering why this thing that

Re: [PATCH] out out damn perl

2015-01-17 Thread Rob Landley
On 01/17/2015 02:01 AM, Pavel Machek wrote: On Tue 2015-01-06 15:50:24, Andrew Morton wrote: On Tue, 06 Jan 2015 17:41:35 -0600 Rob Landley r...@landley.net wrote: Commit e6023367d779 added perl back to the kernel build in -rc6. Replace 39 lines of perl with 4 lines of shell script

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-02-17 Thread Rob Landley
On 02/15/2015 04:40 PM, Pavel Machek wrote: On Wed 2015-01-21 13:27:00, Jason Gunthorpe wrote: On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: My point is that the current firmware layer is overly cautious and FPGAs are very big. My current project on small Xilinx device

Re: [PATCH] out out damn perl

2015-01-12 Thread Rob Landley
On 01/12/2015 09:27 AM, Richard Weinberger wrote: On Mon, Jan 12, 2015 at 4:16 PM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: From: Rob Landley r...@landley.net Commit e6023367d779 added perl back to the kernel build

[PATCH] Build superh without CONFIG_EXPERT.

2015-01-12 Thread Rob Landley
From: Rob Landley r...@landley.net What sh4 actually wants is HAVE_PATA_PLATFORM, so select that instead. Signed-off-by: Rob Landley r...@landley.net Acked-by: Randy Dunlap rdun...@infradead.org Acked-by: Geert Uytterhoeven geert+rene...@glider.be --- arch/sh/Kconfig |2 +- 1 file changed

[PATCH] out out damn perl

2015-01-06 Thread Rob Landley
From: Rob Landley r...@landley.net Commit e6023367d779 added perl back to the kernel build in -rc6. Replace 39 lines of perl with 4 lines of shell script. Signed-off-by: Rob Landley r...@landley.net --- arch/x86/boot/compressed/Makefile |6 ++-- arch/x86/tools/calc_run_size.pl | 39

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-13 Thread Rob Landley
On 01/13/2015 09:23 PM, Mimi Zohar wrote: On Tue, 2015-01-13 at 15:42 -0600, Rob Landley wrote: 4 bytes enough? Eh, as long as we're breaking compatibility anyway, we might as well extend the file size. It's gzipped so the extra run of consecutive zeroes isn't really an issue

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-13 Thread Rob Landley
On 01/08/2015 04:08 PM, Mimi Zohar wrote: On Thu, 2015-01-08 at 12:19 -0600, Rob Landley wrote: But I am curious about how you propose to encode xattrs into the cpio format. (Which Al Viro chose because it's _simple_. There isn't really a controlling spec since Posix decided to deprecated

Re: [PATCH] x86, build: replace Perl script with Shell script

2015-01-12 Thread Rob Landley
On 01/12/2015 08:17 PM, Kees Cook wrote: Commit e6023367d779 (x86, kaslr: Prevent .bss from overlaping initrd) added Perl to the required build environment. This reimplements in shell the Perl script used to find the size of the kernel with bss and brk added. Reported-by: Rob Landley r

[PATCHv2] remove recently added perl build requirement

2015-01-12 Thread Rob Landley
From: Rob Landley r...@landley.net Commit e6023367d779 (x86, kaslr: Prevent .bss from overlaping initrd) added perl back to the kernel build dependencies in -rc6. Replace those 39 lines of perl with 4 lines of shell script. Signed-off-by: Rob Landley r...@landley.net Acked-by: Anca Emanuel

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-08 Thread Rob Landley
using dracut/systemd is currently not using tmpfs, as specifying root= on the boot command line reverts to using ramfs. Rob Landley suggested userspace apps use ROOT= instead. (http://sourceforge.net/p/linux-ima/mailman/message/33189705/) I'm working on a documentation update, but the old docs I

Re: Missing videos on kernel.org/doc

2015-03-27 Thread Rob Landley
On 03/22/2015 06:42 AM, Wojciech Bober wrote: Hi Rob, A few links give 404. The videos seem to be moved to youtube. Somebody really needs to do an updated version of http://www.slate.com/articles/technology/map_of_the_week/2013/03/google_reader_joins_graveyard_of_dead_google_products.html

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-13 Thread Rob Landley
On 01/13/2015 02:20 PM, Mimi Zohar wrote: On Tue, 2015-01-13 at 12:48 -0600, Rob Landley wrote: I note that there are two data formats of interest here: 1) the cpio file layout. 2) the list of files generated by gen_initramfs_list.sh and consumed by gen_init_cpio. The fact you're

Re: [PATCHSET] printk, netconsole: implement reliable netconsole

2015-04-19 Thread Rob Landley
On Thu, Apr 16, 2015 at 6:03 PM, Tejun Heo t...@kernel.org wrote: In a lot of configurations, netconsole is a useful way to collect system logs; however, all netconsole does is simply emitting UDP packets for the raw messages and there's no way for the receiver to find out whether the packets

Re: [Celinux-dev] Invitation and RFC: Linux Plumbers Device Tree track proposed

2015-05-01 Thread Rob Landley
On 04/11/2015 02:20 PM, Rowand, Frank wrote: In recent years there have been proposed tools to aid in the creation of valid device trees and in debugging device tree issues. An example of this is the various approaches proposed (with source code provided) to validate device tree source

Re: Userspace Block Device

2015-05-18 Thread Rob Landley
On Mon, May 18, 2015 at 2:01 PM, Bill Speirs bill.spe...@gmail.com wrote: My goal is to provide Amazon S3 or Google Cloud Storage as a block device. I would like to leverage the libraries that exist for both systems by servicing requests via a user space program. I found 2 LKML threads that

Re: [PATCH 1/3 V2] time: move timeconst.h into include/generated

2015-04-12 Thread Rob Landley
On Sun, Apr 12, 2015 at 7:13 AM, Nicholas Mc Guire hof...@osadl.org wrote: kernel/time/timeconst.h is moved to include/generated/ and generated in an early build stage by top level Kbuild. This allows using timeconst.h in an earlier stage of the build. Signed-off-by: Nicholas Mc Guire

Re: [Celinux-dev] Invitation and RFC: Linux Plumbers Device Tree track proposed

2015-04-11 Thread Rob Landley
On Sat, Apr 11, 2015 at 2:20 PM, Rowand, Frank frank.row...@sonymobile.com wrote: In recent years there have been proposed tools to aid in the creation of valid device trees and in debugging device tree issues. An example of this is the various approaches proposed (with source code provided)

Re: OT: Open letter to the Linux World

2015-04-10 Thread Rob Landley
On Fri, Apr 10, 2015 at 4:20 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Wed, Apr 08, 2015 at 07:37:15PM -0500, Rob Landley wrote: Heck, the FSF's entire It's GNU Linux, Dammit! Call it by its proper name: GNU/Linux/dammit campaign is seriously irritating, and part of what I

Re: OT: Open letter to the Linux World

2015-04-08 Thread Rob Landley
On Wed, Apr 8, 2015 at 8:12 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Tue, Aug 12, 2014 at 9:38 PM, Christopher Barry christopher.r.ba...@gmail.com wrote: So why would very smart people who love and use Linux want to create or embrace such a creepy 'Master of All' daemon?

Re: [PATCH 1/3] kernel: Add a new config option to remove command line parsing

2015-05-20 Thread Rob Landley
On Mon, May 18, 2015 at 6:50 AM, Iulia Manda iulia.mand...@gmail.com wrote: This patch introduces CONFIG_CMDLINE_PARSE option which conditionally compiles the support for parsing kernel command line arguments. The corresponding functions that actually do the parsing will be compiled out. Could

Re: [PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-19 Thread Rob Landley
[Trimmed greg at what I'm interpreting as his request.] On 06/18/2015 02:36 PM, Geert Uytterhoeven wrote: Hi Rob, On Thu, Jun 18, 2015 at 7:19 PM, Rob Landley r...@landley.net wrote: Changes to existing files to add 0pf j2 board support. Thanks for your patch! Like Greg already said

Re: [PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-19 Thread Rob Landley
On 06/18/2015 12:59 PM, Greg Kroah-Hartman wrote: On Thu, Jun 18, 2015 at 10:19:19AM -0700, Rob Landley wrote: Changes to existing files to add 0pf j2 board support. That's the second worse commit message and subject: line I've read today. And there's no signed off by line. My bad. I've

[PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-18 Thread Rob Landley
Changes to existing files to add 0pf j2 board support. diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 50057fe..c121a92 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -66,7 +66,7 @@ config SUPERH32 select HAVE_MIXED_BREAKPOINTS_REGS select PERF_EVENTS select

[PATCH 1/2] New files for 0PF FPGA board.

2015-06-18 Thread Rob Landley
New files for Open Processor Foundation j2 (superh sh2 compatible open hardware) FPGA board, with enough drivers to boot initramfs to a shell prompt on serial console. See http://0pf.org for details. --- /dev/null 2015-06-06 04:15:40.702718005 -0500 +++ linux/arch/sh/boards/board-0pf.c

[PATCH 0/2] 0pf-j2 (sh2-compatible open hardware) FPGA board support.

2015-06-18 Thread Rob Landley
Basic board support for the open processor foundation j2, an sh2-compatible open processor (built from BSD licesed VHDL) described in our Linuxcon Japan presentation a couple weeks back, which was covered by Linux Weekly News at https://lwn.net/Articles/647636/ and our slides are at

Re: [PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-20 Thread Rob Landley
On 06/20/2015 03:00 AM, Geert Uytterhoeven wrote: Hi Rob, On Sat, Jun 20, 2015 at 12:11 AM, Rob Landley r...@landley.net wrote: On 06/18/2015 02:36 PM, Geert Uytterhoeven wrote: On Thu, Jun 18, 2015 at 7:19 PM, Rob Landley r...@landley.net wrote: Changes to existing files to add 0pf j2

GPT maintainer is bouncing.

2015-06-20 Thread Rob Landley
GUID PARTITION TABLE (GPT) M: Davidlohr Bueso davidl...@hp.com L: linux-...@vger.kernel.org S: Maintained F: block/partitions/efi.* Delivery to the following recipient failed permanently: davidl...@hp.com Technical details of permanent failure: tried to deliver your

Re: [PATCH] sh: Wire up missing syscalls

2015-06-20 Thread Rob Landley
: warning: #warning syscall bpf not implemented [-Wcpp] stdin:1250:2: warning: #warning syscall execveat not implemented [-Wcpp] Signed-off-by: Chen Gang gang.chen.5...@gmail.com Acked-by: Rob Landley r...@landley.net I.E. I tried it and it worked for me on sh2 and sh4. Rob -- To unsubscribe

Re: [PATCH 2/2] Changes to existing files for 0PF FPGA board.

2015-06-26 Thread Rob Landley
On 06/19/2015 05:49 PM, Greg Kroah-Hartman wrote: On Fri, Jun 19, 2015 at 04:57:00PM -0500, Rob Landley wrote: On 06/18/2015 12:59 PM, Greg Kroah-Hartman wrote: On Thu, Jun 18, 2015 at 10:19:19AM -0700, Rob Landley wrote: Changes to existing files to add 0pf j2 board support. That's

Re: [PATCH] Documentation: extend use case for EXPORT_SYMBOL_GPL()

2015-05-28 Thread Rob Landley
On Thu, May 28, 2015 at 1:56 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: From: Luis R. Rodriguez mcg...@suse.com Current documentation over use case for EXPORT_SYMBOL_GPL() only acknowledges functions which are an internal implementation issue, and not really an interface. I.E. a

Re: Device Tree Blob (DTB) licence

2015-05-28 Thread Rob Landley
2015-05-28 7:32 GMT-05:00 Enrico Weigelt, metux IT consult weig...@melag.de: Am 25.05.2015 um 09:14 schrieb Rob Landley: Personally, I'm sad we're starting to get ACPI for arm but if device tree data files are only available under GPL, people will hold their nose and deploy ACPI. What's

Re: Kconfiglib -- a flexible Kconfig parser -- now on GitHub

2015-06-01 Thread Rob Landley
On Mon, Jun 1, 2015 at 6:58 PM, Ulf Magnusson ulfalizer.l...@gmail.com wrote: Hello, A few years ago I posted patches for a Python Kconfig parser and library I was working on (https://lkml.org/lkml/2011/2/6/151). As not many people are probably aware of it, an updated version of that library

Re: [PATCH 00/15] MIPS Malta DT Conversion

2015-05-25 Thread Rob Landley
On Fri, May 22, 2015 at 10:50 AM, Paul Burton paul.bur...@imgtec.com wrote: This series begins converting the MIPS Malta board to use device tree, which is done with a few goals in mind: - To modernise the Malta board support, providing a cleaner example to people referencing it when

Re: Device Tree Blob (DTB) licence

2015-05-25 Thread Rob Landley
On Fri, May 22, 2015 at 2:27 PM, Yann Droneaud ydrone...@opteya.com wrote: I've added licens...@fsf.ogrg in Cc: in my previous message to have an advice on this subject, but I failed to notice licens...@fsf.org is not a mailing list: I was assigned request ID [gnu.org #1017262]. Regards.

Re: [PATCH v2] arch/sh: provide unified syscall trap compatible with all SH models

2015-09-14 Thread Rob Landley
On 08/25/2015 04:23 PM, Rich Felker wrote: > From: Rich Felker > > Historically SH-2 Linux (and originally uClinux) used a syscall > calling convention incompatible with the established SH-3/4 Linux ABI. > This choice was made because the trap range used by the existing ABI, >

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Rob Landley
On 01/06/2016 08:32 AM, Peter Zijlstra wrote: > On Wed, Jan 06, 2016 at 01:52:17PM +0200, Michael S. Tsirkin wrote: > SH's cmpxchg() is equally incomplete and does not provide 1 and 2 byte > versions. We added a new cmpxchg() in j-core (smp on sh2 was not previously a thing), but still need to

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Rob Landley
On 01/06/2016 10:57 AM, Peter Zijlstra wrote: > On Wed, Jan 06, 2016 at 09:42:35AM -0600, Rob Landley wrote: >> (I would have thought the presence of working QEMU support would tide us >> over providing an easy basic regression testing environment, but people >> keep insi

Re: [PATCH] Fix NFS option parsing bit-rot.

2016-06-08 Thread Rob Landley
On 06/06/2016 06:49 PM, Trond Myklebust wrote: > On 6/6/16, 18:58, "Rob Landley" <r...@landley.net> wrote: > >>From: Rob Landley <r...@landley.net> >> >>The kernel has string parsing code for NFS mount options, but it seems >>to have bit-rotted

Re: [PATCH] Fix NFS option parsing bit-rot.

2016-06-08 Thread Rob Landley
On 06/08/2016 03:35 PM, Trond Myklebust wrote: > > > On 6/8/16, 15:41, "Rob Landley" <r...@landley.net> wrote: >>So addr= is at _best_ redundant. You MUST supply host:/ always, >>the current code just wasn't using it. > > That’s because you just h

[PATCH] Fix NFS option parsing bit-rot.

2016-06-06 Thread Rob Landley
From: Rob Landley <r...@landley.net> The kernel has string parsing code for NFS mount options, but it seems to have bit-rotted over the years, so toybox mount needs the following patch to be able to mount nfs. Without it, the kernel returns "invalid argument" before sending any

Re: [PATCH v3 02/12] of: add J-Core cpu bindings

2016-05-26 Thread Rob Landley
On 05/25/2016 06:04 PM, Rich Felker wrote: > On Wed, May 25, 2016 at 11:22:15AM +0100, Mark Rutland wrote: >> * What state should the CPU be in when it branches to the provided >> address? >> - Must the MMU be off? > > Current models are nommu. As far as I know, we're the first nommu SMP

[PATCH] Make CONFIG_DEVTMPFS_MOUNT apply to initramfs/initmpfs.

2016-06-22 Thread Rob Landley
From: Rob Landley <r...@landley.net> Make CONFIG_DEVTMPFS_MOUNT apply to initramfs/initmpfs. Update help text, slightly improve error reporting, move /dev/console open down after devtmpfs mount, don't check IS_ENABLED(CONFIG_TMPFS) before mounting devtmpfs (it's always there, even i

scripts/ld-version.sh doesn't work, breaking mips build with older toolchain.

2016-02-22 Thread Rob Landley
The 4.4 kernel no longer builds for me on mips, ala: /tmp/ccXLGh3W.s: Assembler messages: /tmp/ccXLGh3W.s:44: Error: can't resolve `_start' {*UND* section} - `L0' {.text section} /tmp/ccXLGh3W.s:1217: Error: can't resolve `_start' {*UND* section} - `L0' {.text section} make[2]: ***

[PATCH] Remove v850 from linux/elf-em.h

2016-03-15 Thread Rob Landley
From: Rob Landley <r...@landley.net> The v850 port was removed by commits f606ddf42fd4 and 07a887d399b8 in 2008. These #defines are not used in the current kernel. Signed-off-by: Rob Landley <r...@landley.net> --- include/uapi/linux/elf-em.h |3 --- 1 file changed, 3 deleti

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-16 Thread Rob Landley
On 03/15/2016 06:22 PM, David Daney wrote: > On 03/15/2016 02:10 PM, Rob Landley wrote: >> From: Rob Landley <r...@landley.net> >> >> The v850 port was removed by commits f606ddf42fd4 and 07a887d399b8 in >> 2008. >> These #defines are not used in the c

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-18 Thread Rob Landley
On 03/18/2016 12:46 PM, David Daney wrote: > I am not going to comment on it any more, but [commenting more] Yes you are. (And did then too.) > On 03/17/2016 07:32 PM, Rob Landley wrote: > [...] >> >> As I explained last email, userspace uses the libc header, no

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-19 Thread Rob Landley
On 03/17/2016 05:09 PM, David Daney wrote: > On 03/16/2016 12:11 AM, Rob Landley wrote: >> On 03/15/2016 06:22 PM, David Daney wrote: >>> Can you do this to userspace visible files? >> >> Commit 6f6f467eaaa0 did and nobody seemed to mind? > > Evidence of

Re: [PATCH v2 09/12] clocksource: add J-Core PIT/RTC driver

2016-05-21 Thread Rob Landley
On 05/20/2016 10:15 PM, Rich Felker wrote: > On Fri, May 20, 2016 at 04:01:56PM +0200, Daniel Lezcano wrote: >>> + return ((u64)sechi << 32 | seclo) * 10 + nsec; >> >> s/10/NSEC_PER_SEC/ ... >>> + hwirq = irq_get_irq_data(pit_irq)->hwirq; >>> + enable_val = (1<<26) |

Re: [PATCH v2 02/12] of: add J-Core cpu bindings

2016-05-24 Thread Rob Landley
On 05/23/2016 06:29 PM, Rob Herring wrote: > On Mon, May 23, 2016 at 4:03 PM, Rich Felker wrote: >> On Mon, May 23, 2016 at 03:48:46PM -0500, Rob Herring wrote: >>> On Fri, May 20, 2016 at 02:53:03AM +, Rich Felker wrote: Signed-off-by: Rich Felker

Re: Please don't replace numeric parameter like 0444 with macro

2016-08-02 Thread Rob Landley
On 08/02/2016 03:58 PM, Linus Torvalds wrote: > [ So I answered similarly to another patch, but I'll just re-iterate > and change the subject line so that it stands out a bit from the > millions of actual patches ] > > On Tue, Aug 2, 2016 at 1:42 PM, Pavel Machek wrote: >> >>

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-08-02 Thread Rob Landley
On 08/01/2016 08:45 PM, Rich Felker wrote: > Yes. 50 MHz is the natural default frequency, but I found out at the > last minute from the hardware engineers that clocking the current SoC > up to 62.5 MHz (for faster cpu) will require the SPI timing to be > programmed based on the faster reference

Re: [PATCH] sh: Fix building j2_defconfig

2016-08-16 Thread Rob Landley
On 08/16/2016 10:41 AM, Jason Cooper wrote: > When targeting the j2, we need to retain '-m2'. Previously, the > Makefile blew out -m2 on the next line via :=. > > Fix this by s/:=/+=/ when building for the J2. > > Fixes: 5a846abad07f6 ("sh: add support for J-Core J2 processor") > Signed-off-by:

Re: [PATCH] sh: Fix building j2_defconfig

2016-08-19 Thread Rob Landley
On 08/16/2016 04:23 PM, Jason Cooper wrote: > Hi Rob, > > On Tue, Aug 16, 2016 at 04:15:22PM -0500, Rob Landley wrote: >> On 08/16/2016 10:41 AM, Jason Cooper wrote: >>> When targeting the j2, we need to retain '-m2'. Previously, the >>> Makefile blew out -m2 on

Re: [RFC] fs: add userspace critical mounts event support

2016-09-13 Thread Rob Landley
On 09/02/2016 07:20 PM, Luis R. Rodriguez wrote: > kernel_read_file_from_path() can try to read a file from > the system's filesystem. This is typically done for firmware > for instance, which lives in /lib/firmware. One issue with > this is that the kernel cannot know for sure when the real >

Re: Runtime failure running sh:qemu in -next due to 'sh: fix copy_from_user()'

2016-09-17 Thread Rob Landley
On 09/16/2016 09:23 PM, Guenter Roeck wrote: > On 09/16/2016 04:32 PM, Rich Felker wrote: >>> 4.6.3 from kernel.org. >> >> That is utterly ancient and probaby very buggy. I would recommend 5.x+ >> or at the very least 4.7 or 4.8. >> > Unfortunately that is the latest one available from

Re: Runtime failure running sh:qemu in -next due to 'sh: fix copy_from_user()'

2016-09-28 Thread Rob Landley
On 09/18/2016 10:17 AM, Rich Felker wrote: > On Sat, Sep 17, 2016 at 11:40:28PM -0500, Rob Landley wrote: >> >> >> On 09/16/2016 09:23 PM, Guenter Roeck wrote: >>> On 09/16/2016 04:32 PM, Rich Felker wrote: >>>>> 4.6.3 from kernel.org. >>>&g

<    3   4   5   6   7   8   9   10   11   12   >