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 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 Phillips > >> > >> For ARM we remove the l

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 wrote: > On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote: > > 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 &

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, Kim

[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 Cc: Catalin Marinas --- arch/arm64/Kconfig | 1 - 1 file changed, 1 deletion(-) di

[PATCH 1/2] perf_event: remove unused DEBUG_PERF_USE_VMALLOC

2016-08-30 Thread Kim Phillips
f on powerpc" was trying to do with it either. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Michael Ellerman --- init/Kconfig | 13 - 1 file changed, 13 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index cac3f09..934a61f 100644 --- a/init/Kconfig +++ b/init/Kc

[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 Acked-by: Ravi Bangoria Cc: Namhyung Kim --- tools/perf/util/annotate.c | 177 + 1 file changed, 67

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 wrote: > On Tue, Aug 23, 2016 at 8:01 AM, Kim Phillips wrote: > > On Fri, 19 Aug 2016 18:29:33 +0530 > > Ravi Bangoria wrote: > > > >> Changes in v6: > >> - Instead of adding only those instructions defi

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[] = { > { .name = "add", .ops = &mov_op

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 fu

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

2015-03-24 Thread Kim Phillips
20 -t TCP_CRR -P 0 -- -b 8 -D -r 64,100 Signed-off-by: Kim Phillips --- 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

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

2015-03-24 Thread Kim Phillips
. We also 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 Cc: Shuah Kha

[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 --- arch/powerpc/include/asm/cputable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

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ă wrote: > On 3/18/2015 12:03 AM, Kim Phillips wrote: > > On Tue, 17 Mar 2015 19:58:55 +0200 > > Horia Geantă wrote: > > > >> On 3/17/2015 2:19 AM, Kim Phillips wrote: > >>> On Mon, 16 Mar 201

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

2015-03-17 Thread Kim Phillips
On Tue, 17 Mar 2015 19:58:55 +0200 Horia Geantă wrote: > On 3/17/2015 2:19 AM, Kim Phillips wrote: > > On Mon, 16 Mar 2015 12:02:51 +0200 > > Horia Geantă wrote: > > > >> On 3/4/2015 2:23 AM, Kim Phillips wrote: > >>> Only potential problem is

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

2015-03-16 Thread Kim Phillips
On Mon, 16 Mar 2015 12:02:51 +0200 Horia Geantă wrote: > On 3/4/2015 2:23 AM, Kim Phillips wrote: > > Only potential problem is getting the crypto API to set the GFP_DMA > > flag in the allocation request, but presumably a > > CRYPTO_TFM_REQ_DMA crt_flag can be made to ha

[RFC] powerpc: e6500 optimised copy_to_user/copy_from_user

2015-03-12 Thread Kim Phillips
wer-sized transfer performance Signed-off-by: Kim Phillips --- 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 |

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 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 bits in registers

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 wrote: > On Thu, Mar 5, 2015 at 7:16 PM, Kim Phillips > wrote: > > On Fri, 20 Feb 2015 12:00:10 -0500 > > Martin Hicks wrote: > > > >> The newer talitos hardware has support for AES in XTS mode. > > > >

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

2015-03-06 Thread Kim Phillips
pc/crypto' failed Move the two sha1 spe files under crypto/, and whilst there, rename other powerpc crypto files with underscores to use dashes for consistency. Cc: Markus Stockhausen Signed-off-by: Kim Phillips --- applies to today's cryptodev-2.6. arch/powerpc/crypto

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ă wrote: > On 3/4/2015 2:23 AM, Kim Phillips wrote: > > On Tue, 3 Mar 2015 08:21:37 -0500 > > Martin Hicks wrote: > > > >> @@ -1170,6 +1237,8 @@ static struct talitos_edesc > >>

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 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 > --- Acked-by: Kim

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 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 Herbert's cryptodev-

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 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 mode bit), thi

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 wrote: > This is properly defined in the md5 header file. > > Signed-off-by: Martin Hicks > --- Acked-by: Kim Phillips Kim ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozla

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 wrote: > The submission count was off by one. > > Signed-off-by: Martin Hicks > --- sadly, this directly contradicts: commit 4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6 Author: Vishnu Suresh Date: Mon Oct 20 21:06:18 2008 +0800 crypto: talit

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 wrote: > @@ -1170,6 +1237,8 @@ static struct talitos_edesc *talitos_edesc_alloc(struct > device *dev, >edesc->dma_len, >DMA_BIDIRECTIONAL); >

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

2015-01-28 Thread Kim Phillips
On Wed, 28 Jan 2015 14:22:02 +1100 Michael Ellerman wrote: > On Tue, 2015-01-27 at 18:57 -0800, Andrew Morton wrote: > > On Wed, 28 Jan 2015 10:33:59 +0900 Joonsoo Kim wrote: > > > > > 2015-01-28 10:01 GMT+09:00 Michael Ellerman : > > > > On Mon, 2015-01-2

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

2015-01-26 Thread Kim Phillips
On Thu, 22 Jan 2015 10:45:51 +0900 Joonsoo Kim wrote: > From 7cb9d1ed8a785df152cb8934e187031c8ebd1bb2 Mon Sep 17 00:00:00 2001 > From: Joonsoo Kim > Date: Thu, 22 Jan 2015 10:28:58 +0900 > Subject: [PATCH] mm/debug_pagealloc: fix build failure on ppc and some other > archs &g

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

2015-01-26 Thread Kim Phillips
ed reference 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 --- v3: - fix wording for hash_utils_64.c implementation pointed out by Mic

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 wrote: > 2015-01-23 5:41 GMT+09:00 Kim Phillips : > > 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 referenc

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

2015-01-22 Thread Kim Phillips
efactoring indirect_read_config() to take hose and bus number instead of the 1344-byte struct pci_bus. Signed-off-by: Kim Phillips --- 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/asm/pc

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 wrote: > On Wed, 2015-01-21 at 20:48 -0600, Kim Phillips wrote: > > On Tue, 20 Jan 2015 18:31:32 -0600 > > Scott Wood wrote: > > > > > On Tue, 2015-01-20 at 14:03 -0600, Kim Phillips wrote: > > > > Fix thi

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

2015-01-22 Thread Kim Phillips
ith ARCH_SUPPORTS_DEBUG_PAGEALLOC should not build > mm/debug-pagealloc.o. I attach the patch to remove old declaration. > I hope it will fix Kim's problem. > > -->8-- > From 7cb9d1ed8a785df152cb8934e187031c8ebd1bb2 Mon Sep 17 00:00:00 2001 > From:

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 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': > > arc

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

2015-01-20 Thread Kim Phillips
erting 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 --- arch/powerpc/sysdev/fsl_pci.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pc

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

2015-01-20 Thread Kim Phillips
' mm/built-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 --- m

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

2013-04-15 Thread Kim Phillips
> Signed-off-by: Michael Neuling > --- > Kumar: this is for your next tree Reviewed-by: Kim Phillips 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 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 Signed-off-by: Kim Phillips --- note: this upstream submission extended to fix pci1

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 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 > --- > arch/powerpc/boot/dts/f

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 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 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) > + return -E

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 wrote: > Fix: > warning: dereference of noderef expression > > Signed-off-by: Anatolij Gustschin > --- > arch/powerpc/platforms/512x/clock.c | 18 +- > 1 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/arch

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 wrote: > This facilitates getting the physical address of the SEC node. > > Signed-off-by: Liu po > --- Reviewed-by: Kim Phillips Kim ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozla

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

2012-11-30 Thread Kim Phillips
e] *p arch/powerpc/sysdev/fsl_msi.c:138:40:got unsigned long long const [usertype] *[assigned] reg Signed-off-by: Kim Phillips --- 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/sysdev/fsl_m

[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 --- arch/powerpc/sysdev/fsl_ifc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/fsl_ifc.c b/arch/powerpc/sysdev

[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 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 --- arch/powerpc/sysdev/fsl_lbc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

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 wrote: > Signed-off-by: Vakul Garg > --- > 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 | 109 >

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

2012-10-16 Thread Kim Phillips
> > Not compile tested, Tested-by: Kim Phillips > 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-dev mailing list Linuxppc

[PATCH] powerpc/usb: fix build warning

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

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

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

[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 --- v2: separated savedefconfig updates, rebased on merge branch arch/powerpc/configs/85xx/p1023rds_defconfig

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

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

[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 --- if the

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

2012-08-06 Thread Kim Phillips
according 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 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 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 > --- mind retaining the original authors' signoffs? Kim

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 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 wrote: > Move the declaration of talitos data structure into talitos.h. > > Cc: Herbert Xu > Cc: David S. Miller > Signed-off-by: Qiang Liu > --- this patch has already been submitted [1]. Subsequent patches in this series also don't apply cleanl

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 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 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 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] http://marc.inf

[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 Signed-off-by: K

[PATCH] powerpc: fix irq distribution

2012-05-17 Thread Kim Phillips
that boot with less than NR_CPUS. Signed-off-by: Kim Phillips --- 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/arch/powerpc/ke

[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 --- arch/powerpc/configs/corenet32_smp_defconfig |1 + arch/powerpc/configs/corenet64_smp_defconfig |1 + arch/powerpc/configs/mpc85xx_smp_defconfig

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 wrote: > From: Liu Shuo > > 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 > Signed-off-by: Shengzhou Liu > --- > v2: refine descri

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 wrote: > From: Liu Shuo > > 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 documentation file//, since it's pretty obvious from

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 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 > exp

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

2011-11-16 Thread Kim Phillips
.] Signed-off-by: Kim Phillips --- 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 7f82e91..92c0ca7 10

[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 --- v2: rebase from old e55xx_smp_defconfig file to new corenet & p1023 defconfigs arch/powerpc/configs/85xx/p1023rds_defco

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 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 = ppc4xx_rng_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 --- arch/powerpc/configs/e55xx_smp_defconfig |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch

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 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

[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 --- 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/caamalg.c index 20e1215..8eb84d3

[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 --- drivers/crypto/caam/caamalg.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/caam/caamalg.c b

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

2011-04-11 Thread Kim Phillips
on between 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 --- this, and the remaining patches in this series, tested on p1023, p3041, p4080, and 32- and 64-bit p5020. drivers/crypto

[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 --- 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 index d063a26..aee394e

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

2011-03-15 Thread Kim Phillips
) ever needed CHIP references. Signed-off-by: Kim Phillips Cc: Kumar Gala Cc: Scott Wood --- .../devicetree/bindings/crypto/fsl-sec4.txt| 64 arch/powerpc/boot/dts/p4080ds.dts | 32 --- 2 files changed, 37 insertions(+), 59 deletions

[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 Cc: Kumar Gala Cc: Steve Cornel

[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/ .../devicetree/b

[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 Signed-off-by: Kim Phillips --- .../devicetree/bindings/crypto/fsl-sec4.txt| 409 arch/powerpc/boot/dts/p4080ds.dts |

Re: Modifying mpc8308rdb.dts

2010-09-22 Thread Kim Phillips
On Wed, 22 Sep 2010 12:32:20 +0200 Maria Johansen 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 > modifying it locally and ho

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" wrote: > Kim Phillips wrote: > > On Tue, 29 Jun 2010 16:34:34 -0500 > > Timur Tabi wrote: > > > >> Introduce basic support for the Freescale P1022DS reference board, based > >> on the >

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 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, 36-bit DTS only,

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 wrote: > On Wed, Apr 28, 2010 at 2:22 AM, Benjamin Herrenschmidt > 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 to flush the TLB > > properly and we may

[PATCH] powerpc: remove tls_ssl_stream descriptor type capability in sec3.3 node

2010-04-22 Thread Kim Phillips
iptor type. Reported-by: Haiying Wang Signed-off-by: Kim Phillips --- arch/powerpc/boot/dts/mpc8315erdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts index 8a3a4f3..508b770 100644 --- a

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 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. &g

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 wrote: > Sorry, I attached the wrong log, this attachment is the right one. > > 2010/3/25 Csdncannon > > > In my program, the value of the 64-bit time base register is read > > out, and you will find the later value is even smaller than th

[PATCH 2/2] powerpc: mpc8xxx defconfigs: turn off SYSFS_DEPRECATED

2010-04-15 Thread Kim Phillips
not work correctly and sure enough, turning off SYSFS_DEPRECATED brings the login prompt back. Signed-off-by: Kim Phillips --- arch/powerpc/configs/83xx/asp8347_defconfig |3 +-- arch/powerpc/configs/83xx/mpc8313_rdb_defconfig |3 +-- arch/powerpc/configs/83xx/mpc8315_rdb_defconfig

[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 --- arch/powerpc/configs/mpc83xx_defconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/configs/mpc83xx_defconfig b/arch/powerpc/configs/mpc83xx_defconfig

[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 Phi

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

2010-04-05 Thread Kim Phillips
nfigs/83xx/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 --- arch/powerpc/configs/mpc83xx_defconfig | 62 ++-- 1 files changed, 59 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/configs/mpc83xx

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

2009-12-16 Thread Kim Phillips
bility with fsldma > is currently disabled > > Thanks to Surender Kumar and Lee Nipper for their help in > realising this driver > > Signed-off-by: Kim Phillips > Signed-off-by: Dipen Dudhat > Signed-off-by: Maneesh Gupta > Signed-off-by: Vishnu Suresh > --- >

Re: MPC8343EA Linux DTS file

2009-12-04 Thread Kim Phillips
On Fri, 4 Dec 2009 15:43:18 -0800 Junita Ajith 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 kernel ve

Re: MPC8343EA Linux DTS file

2009-12-04 Thread Kim Phillips
On Fri, 4 Dec 2009 14:56:25 -0800 agnel 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 file for MP

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 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 wrote: > On Mon, 2009-10-12 at 11:06 -0500, Kim Phillips wrote: > > On Wed, 9 Sep 2009 15:28:01 -0500 > > Kumar Gala wrote: > > > On Sep 9, 2009, at 1:22 PM, Scott Wood wrote: > > > > We really sho

  1   2   3   >