Re: [RFC PATCH v4 11/12] powerpc: Add a Kconfig and a function to set new soft_enabled mask

2016-09-07 Thread Nicholas Piggin
On Mon, 5 Sep 2016 22:48:00 +0530 Madhavan Srinivasan wrote: > On Monday 29 August 2016 07:11 AM, Nicholas Piggin wrote: > > On Mon, 29 Aug 2016 00:07:27 +0530 > > Madhavan Srinivasan wrote: > > > >> New Kconfig is added

Re: [PATCH v2] hwrng: pasemi_rng.c: Migrate to managed API

2016-09-07 Thread Herbert Xu
On Sun, Sep 04, 2016 at 11:43:08PM +0530, PrasannaKumar Muralidharan wrote: > Use devm_ioremap and devm_hwrng_register instead of ioremap and > hwrng_register. This removes unregistering and error handling code. > > Changes in v2: > Remove hardcoded resource size in ioremap, use resource struct

Re: Kexec regression in next-20160906

2016-09-07 Thread Russell King - ARM Linux
On Tue, Sep 06, 2016 at 08:33:20PM -0300, Thiago Jung Bauermann wrote: > Thanks for reporting the problem and finding the commit that caused it. > The only thing in commit 5c01cdd2d4bc which can affect kexec_load is the > fact that struct kexec_segment has a new member. > > This is probably

[PATCH 3/3] arch/powerpc : Enable optprobes support in powerpc

2016-09-07 Thread Anju T Sudhakar
Mark optprobe 'ok' for powerpc Signed-off-by: Anju T Sudhakar --- Documentation/features/debug/optprobes/arch-support.txt | 2 +- arch/powerpc/Kconfig| 1 + arch/powerpc/kernel/Makefile| 1 + 3 files

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-09-07 Thread Alexey Kardashevskiy
On 29/08/16 23:27, David Gibson wrote: > On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey Kardashevskiy wrote: >> On 18/08/16 10:22, Alexey Kardashevskiy wrote: >>> On 17/08/16 13:17, David Gibson wrote: On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: > On Fri, 12 Aug

[PATCH] tty/serial : Add I2C support to Max310x driver (linux-3.8.13)

2016-09-07 Thread MeghanSaitwal
MAX3107/8 chip supports both SPI and I2C protocol. Currently, max310x driver support only SPI protocol. This patch adds I2C support to the driver. With I2C support, we have added bulk read/write functionality which can be enabled using BULK_RW_ENABLE variable. Signed-off-by: Meghan Saitwal

Re: [PATCH v4 3/5] PCI: Do not disable memory decoding in pci_reassigndev_resource_alignment()

2016-09-07 Thread Yongji Xie
On 2016/9/7 0:56, Bjorn Helgaas wrote: On Fri, Aug 12, 2016 at 01:42:24PM +0800, Yongji Xie wrote: We should not disable memory decoding when we reassign alignment in pci_reassigndev_resource_alignment(). It's meaningless and have some side effects. For example, we found it would break this

[PATCH 0/3] OPTPROBES for powerpc

2016-09-07 Thread Anju T Sudhakar
This is the patchset of the kprobes jump optimization (a.k.a OPTPROBES)for powerpc. Kprobe being an inevitable tool for kernel developers, enhancing the performance of kprobe has got much importance. Currently kprobes inserts a trap instruction to probe a running kernel. Jump optimization allows

[PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-09-07 Thread Anju T Sudhakar
Instructions which can be emulated are suppliants for optimization. Before optimization ensure that the address range between the detour buffer allocated and the instruction being probed is within ?? 32MB. Signed-off-by: Anju T Sudhakar ---

Re: [PATCH v4 0/5] kexec_file: Add buffer hand-over for the next kernel

2016-09-07 Thread Eric W. Biederman
Thiago Jung Bauermann writes: > Hello, > > The purpose of this new version of the series is to fix a small issue that > I found, which is that the kernel doesn't remove the memory reservation > for the hand-over buffer it received from the previous kernel in the >

Re: [PATCH v4 0/5] kexec_file: Add buffer hand-over for the next kernel

2016-09-07 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Thiago Jung Bauermann writes: > >> Hello, >> >> The purpose of this new version of the series is to fix a small issue that >> I found, which is that the kernel doesn't remove the memory reservation >> for the

Re: [PATCH v6 0/7] perf: Cross arch annotate + few miscellaneous fixes

2016-09-07 Thread Ravi Bangoria
Hello, Any update on this? -Ravi On Friday 19 August 2016 06:29 PM, Ravi Bangoria wrote: > Currently Perf annotate support code navigation (branches and calls) > only when run on the same architecture where perf.data was recorded. > But, for example, record on powerpc server and annotate on

[PATCH 1/3] arch/powerpc : Add detour buffer support for optprobes

2016-09-07 Thread Anju T Sudhakar
Detour buffer contains instructions to create an in memory pt_regs. After the execution of prehandler a call is made for instruction emulation. The NIP is decided after the probed instruction is executed. Hence a branch instruction is created to the NIP returned by emulate_step(). Instruction

Re: [PATCH 1/6] cxlflash: Scan host only after the port is ready for I/O

2016-09-07 Thread Matthew R. Ochs
> On Sep 2, 2016, at 3:38 PM, Uma Krishnan wrote: > > When a port link is established, the AFU sends a 'link up' interrupt. > After the link is up, corresponding initialization steps are performed > on the card. Following that, when the card is ready for I/O, the AFU

[PATCH] ASoC: constify snd_pcm_ops structures

2016-09-07 Thread Julia Lawall
Check for snd_pcm_ops structures that are only stored in the ops field of a snd_soc_platform_driver structure or passed as the third argument to snd_pcm_set_ops. The corresponding field or parameter is declared const, so snd_pcm_ops structures that have this property can be declared as const

Re: [PATCH] soc: fsl/qe: fix gpio save_regs functions

2016-09-07 Thread Linus Walleij
On Tue, Sep 6, 2016 at 12:52 AM, Christophe Leroy wrote: > of_mm_gpiochip_add_data() calls mm_gc->save_regs() before > setting the data. Therefore ->save_regs() cannot use > gpiochip_get_data() > > An Oops is encountered without this fix. > > fixes: 1e714e54b5ca5

Re: [PATCH 2/6] cxlflash: Remove the device cleanly in the system shutdown path

2016-09-07 Thread Matthew R. Ochs
> On Sep 2, 2016, at 3:39 PM, Uma Krishnan wrote: > > Commit 704c4b0ddc03 ("cxlflash: Shutdown notify support for CXL Flash > cards") was recently introduced to notify the AFU when a system is going > down. Due to the position of the cxlflash driver in the device

Re: [PATCH] powernv: Restore SPRs correctly upon wake up from hypervisor state loss

2016-09-07 Thread Shreyas B. Prabhu
Hi Gautham, Thanks for fixing this. On Wed, Sep 7, 2016 at 1:16 AM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > pnv_wakeup_tb_loss function currently expects the cr4 to be "eq" if > the CPU is waking up from a complete hypervisor

Re: [PATCH] ALSA: squash lines for simple wrapper functions

2016-09-07 Thread Takashi Iwai
On Tue, 06 Sep 2016 13:41:19 +0200, Masahiro Yamada wrote: > > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada Applied, thanks. Takashi > --- > > sound/aoa/fabrics/layout.c | 7 +-- >

[PATCH v2 3/3] powerpc/mm: Speed up computation of base and actual page size for a HPTE

2016-09-07 Thread Paul Mackerras
This replaces a 2-D search through an array with a simple 8-bit table lookup for determining the actual and/or base page size for a HPT entry. The encoding in the second doubleword of the HPTE is designed to encode the actual and base page sizes without using any more bits than would be needed