Re: [RFC 00/11] perf: Enhancing perf to export processor hazard information

2020-03-26 Thread Kim Phillips
On 3/26/20 5:19 AM, maddy wrote: > > > On 3/18/20 11:05 PM, Kim Phillips wrote: >> Hi Maddy, >> >> On 3/17/20 1:50 AM, maddy wrote: >>> On 3/13/20 4:08 AM, Kim Phillips wrote: >>>> On 3/11/20 11:00 AM, Ravi Bangoria wrote: >>>>> O

Re: [RFC 00/11] perf: Enhancing perf to export processor hazard information

2020-03-18 Thread Kim Phillips
Hi Maddy, On 3/17/20 1:50 AM, maddy wrote: > On 3/13/20 4:08 AM, Kim Phillips wrote: >> On 3/11/20 11:00 AM, Ravi Bangoria wrote: >>> On 3/6/20 3:36 AM, Kim Phillips wrote: >>>>> On 3/3/20 3:55 AM, Kim Phillips wrote: >>>>>> On 3/2/20 2:21 PM,

Re: [RFC 00/11] perf: Enhancing perf to export processor hazard information

2020-03-12 Thread Kim Phillips
On 3/11/20 11:00 AM, Ravi Bangoria wrote: > Hi Kim, Hi Ravi, > On 3/6/20 3:36 AM, Kim Phillips wrote: >>> On 3/3/20 3:55 AM, Kim Phillips wrote: >>>> On 3/2/20 2:21 PM, Stephane Eranian wrote: >>>>> On Mon, Mar 2, 2020 at 2:13 AM Peter Zijlstra >&

Re: [RFC 00/11] perf: Enhancing perf to export processor hazard information

2020-03-05 Thread Kim Phillips
On 3/4/20 10:46 PM, Ravi Bangoria wrote: > Hi Kim, Hi Ravi, > On 3/3/20 3:55 AM, Kim Phillips wrote: >> On 3/2/20 2:21 PM, Stephane Eranian wrote: >>> On Mon, Mar 2, 2020 at 2:13 AM Peter Zijlstra wrote: >>>> >>>> On Mon, Mar 02, 2020 at 10:53:

Re: [RFC 00/11] perf: Enhancing perf to export processor hazard information

2020-03-02 Thread Kim Phillips
On 3/2/20 2:21 PM, Stephane Eranian wrote: > On Mon, Mar 2, 2020 at 2:13 AM Peter Zijlstra wrote: >> >> On Mon, Mar 02, 2020 at 10:53:44AM +0530, Ravi Bangoria wrote: >>> Modern processors export such hazard data in Performance >>> Monitoring Unit (PMU) registers. Ex, 'Sampled Instruction Event

Re: [PATCH v7 6/6] perf annotate: cross arch annotate support fixes for ARM

2016-10-10 Thread Kim Phillips
On Mon, 10 Oct 2016 19:16:16 +0530 Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com> wrote: > On Wednesday 05 October 2016 05:04 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 21, 2016 at 09:17:56PM +0530, Ravi Bangoria escreveu: > >> From: Kim Philli

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-22 Thread Kim Phillips
On Thu, 22 Sep 2016 10:48:13 +0530 Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com> wrote: > On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote: > > On Wed, 21 Sep 2016 21:17:50 +0530 > > Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com> wrote: > > > &

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-21 Thread Kim Phillips
On Wed, 21 Sep 2016 21:17:50 +0530 Ravi Bangoria wrote: > Kim, I don't have arm test machine. Can you please help me to test > this on arm. This works for me: hitting return on return instructions yields "Invalid jump offset", but I'll get that later. Thanks,

[PATCH 2/2] arm64: don't select PERF_USE_VMALLOC by default

2016-08-30 Thread Kim Phillips
Any arm64 based parts that have cache aliasing issues can set it manually. Apparently dragged in from ARM(32) defaults in commit 8c2c3df "arm64: Build infrastructure". Signed-off-by: Kim Phillips <kim.phill...@arm.com> Cc: Catalin Marinas <catalin.mari...@arm.com> ---

[PATCH 1/2] perf_event: remove unused DEBUG_PERF_USE_VMALLOC

2016-08-30 Thread Kim Phillips
ot; was trying to do with it either. Signed-off-by: Kim Phillips <kim.phill...@arm.com> Cc: Peter Zijlstra <a.p.zijls...@chello.nl> Cc: Michael Ellerman <m...@ellerman.id.au> --- init/Kconfig | 13 - 1 file changed, 13 deletions(-) diff --git a/init/Kconfig b/init

[PATCH] perf annotate: cross arch annotate support fixes for ARM

2016-08-26 Thread Kim Phillips
For ARM we remove the list that contains non-arm insns, and instead add more maintainable branch instruction regex logic. Signed-off-by: Kim Phillips <kim.phill...@arm.com> Acked-by: Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com> Cc: Namhyung Kim <namhy...@kernel.org> --

Re: [PATCH v6 2/7] perf annotate: Add cross arch annotate support

2016-08-23 Thread Kim Phillips
On Tue, 23 Aug 2016 11:17:16 +0900 Namhyung Kim <namhy...@kernel.org> wrote: > On Tue, Aug 23, 2016 at 8:01 AM, Kim Phillips <kim.phill...@arm.com> wrote: > > On Fri, 19 Aug 2016 18:29:33 +0530 > > Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com> wrote: > &g

Re: [PATCH v6 2/7] perf annotate: Add cross arch annotate support

2016-08-22 Thread Kim Phillips
On Fri, 19 Aug 2016 18:29:33 +0530 Ravi Bangoria wrote: > Changes in v6: > - Instead of adding only those instructions defined in #ifdef __arm__, > add all instructions from default table to arm table. .. > +static struct ins instructions_arm[] = { >

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-03-27 Thread Kim Phillips
crickets. How do we make progress in this area? (a) can we assume Andi's json format is acceptable? We would like to know this so we don't have to reformat our data more than once. (b) Would an acceptable interim resolution the 'download area' problem be to take Andi's perf: Add support for

[PATCH 3/3] powerpc/e6500: disable POWER7 data cache prefetch and implement our own

2015-03-24 Thread Kim Phillips
-D -r 64,100 Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/lib/copyuser_power7.S | 254 - 1 file changed, 221 insertions(+), 33 deletions(-) diff --git a/arch/powerpc/lib/copyuser_power7.S b/arch/powerpc/lib/copyuser_power7.S

[PATCH 2/3] powerpc: make copyuser_power7.S 64-byte cacheline friendly

2015-03-24 Thread Kim Phillips
add an e6500 copyuser to copyloops tests, which requires we copy asm/cache.h into copyloops, just to satisfy the #include: We define the define symbols manually in the testing makefile. Includes a minor spelling fix: desination-destination. Signed-off-by: Kim Phillips kim.phill...@freescale.com

[PATCH 1/3] powerpc/e6500: set FTR_VMX_COPY

2015-03-24 Thread Kim Phillips
This enables the VMX/ALTIVEC optimised copy-to/from-user code in arch/powerpc/lib/copyuser_power7.S. The e6500 does, and the e5500 does not, have ALTIVEC. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/include/asm/cputable.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 5/5] crypto: talitos: Add software backlog queue handling

2015-03-19 Thread Kim Phillips
On Thu, 19 Mar 2015 17:56:57 +0200 Horia Geantă horia.gea...@freescale.com wrote: On 3/18/2015 12:03 AM, Kim Phillips wrote: On Tue, 17 Mar 2015 19:58:55 +0200 Horia Geantă horia.gea...@freescale.com wrote: On 3/17/2015 2:19 AM, Kim Phillips wrote: On Mon, 16 Mar 2015 12:02:51 +0200

[RFC] powerpc: e6500 optimised copy_to_user/copy_from_user

2015-03-12 Thread Kim Phillips
Signed-off-by: Kim Phillips kim.phill...@freescale.com --- applies to Linus' ToT today (commit 09d35919b06), since Scott's tree seems a bit outdated. arch/powerpc/include/asm/cputable.h | 2 +- arch/powerpc/lib/Makefile | 5 +- arch/powerpc/lib/copyuser_64.S | 2 +- arch/powerpc

Re: [PATCH v2 15/17] crypto: talitos - Implementation of SEC1

2015-03-09 Thread Kim Phillips
On Fri, 6 Mar 2015 17:42:26 +0100 Christophe Leroy christophe.le...@c-s.fr wrote: This patch adds talitos1.c and talitos1.h with all specificities needed to handle the SEC1 security engine found in MPC885 and MPC8272. The SEC1 has several differences with its younger brother SEC2: * Several

[PATCH] crypto: powerpc - move files to fix build error

2015-03-06 Thread Kim Phillips
/, and whilst there, rename other powerpc crypto files with underscores to use dashes for consistency. Cc: Markus Stockhausen stockhau...@collogia.de Signed-off-by: Kim Phillips kim.phill...@freescale.com --- applies to today's cryptodev-2.6. arch/powerpc/crypto/Makefile | 8

Re: [PATCH 2/2] crypto: talitos: Add AES-XTS Support

2015-03-06 Thread Kim Phillips
On Fri, 6 Mar 2015 11:49:43 -0500 Martin Hicks m...@bork.org wrote: On Thu, Mar 5, 2015 at 7:16 PM, Kim Phillips kim.phill...@freescale.com wrote: On Fri, 20 Feb 2015 12:00:10 -0500 Martin Hicks m...@bork.org wrote: The newer talitos hardware has support for AES in XTS mode

Re: [PATCH v2 2/5] crypto: talitos: Remove MD5_BLOCK_SIZE

2015-03-05 Thread Kim Phillips
On Tue, 3 Mar 2015 08:21:34 -0500 Martin Hicks m...@bork.org wrote: This is properly defined in the md5 header file. Signed-off-by: Martin Hicks m...@bork.org --- Acked-by: Kim Phillips kim.phill...@freescale.com Kim ___ Linuxppc-dev mailing

Re: [PATCH 2/2] crypto: talitos: Add AES-XTS Support

2015-03-05 Thread Kim Phillips
On Fri, 20 Feb 2015 12:00:10 -0500 Martin Hicks m...@bork.org wrote: The newer talitos hardware has support for AES in XTS mode. Assuming it's the same thing, AES-XCBC gets added with SEC v3.0 h/w. Assuming hw_supports() doesn't already support this algorithm combination (technically via the

Re: [PATCH 0/17] crypto: talitos - Add support for SEC1

2015-03-05 Thread Kim Phillips
On Thu, 5 Mar 2015 17:46:05 +0100 Christophe Leroy christophe.le...@c-s.fr wrote: [15/17] crypto: talitos - Implementation of SEC1 ... [16/17] crypto: talitos - SEC1 bugs on 0 data hash [17/17] crypto: talitos - Update DT bindings with SEC1 This patchseries doesn't apply, at least on top of

Re: [PATCH v2 5/5] crypto: talitos: Add software backlog queue handling

2015-03-05 Thread Kim Phillips
On Thu, 5 Mar 2015 11:35:23 +0200 Horia Geantă horia.gea...@freescale.com wrote: On 3/4/2015 2:23 AM, Kim Phillips wrote: On Tue, 3 Mar 2015 08:21:37 -0500 Martin Hicks m...@bork.org wrote: @@ -1170,6 +1237,8 @@ static struct talitos_edesc *talitos_edesc_alloc(struct device *dev

Re: [PATCH v2 1/5] crypto: talitos: Simplify per-channel initialization

2015-03-05 Thread Kim Phillips
On Tue, 3 Mar 2015 08:21:33 -0500 Martin Hicks m...@bork.org wrote: There were multiple loops in a row, for each separate step of the initialization of the channels. Simplify to a single loop. Signed-off-by: Martin Hicks m...@bork.org --- Acked-by: Kim Phillips kim.phill...@freescale.com

Re: [PATCH v2 3/5] crypto: talitos: Fix off-by-one and use all hardware slots

2015-03-03 Thread Kim Phillips
On Tue, 3 Mar 2015 08:21:35 -0500 Martin Hicks m...@bork.org wrote: The submission count was off by one. Signed-off-by: Martin Hicks m...@bork.org --- sadly, this directly contradicts: commit 4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6 Author: Vishnu Suresh vis...@freescale.com Date: Mon

Re: [PATCH v2 5/5] crypto: talitos: Add software backlog queue handling

2015-03-03 Thread Kim Phillips
On Tue, 3 Mar 2015 08:21:37 -0500 Martin Hicks m...@bork.org wrote: @@ -1170,6 +1237,8 @@ static struct talitos_edesc *talitos_edesc_alloc(struct device *dev, edesc-dma_len,

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-28 Thread Kim Phillips
-01-26 at 13:22 -0600, Kim Phillips wrote: arch/powerpc has __kernel_map_pages implementations in mm/pgtable_32.c, and I'd be happy to take this through the powerpc tree for 3.20, but for this: depends on: From: Joonsoo Kim iamjoonsoo@lge.com Date: Thu, 22

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-26 Thread Kim Phillips
and some other archs Kim Phillips reported following build failure. LD init/built-in.o mm/built-in.o: In function `free_pages_prepare': mm/page_alloc.c:770: undefined reference to `.kernel_map_pages' mm/built-in.o: In function `prep_new_page': mm/page_alloc.c:933: undefined

[PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-26 Thread Kim Phillips
to `.__kernel_map_pages' include/linux/mm.h:2076: undefined reference to `.__kernel_map_pages' Makefile:925: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v3: - fix wording for hash_utils_64.c implementation pointed out by Michael

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-22 Thread Kim Phillips
On Fri, 23 Jan 2015 08:49:36 +0900 Akinobu Mita akinobu.m...@gmail.com wrote: 2015-01-23 5:41 GMT+09:00 Kim Phillips kim.phill...@freescale.com: Thanks. Now I get this: LD init/built-in.o mm/built-in.o: In function `kernel_map_pages': include/linux/mm.h:2076: undefined reference

Re: [PATCH] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-22 Thread Kim Phillips
On Wed, 21 Jan 2015 21:02:27 -0600 Scott Wood scottw...@freescale.com wrote: On Wed, 2015-01-21 at 20:48 -0600, Kim Phillips wrote: On Tue, 20 Jan 2015 18:31:32 -0600 Scott Wood scottw...@freescale.com wrote: On Tue, 2015-01-20 at 14:03 -0600, Kim Phillips wrote: Fix

[PATCH v2] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-22 Thread Kim Phillips
indirect_read_config() to take hose and bus number instead of the 1344-byte struct pci_bus. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: refactor indirect_read_config() instead of kmalloc'ing a struct pci_bus. Scott, I will look deeper into fake_pci_bus() later. arch/powerpc/include

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-22 Thread Kim Phillips
, 2015 at 02:02:00PM -0600, Kim Phillips wrote: It's possible to configure DEBUG_PAGEALLOC without PAGE_POISONING on ppc. Fix building the generic kernel_map_pages() implementation in this case: LD init/built-in.o mm/built-in.o: In function `free_pages_prepare': mm

Re: [PATCH] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-21 Thread Kim Phillips
On Tue, 20 Jan 2015 18:31:32 -0600 Scott Wood scottw...@freescale.com wrote: On Tue, 2015-01-20 at 14:03 -0600, Kim Phillips wrote: Fix this: CC arch/powerpc/sysdev/fsl_pci.o arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pcie_check_link': arch/powerpc/sysdev/fsl_pci.c:91:1

[PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-20 Thread Kim Phillips
-in.o: In function `prep_new_page': mm/page_alloc.c:933: undefined reference to `.kernel_map_pages' mm/built-in.o: In function `map_pages': mm/compaction.c:61: undefined reference to `.kernel_map_pages' make: *** [vmlinux] Error 1 Signed-off-by: Kim Phillips kim.phill...@freescale.com --- mm

[PATCH] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-20 Thread Kim Phillips
the allocation from the stack to the heap. We use GFP_ATOMIC since this function can be called with interrupts disabled. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/sysdev/fsl_pci.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/powerpc

Re: [PATCH] powerpc: fix usage of setup_pci_atmu()

2013-04-15 Thread Kim Phillips
Neuling mi...@neuling.org --- Kumar: this is for your next tree Reviewed-by: Kim Phillips kim.phill...@freescale.com Thanks, Kim ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] powerpc/85xx: Fix MPC8536DS 36-bit device tree

2013-04-10 Thread Kim Phillips
From: Kumar Gala ga...@kernel.crashing.org The localbus node should be in at 0xfffe05000 not 0xffe05000. Also fixed the names of the localbus and pci nodes to reflect the addresses they are actually at. Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Kim Phillips kim.phill

Re: [PATCH] powerpc/crypto: Add property for 'era' in SEC dts crypto node

2013-04-09 Thread Kim Phillips
On Tue, 9 Apr 2013 17:20:33 +0530 Vakul Garg va...@freescale.com wrote: The crypto node now contains a new property 'fsl,sec-era'. This is required so that applications can retrieve era info without having to be able to read SEC's register space. Signed-off-by: Vakul Garg

Re: [PATCH 1/5] powerpc/85xx: add SEC-5.3 device tree

2013-04-02 Thread Kim Phillips
On Tue, 2 Apr 2013 12:44:34 +0530 va...@freescale.com wrote: threading seems broken between patches 1 2... +crypto: crypto@30 { + compatible = fsl,sec-v5.3, fsl,sec-v5.0, fsl,sec-v4.0; + #address-cells = 1; + #size-cells = 1; + reg = 0x30 0x1; +

Re: [PATCH 3/3] cpufreq: Add cpufreq driver for Freescale e500mc SOCs

2013-03-27 Thread Kim Phillips
On Tue, 26 Mar 2013 10:36:31 +0800 yuantian.t...@freescale.com wrote: +static int __init ppc_corenet_cpufreq_init(void) +{ + int ret = 0; + struct device_node *np; + const struct of_device_id *match; + + np = of_find_matching_node(NULL, node_matches); + if (!np) +

Re: [PATCH 1/3] powerpc/mpc512x: fix noderef sparse warnings

2013-02-05 Thread Kim Phillips
On Tue, 5 Feb 2013 08:20:16 +0100 Anatolij Gustschin ag...@denx.de wrote: Fix: warning: dereference of noderef expression Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/powerpc/platforms/512x/clock.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-)

Re: [PATCH] powerpc/85xx: dts - add ranges property for SEC

2013-01-18 Thread Kim Phillips
On Fri, 18 Jan 2013 17:16:13 +0800 Po Liu po@freescale.com wrote: This facilitates getting the physical address of the SEC node. Signed-off-by: Liu po po@freescale.com --- Reviewed-by: Kim Phillips kim.phill...@freescale.com Kim

[PATCH 2/4] powerpc/fsl: lbc: sparse fixes

2012-11-30 Thread Kim Phillips
/powerpc/sysdev/fsl_lbc.c:113:17: warning: restricted __be32 degrades to integer arch/powerpc/sysdev/fsl_lbc.c:127:17: warning: restricted __be32 degrades to integer Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/sysdev/fsl_lbc.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 4/4] powerpc/fsl: fsl_soc: sparse fixes

2012-11-30 Thread Kim Phillips
arch/powerpc/sysdev/fsl_soc.c:70:67: warning: incorrect type in argument 2 (different base types) arch/powerpc/sysdev/fsl_soc.c:70:67:expected restricted __be32 const [usertype] *addr arch/powerpc/sysdev/fsl_soc.c:70:67:got unsigned int const [usertype] * Signed-off-by: Kim Phillips

[PATCH 3/4] powerpc/fsl: ifc: sparse fixes

2012-11-30 Thread Kim Phillips
__be32 degrades to integer arch/powerpc/sysdev/fsl_ifc.c:67:39: warning: restricted __be32 degrades to integer Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/sysdev/fsl_ifc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev

[PATCH 1/4] powerpc/fsl: msi: sparse fixes

2012-11-30 Thread Kim Phillips
/powerpc/sysdev/fsl_msi.c:138:40:got unsigned long long const [usertype] *[assigned] reg Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/sysdev/fsl_msi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc

Re: [PATCH] dts/t4240: Added SEC-5.0 device tree.

2012-11-29 Thread Kim Phillips
On Thu, 29 Nov 2012 09:58:10 +0530 Vakul Garg va...@freescale.com wrote: Signed-off-by: Vakul Garg va...@freescale.com --- This patch has a dependency on the patch titled: Corrected PAMU device address range to encompass 6 PAMU partitions. arch/powerpc/boot/dts/fsl/qoriq-sec5.0-0.dtsi |

Re: [PATCH 1/9] powerpc: 83xx: use module_i2c_driver macro

2012-10-16 Thread Kim Phillips
devendra.a...@gmail.com --- Not compile tested, Tested-by: Kim Phillips kim.phill...@freescale.com because i dont have a ppc cross toolchain fyi, ppc and more cross compilers are available here: http://kernel.org/pub/tools/crosstool/ Kim ___ Linuxppc

[PATCH] powerpc/usb: fix build warning

2012-10-08 Thread Kim Phillips
/ehci-fsl.c:225:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] this fixes it. Cc: Shengzhou Liu shengzhou@freescale.com Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/usb/host/ehci-fsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-13 Thread Kim Phillips
Xie shaohui@freescale.com --- this fixes a 'WARNING: at lib/kobject.c:593' on a p2020, so: Tested-by: Kim Phillips kim.phill...@freescale.com Kim ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc

[PATCH 1/2] powerpc/fsl: update defconfigs

2012-08-22 Thread Kim Phillips
run make savedefconfig on fsl defconfigs. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/85xx/p1023rds_defconfig | 30 --- arch/powerpc/configs/corenet32_smp_defconfig | 28 +++-- arch/powerpc/configs/mpc83xx_defconfig

[PATCH 2/2 v2] powerpc/fsl: fix Failed to mount /dev: No such device errors

2012-08-22 Thread Kim Phillips
Yocto (Built by Poky 7.0) 1.2 root filesystems fail to boot, at least over nfs, with: Failed to mount /dev: No such device Configuring DEVTMPFS fixes it. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: separated savedefconfig updates, rebased on merge branch arch/powerpc

[PATCH] powerpc/fsl: fix Failed to mount /dev: No such device errors

2012-08-21 Thread Kim Phillips
Yocto (Built by Poky 7.0) 1.2 root filesystems fail to boot, at least over nfs, with: Failed to mount /dev: No such device Configuring DEVTMPFS fixes it. Note: all non-DEVTMPFS changes are due to the side effects of running make savedefconfig. Signed-off-by: Kim Phillips kim.phill

Re: [PATCH v6 0/8] Raid: enable talitos xor offload for improving performance

2012-08-06 Thread Kim Phillips
to Ira's advice; fwiw, I gave v5 a test-drive, setting up a RAID5 array on ramdisks [1], and this patchseries, along with FSL_DMA NET_DMA set seems to be holding water, so this series gets my: Tested-by: Kim Phillips kim.phill...@freescale.com Thanks, Kim [1] mdadm --create --verbose --force

Re: [PATCH 2/3] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-25 Thread Kim Phillips
On Wed, 25 Jul 2012 16:59:49 -0500 Timur Tabi ti...@freescale.com wrote: Add device tree (dtsi) files for the Freescale P5040 SOC. Since this SOC introduces SEC v5.2, add the dtsi file for that also. Signed-off-by: Timur Tabi ti...@freescale.com --- mind retaining the original authors'

Re: [PATCH v3 0/4] Raid: enable talitos xor offload for improving performance

2012-07-16 Thread Kim Phillips
On Mon, 16 Jul 2012 12:07:16 +0800 Qiang Liu qiang@freescale.com wrote: drivers/crypto/Kconfig |9 + drivers/crypto/talitos.c | 410 +++ drivers/crypto/talitos.h | 53 ++ drivers/dma/fsldma.c | 436

Re: [PATCH 1/4] Talitos: move the data structure into header file

2012-07-10 Thread Kim Phillips
On Tue, 10 Jul 2012 13:56:46 +0800 Qiang Liu qiang@freescale.com wrote: Move the declaration of talitos data structure into talitos.h. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Signed-off-by: Qiang Liu qiang@freescale.com --- this patch has

Re: [PATCH] Using alloc_coherent for caam job rings

2012-06-27 Thread Kim Phillips
On Wed, 27 Jun 2012 10:58:32 +0530 Bharat Bhushan r65...@freescale.com wrote: This resolves the Linux boot crash issue when swiotlb=force is set in bootargs on systems which have memory more than 4G. Acked-by: Kim Phillips kim.phill...@freescale.com Thanks Bharat, Kim

Re: Build regressions/improvements in v3.5-rc3

2012-06-18 Thread Kim Phillips
On Sun, 17 Jun 2012 21:56:59 +0200 Geert Uytterhoeven ge...@linux-m68k.org wrote: + drivers/edac/mpc85xx_edac.c: error: too few arguments to function 'edac_mc_alloc': = 983:90 powerpc-randconfig fixed in linux-next commit b9bc5dd, should have been upstreamed by now [1] - Mauro? Kim [1]

[PATCH] mpc85xx_edac: fix error: too few arguments to function 'edac_mc_alloc'

2012-06-06 Thread Kim Phillips
commit ca0907b edac: Remove the legacy EDAC ABI broke mpc85xx_edac in the following manner: mpc85xx_edac.c:983:35: error: too few arguments to function 'edac_mc_alloc' this patch puts back the missing 'layers' argument. Cc: Mauro Carvalho Chehab mche...@redhat.com Signed-off-by: Kim Phillips

[PATCH] powerpc: fix irq distribution

2012-05-17 Thread Kim Phillips
with less than NR_CPUS. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/kernel/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 2a599ce..c05fd53 100644 --- a/arch/powerpc/kernel/irq.c +++ b

[PATCH] powerpc/fsl: Distribute interrupts on all CPUs by default

2012-04-13 Thread Kim Phillips
At least for crypto/IPSec, doing so provides users with a better performance experience out of the box. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig |1 + arch/powerpc/configs/corenet64_smp_defconfig |1 + arch/powerpc/configs

Re: [PATCH v2] powerpc/dts: fix the compatible string of sec 4.0

2012-03-07 Thread Kim Phillips
On Wed, 7 Mar 2012 13:20:06 +0800 Shengzhou Liu shengzhou@freescale.com wrote: From: Liu Shuo shuo@freescale.com Fix the compatible string of sec 4.0 to match with CAMM driver according to Documentation/devicetree/bindings/crypto/fsl-sec4.txt Signed-off-by: Liu Shuo

Re: [PATCH] powerpc/dts: fix the compatible string of sec 4.0

2012-03-06 Thread Kim Phillips
On Tue, 6 Mar 2012 15:21:16 +0800 Shengzhou Liu shengzhou@freescale.com wrote: From: Liu Shuo shuo@freescale.com Fix the compatible string of sec 4.0 to match with CAMM driver according to the documentation file Documentation/devicetree/bindings/crypto/fsl-sec4.txt. s/the

Re: [linuxppc-release] [PATCH 2/2] powerpc/85xx: update SEC node in dts for MPC8572DS

2012-02-08 Thread Kim Phillips
On Wed, 8 Feb 2012 10:39:43 -0600 Timur Tabi ti...@freescale.com wrote: Jia Hongtao wrote: -/include/ pq3-sec3.0-0.dtsi +/include/ pq3-sec3.1-0.dtsi This is not adding SEC 3.1 support. This patch is saying that the 8572 DTS was using the *wrong* SEC version. If that's true, you need to

[PATCH 4/5] crypto: talitos - support for channel remap and 2nd IRQ

2011-11-16 Thread Kim Phillips
-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/crypto/talitos.c | 203 +++--- drivers/crypto/talitos.h | 14 +++- 2 files changed, 147 insertions(+), 70 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index

[PATCH v2] powerpc/85xx: enable caam crypto driver by default

2011-07-22 Thread Kim Phillips
corenet based SoCs have SEC4 h/w, so enable the SEC4 driver, caam, and the algorithms it supports, and disable the SEC2/3 driver, talitos. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: rebase from old e55xx_smp_defconfig file to new corenet p1023 defconfigs arch/powerpc

Re: [PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG

2011-06-21 Thread Kim Phillips
[adding linux-crypto] On Tue, 21 Jun 2011 10:56:02 -0500 Matt Mackall m...@selenic.com wrote: On Tue, 2011-06-21 at 08:19 -0400, Josh Boyer wrote: +static struct hwrng ppc4xx_rng = { + .name = MODULE_NAME, + .data_present = ppc4xx_rng_data_present, + .data_read =

[PATCH] powerpc/e5500: enable caam crypto driver by default

2011-06-05 Thread Kim Phillips
e55xx based SoCs have SEC4 h/w, so enable the SEC4 driver, caam, and the algorithms it supports, and disable the SEC2/3 driver, talitos. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/e55xx_smp_defconfig |5 - 1 files changed, 4 insertions(+), 1 deletions

Re: [PATCH 1/4] crypto: caam - handle interrupt lines shared across rings

2011-05-02 Thread Kim Phillips
On Fri, 15 Apr 2011 17:50:49 +0800 Herbert Xu herb...@gondor.apana.org.au wrote: On Mon, Apr 11, 2011 at 07:15:16PM -0500, Kim Phillips wrote: - add IRQF_SHARED to request_irq flags to support parts such as the p1023 that has one IRQ line per couple of rings. - resetting a job ring

[PATCH 2/4] crypto: caam - fix queue interface detection

2011-04-11 Thread Kim Phillips
The presence of a h/w Queue Interface would fail due to this cut-n-paste snafu. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/crypto/caam/regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h

[PATCH 1/4] crypto: caam - handle interrupt lines shared across rings

2011-04-11 Thread Kim Phillips
reset and interrupt status - delete invalid comment - if there were incomplete jobs, module would be in use, preventing an unload. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- this, and the remaining patches in this series, tested on p1023, p3041, p4080, and 32- and 64-bit p5020

[PATCH 4/4] crypto: caam - remove duplicate dev_err

2011-04-11 Thread Kim Phillips
keep the hex error value reporting version (a) to be consistent with decrypt_done(), and (b) to keep our hardware guys happy. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/crypto/caam/caamalg.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH 3/4] crypto: caam - remove WAIT-FOR-COMPLETIONs from givencrypt descriptor

2011-04-11 Thread Kim Phillips
remains from descriptor debugging - not required for normal operation. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/crypto/caam/caamalg.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam

[PATCH] crypto: caam - de-CHIP-ify device tree compatibles

2011-03-15 Thread Kim Phillips
) ever needed CHIP references. Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Scott Wood scottw...@freescale.com --- .../devicetree/bindings/crypto/fsl-sec4.txt| 64 arch/powerpc/boot/dts/p4080ds.dts

[PATCH] crypto: caam - standardize device tree naming convention to utilize '-vX.Y'

2011-03-14 Thread Kim Phillips
Help clarify that the number trailing in compatible nomenclature is the version number of the device, i.e., change: fsl,p4080-sec4.0, fsl,sec4.0; to: fsl,p4080-sec-v4.0, fsl,sec-v4.0; Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Steve

[PATCH 1/3] crypto: add device tree bindings for the Freescale SEC4/CAAM

2011-03-09 Thread Kim Phillips
Add SEC4 device tree binding documentation and add a SEC4 device node to the P4080's dts. Signed-off-by: Steve Cornelius s...@pobox.com Signed-off-by: Kim Phillips kim.phill...@freescale.com --- .../devicetree/bindings/crypto/fsl-sec4.txt| 409 arch/powerpc/boot/dts

[PATCH 0/3] crypto: add support for the Freescale SEC4/CAAM

2011-03-09 Thread Kim Phillips
splitting and resending due to apparent 100KB message limit imposed by linux-crypto and devicetree-discuss mailing lists. No content has been changed from the original post that made it through linuxppc-dev's 400KB limit, available here: http://patchwork.ozlabs.org/patch/86051/

Re: Modifying mpc8308rdb.dts

2010-09-22 Thread Kim Phillips
On Wed, 22 Sep 2010 12:32:20 +0200 Maria Johansen m.johan...@no.parkairsystems.com wrote: I am working on an MPC8308rdb, and have needed to add support for spi and an lm75 thermal sensor on the i2c-bus. Is it possible to upload my changes to the official mpc8308rdb.dts, or should I just keep

Re: [PATCH] powerpc: introduce basic support for the Freescale P1022DS reference board

2010-06-29 Thread Kim Phillips
On Tue, 29 Jun 2010 16:34:34 -0500 Timur Tabi ti...@freescale.com wrote: Introduce basic support for the Freescale P1022DS reference board, based on the Freescale BSP for this board. Details: No DIU video or SSI audio support, no MMC/SD card support, 36-bit and SWIOTLB support enabled,

Re: [PATCH] powerpc: introduce basic support for the Freescale P1022DS reference board

2010-06-29 Thread Kim Phillips
On Tue, 29 Jun 2010 17:39:17 -0600 Tabi Timur-B04825 b04...@freescale.com wrote: Kim Phillips wrote: On Tue, 29 Jun 2010 16:34:34 -0500 Timur Tabiti...@freescale.com wrote: Introduce basic support for the Freescale P1022DS reference board, based on the Freescale BSP for this board

Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300

2010-04-28 Thread Kim Phillips
On Wed, 28 Apr 2010 14:15:50 -0500 Xianghua Xiao xiaoxiang...@gmail.com wrote: On Wed, Apr 28, 2010 at 2:22 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So we tried to speed things up a bit using flush_hash_pages() directly but that falls over on 603 of course meaning we fail

Re: Continual reading from the PowerPc time base register is not stable

2010-04-22 Thread Kim Phillips
On Thu, 22 Apr 2010 10:50:16 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2010-04-21 at 19:44 -0500, Kim Phillips wrote: I took an 8377 rdb board, and let it run timebase.c (with the isync long long casts) all weekend, and have failed to reproduce the issue

Re: Continual reading from the PowerPc time base register is not stable

2010-04-21 Thread Kim Phillips
On Sat, 10 Apr 2010 11:14:09 +0800 Csdncannon csdncan...@gmail.com wrote: Sorry, I attached the wrong log, this attachment is the right one. 2010/3/25 Csdncannon csdncan...@gmail.com In my program, the value of the 64-bit time base register is read out, and you will find the

[PATCH 1/2] powerpc: 83xx: configure SIL SATA driver in 83xx-wide defconfig

2010-04-15 Thread Kim Phillips
to enable the storage controller on earlier rev. mpc834x itx boards. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/mpc83xx_defconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/configs/mpc83xx_defconfig b/arch/powerpc

[PATCH 1/2] powerpc: 83xx: add RTC drivers in 83xx defconfig

2010-04-05 Thread Kim Phillips
/mpc834x_mds_defconfig:CONFIG_RTC_DRV_DS1374=y arch/powerpc/configs/83xx/mpc836x_mds_defconfig:CONFIG_RTC_DRV_DS1374=y Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/mpc83xx_defconfig | 62 ++-- 1 files changed, 59 insertions(+), 3 deletions(-) diff --git a/arch/powerpc

[PATCH 2/2] powerpc: 83xx: enable EPOLL syscall in defconfig

2010-04-05 Thread Kim Phillips
83xx users looking to run apache will experience this error: /var/log/apache2/error.log: [emerg] (38)Function not implemented: Couldn't create pollset in child; check system or user limits enabling CONFIG_EPOLL in kernel config fixes this so apache can run. Signed-off-by: Kim Phillips

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-16 Thread Kim Phillips
with fsldma is currently disabled Thanks to Surender Kumar and Lee Nipper for their help in realising this driver Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Dipen Dudhat dipen.dud...@freescale.com Signed-off-by: Maneesh Gupta maneesh.gu...@freescale.com Signed-off

Re: MPC8343EA Linux DTS file

2009-12-04 Thread Kim Phillips
On Fri, 4 Dec 2009 14:56:25 -0800 agnel ajij...@gmail.com wrote: We have an MPC8343EA based custom board. I am not able to get Linux up and running in this. No serial output to debug further. U-boot shows correct 'bdinfo' 'clocks' output. I doubt the DTS file in Linux. anyone has DTS

Re: MPC8343EA Linux DTS file

2009-12-04 Thread Kim Phillips
On Fri, 4 Dec 2009 15:43:18 -0800 Junita Ajith ajij...@gmail.com wrote: please keep the list on the cc:, and don't top-post. This is the entire DTS file: /dts-v1/; / { model = SC3000; compatible = MPC8349EMDS, MPC834xMDS, MPC83xxMDS; you don't mention the u-boot and

Re: Is there a patch for MPC8548 XOR?

2009-10-27 Thread Kim Phillips
On Tue, 27 Oct 2009 11:43:34 +0800 hank peng pengxi...@gmail.com wrote: I want to use its' XOR engine to compute raid5 parity, but I can't find this function in 2.6.30 downloaded from kernel.org, someone know if there is a patch? try this: http://patchwork.ozlabs.org/patch/36067/ Kim

Re: [PATCH] * mpc8313erdb.dts: Fixed eTSEC interrupt assignment.

2009-10-16 Thread Kim Phillips
On Thu, 15 Oct 2009 21:40:43 +0200 Roland Lezuo roland.le...@chello.at wrote: On Mon, 2009-10-12 at 11:06 -0500, Kim Phillips wrote: On Wed, 9 Sep 2009 15:28:01 -0500 Kumar Gala ga...@kernel.crashing.org wrote: On Sep 9, 2009, at 1:22 PM, Scott Wood wrote: We really should have a u

Re: [PATCH] * mpc8313erdb.dts: Fixed eTSEC interrupt assignment.

2009-10-12 Thread Kim Phillips
44c73137acf20626e930e3f4142e60054d8bd46f Mon Sep 17 00:00:00 2001 From: Kim Phillips kim.phill...@freescale.com Date: Mon, 12 Oct 2009 10:51:20 -0500 Subject: [PATCH] mpc83xx: mpc8313 - handle erratum IPIC1 (TSEC IRQ number swappage) mpc8313e erratum IPIC1 swapped TSEC interrupt ID numbers on rev. 1 h/w (see

[PATCH] powerpc/8xxx: enable IPsec ESP by default on mpc83xx/mpc85xx

2009-10-12 Thread Kim Phillips
Signed-off-by: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/configs/mpc83xx_defconfig | 15 --- arch/powerpc/configs/mpc85xx_defconfig | 16 arch/powerpc/configs/mpc85xx_smp_defconfig | 16 3 files changed, 24 insertions

Re: [PATCH] * mpc8313erdb.dts: Fixed eTSEC interrupt assignment.

2009-09-09 Thread Kim Phillips
On Wed, 9 Sep 2009 15:28:01 -0500 Kumar Gala ga...@kernel.crashing.org wrote: On Sep 9, 2009, at 1:22 PM, Scott Wood wrote: On Fri, Sep 04, 2009 at 12:31:25PM +0200, Roland Lezuo wrote: The following patch is needed to correctly assign the IRQs for the gianfar driver on the

[PATCH 1/3] crypto: talitos - simplify hmac data size calculation

2009-08-07 Thread Kim Phillips
don't do request-src vs. assoc pointer math - it's the same as adding assoclen and ivsize (just with more effort). Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/crypto/talitos.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/crypto

  1   2   >