Re: [PATCH] powerpc/eeh: sysfs entries lost

2014-06-26 Thread Gavin Shan
On Thu, Jun 26, 2014 at 02:58:47AM -0400, Mike Qiu wrote: >The sysfs entries are lost because of commit 2213fb1 ("powerpc/eeh: >Skip eeh sysfs when eeh is disabled"). That commit added condition >to create sysfs entries with EEH_ENABLED, which isn't populated >when trying to create sysfs entries on

Re: [PATCH 1/1] selftests/powerpc: fix TARGETS in powerpc selftests makefile

2014-06-26 Thread Michael Ellerman
On Wed, 2014-06-25 at 15:18 +1000, Sam Bobroff wrote: > This patch changes the name of a make variable (TARGETS) to prevent it > from colliding with a value set by the user on the command line (as > they are recommended to do by tools/testing/selftests/README.txt). > > Before this patch, "make -C

Re: powerpc: crash with 3.16.0-rc2

2014-06-26 Thread Michael Ellerman
On Thu, 2014-06-26 at 08:53 +0200, Cedric Le Goater wrote: > Hi Suka, > > On 06/26/2014 08:10 AM, Sukadev Bhattiprolu wrote: > > I got the following crash in Open Firmware, on two separate systems > > with recent mainline kernel (3.16.0-rc2). One was a P8 LPAR with no > > changes to kernel and ano

Re: [PATCH v2 2/2] powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test

2014-06-26 Thread Michael Ellerman
On Wed, 2014-06-25 at 21:34 +0400, Denis Kirjanov wrote: > We have to return the boolean here if the tag presents > or not, not just ANDing the TCI with the mask which results to: > > [ 709.412097] test_bpf: #18 LD_VLAN_TAG_PRESENT > [ 709.412245] ret 4096 != 1 > [ 709.412332] ret 4096 != 1 > [

Re: [PATCH v2 2/2] powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test

2014-06-26 Thread Daniel Borkmann
On 06/26/2014 10:30 AM, Michael Ellerman wrote: On Wed, 2014-06-25 at 21:34 +0400, Denis Kirjanov wrote: We have to return the boolean here if the tag presents or not, not just ANDing the TCI with the mask which results to: [ 709.412097] test_bpf: #18 LD_VLAN_TAG_PRESENT [ 709.412245] ret 409

[PATCH] perf/powerpc: reset event hw state when adding it to the PMU

2014-06-26 Thread Alexandru-Cezar Sardan
When adding an event to the PMU with PERF_EF_START the STOPPED and UPTODATE flags need to be cleared in the hw.event status variable because they are preventing the update of the event count on overflow interrupt. Signed-off-by: Alexandru-Cezar Sardan --- arch/powerpc/perf/core-fsl-emb.c |4

Re: [PATCH 0/3] Prepare for in-kernel VFIO DMA operations acceleration

2014-06-26 Thread Alexander Graf
On 26.06.14 01:59, Alexey Kardashevskiy wrote: On 06/26/2014 07:12 AM, Alexander Graf wrote: On 06.06.14 02:20, Alexey Kardashevskiy wrote: On 06/05/2014 09:57 PM, Alexander Graf wrote: On 05.06.14 09:25, Alexey Kardashevskiy wrote: This reserves 2 capability numbers. This implements an ext

Re: [RFC PATCH v2 6/6] mmc: core: add manual resume capability

2014-06-26 Thread Ulf Hansson
On 26 juni 2014 08:23:32 CEST, Vincent Yang wrote: >This patch adds manual resume for some embedded platforms with rootfs >stored in SD card. It references CONFIG_MMC_BLOCK_DEFERRED_RESUME in >kernel 3.10. It lets host controller driver to manually handle resume >by itself. > >[symptom] >This i

Re: [RFC PATCH v2 4/6] mmc: sdhci: host: add new f_sdh30

2014-06-26 Thread Mark Rutland
On Thu, Jun 26, 2014 at 07:23:30AM +0100, Vincent Yang wrote: > This patch adds new host controller driver for > Fujitsu SDHCI controller f_sdh30. > > Signed-off-by: Vincent Yang > --- > .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 35 +++ > drivers/mmc/host/Kconfig

Re: [PATCH v2 2/2] powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test

2014-06-26 Thread Denis Kirjanov
On 6/26/14, Michael Ellerman wrote: > On Wed, 2014-06-25 at 21:34 +0400, Denis Kirjanov wrote: >> We have to return the boolean here if the tag presents >> or not, not just ANDing the TCI with the mask which results to: >> >> [ 709.412097] test_bpf: #18 LD_VLAN_TAG_PRESENT >> [ 709.412245] ret 4

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-06-26 Thread Sudeep Holla
Hi, On 25/06/14 23:23, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: + coherency_line_size: the minimum amount of data that gets transferred So, what value to do envision this taking for a CPU where the cache line size is 32 bytes

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 07:41:32PM +0100, Sudeep Holla wrote: > Hi, > > On 25/06/14 23:23, Russell King - ARM Linux wrote: >> On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: >>> + coherency_line_size: the minimum amount of data that gets >>> transferred >> >> So, what value

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-06-26 Thread Sudeep Holla
On 26/06/14 19:50, Russell King - ARM Linux wrote: On Thu, Jun 26, 2014 at 07:41:32PM +0100, Sudeep Holla wrote: Hi, On 25/06/14 23:23, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: + coherency_line_size: the minimum amount of da

Re: OF_DYNAMIC node lifecycle

2014-06-26 Thread Nathan Fontenot
On 06/25/2014 03:22 PM, Grant Likely wrote: > On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot > wrote: >> On 06/23/2014 09:58 AM, Grant Likely wrote: >>> On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou >>> wrote: Hi Grant, CCing Thomas Gleixner & Steven Rostedt, since t

Re: OF_DYNAMIC node lifecycle

2014-06-26 Thread Nathan Fontenot
On 06/25/2014 03:24 PM, Grant Likely wrote: > On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot > wrote: >> On 06/23/2014 09:48 AM, Grant Likely wrote: >>> On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot >>> wrote: On 06/18/2014 03:07 PM, Grant Likely wrote: > Hi Nathan and Tyrel

Re: powerpc: crash with 3.16.0-rc2

2014-06-26 Thread Sukadev Bhattiprolu
Michael Ellerman [m...@ellerman.id.au] wrote: | > A patch from Michael Ellerman was just merged : | > | > powerpc/powernv: Remove OPAL v1 takeover | > | > I think it fixes the problem you are seeing. | | Yes it should. It does fix the problem. _

Re: BookE "branch taken" behavior vis-a-vis updating the NIP register

2014-06-26 Thread Sakthi
pegasus, Were you able to achieve the intended behavior with any of the suggested RFC patch? Thanks! pegasus wrote > I re-read the link you posted earlier and this time it made more sense to > me. The kind of questions which are coming into my mind were being > discussed. > > So, off I went an

Re: [RFC PATCH v2 6/6] mmc: core: add manual resume capability

2014-06-26 Thread Vincent Yang
2014-06-26 17:42 GMT+08:00 Ulf Hansson : > > > On 26 juni 2014 08:23:32 CEST, Vincent Yang > wrote: >>This patch adds manual resume for some embedded platforms with rootfs >>stored in SD card. It references CONFIG_MMC_BLOCK_DEFERRED_RESUME in >>kernel 3.10. It lets host controller driver to manua

Re: [RFC PATCH v2 4/6] mmc: sdhci: host: add new f_sdh30

2014-06-26 Thread Vincent Yang
2014-06-26 19:03 GMT+08:00 Mark Rutland : > On Thu, Jun 26, 2014 at 07:23:30AM +0100, Vincent Yang wrote: >> This patch adds new host controller driver for >> Fujitsu SDHCI controller f_sdh30. >> >> Signed-off-by: Vincent Yang >> --- >> .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 35 +++

Re: [PATCH v2 2/2] powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test

2014-06-26 Thread Michael Ellerman
On Thu, 2014-06-26 at 10:36 +0200, Daniel Borkmann wrote: > On 06/26/2014 10:30 AM, Michael Ellerman wrote: > > On Wed, 2014-06-25 at 21:34 +0400, Denis Kirjanov wrote: > >> We have to return the boolean here if the tag presents > >> or not, not just ANDing the TCI with the mask which results to: >