Re: ppc/sata-fsl: orphan config value: CONFIG_MPC8315_DS

2013-08-24 Thread Anthony Foiani
Scott Wood writes: > On Fri, 2013-08-23 at 17:41 -0600, Anthony Foiani wrote: > > In my original patch [...] I used "fsl,sata-max-gen". I thought > > Jeff disliked it, so I changed it be more generic -- but maybe I > > misread his complaint. (And while his opinions are still > > respected, new

Re: Detecting LD/ST instruction

2013-08-24 Thread Sukadev Bhattiprolu
Michael Neuling [mi...@neuling.org] wrote: | > I am working on implementing the 'perf mem' command for Power | > systems. This would for instance, let us know where in the memory | > hierarchy (L1, L2, Local RAM etc) the data for a load/store | > instruction was found (hit). | > | > On Power7, if

Re: [PATCH V3] i2c: move of helpers into the core

2013-08-24 Thread Mauro Carvalho Chehab
Em Thu, 22 Aug 2013 18:00:14 +0200 Wolfram Sang escreveu: > I2C of helpers used to live in of_i2c.c but experience (from SPI) shows > that it is much cleaner to have this in the core. This also removes a > circular dependency between the helpers and the core, and so we can > finally register chil

Loading kernel on MPC86x

2013-08-24 Thread Martin Hinner
Hi, I am trying to load kernel 2.6.39 on MPC86x-based Cisco 8xx router (I need development platform for another embedded project and this router was first suitable device I have). So far I have: - built crosscompiler - created simple bootloader based on CILO code that can load ELF (zImage) int

Re: Loading kernel on MPC86x

2013-08-24 Thread Martin Hinner
Hello again, just a quick update: I have spent some more time on this and now I can boot into kernel (it works even with initramfs and simple assembly HelloWorld, so it's time to compile userland now). The problem was that kernel must be at location 0. Another problem was that interrupts got re-

[PATCH 0/2] kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-24 Thread Yann Droneaud
Hi, Following a patchset asking to change calls to get_unused_flag() [1] to use O_CLOEXEC, Alex Williamson [2][3] decided to change VFIO to use the flag. Since it's a related subsystem to KVM, using O_CLOEXEC for file descriptors created by KVM might be applicable too. I'm suggesting to change c

[PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-24 Thread Yann Droneaud
KVM uses anon_inode_get() to allocate file descriptors as part of some of its ioctls. But those ioctls are lacking a flag argument allowing userspace to choose options for the newly opened file descriptor. In such case it's advised to use O_CLOEXEC by default so that userspace is allowed to choose

Re: [PATCH V3] mmc:of_spi: Update the code of getting voltage-ranges

2013-08-24 Thread Chris Ball
Hi Haijun, On Sun, Aug 11 2013, Haijun Zhang wrote: > Using function mmc_of_parse_voltage() to get voltage-ranges. > > Signed-off-by: Haijun Zhang The patchset contains patches 1-3 of 3, and also this unnumbered patch v3. Which order should I use to apply this patch? Thanks, - Chris. -- Chri