This function can run on systems where physical addresses don't
fit in unsigned long, so make sure to use the macro that contains the
proper cast.
Signed-off-by: Scott Wood
---
arch/powerpc/mm/mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/mem.c b
.@ozlabs.org; Schmitt Richard-B43082
> > Subject: Re: new way of writing defconfigs for freescale's powerpc platforms
> >
> > On Thu, 2015-04-16 at 23:13 -0500, Scott Wood wrote:
> > > On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote:
> > > &
On Fri, 2015-04-17 at 18:32 +0200, root wrote:
> This patchset provides a further optimisation of TLB handling in the 8xx.
> Changes are:
> - Not saving registers like CR when not needed
> - Adding support to any TASK_SIZE
>
> Only the last patch of the set is changed compared to v4
>
> Christoph
On Thu, 2015-04-16 at 15:08 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> This patch updates pll0/1-div4 index to '3'.
> Originally it was '2'.
>
> The following patch adds pll0/1-div3 option:
> https://patchwork.ozlabs.org/patch/461151/
> After this patch, index '2' becomes pll0/1
On Thu, 2015-04-16 at 01:11 -0500, Liberman Igal-B31950 wrote:
>
>
> Regards,
> Igal Liberman.
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Wednesday, April 15, 2015 8:36 PM
> > To: Liberman Igal-B31950
> > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
>
On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote:
> On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote:
> > Hi Maintainers,
> >
> > We have a proposal for writing the defconfigs for freescale's powperpc
> > platforms in a new way.
> > Can you take a look and provide some feedback?
> >
>
On Thu, 2015-04-16 at 21:01 -0300, Rogério Brito wrote:
> Dear Scott.
>
> On Apr 16 2015, Scott Wood wrote:
> > On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote:
> > > Is there any "proper" way for me to discover what device name the kernel
> > &g
On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote:
> Hi, Scott and others.
>
> On Apr 09 2015, Rogério Brito wrote:
> > On Apr 09 2015, Scott Wood wrote:
> > > On Thu, 2015-04-09 at 18:54 -0300, Rogério Brito wrote:
> > > >
> > > > mtdp
On Thu, 2015-04-16 at 00:44 -0400, Bob Cochran wrote:
> As you probably know, Freescale makes use of the Yocto Project build
> system for its SDK and submits patches to the SDK at a public
> meta-fsl-ppc repo at http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/
>
> I have seen some kernel
__flush_dcache_icache_phys() requires the ability to access the
memory with the MMU disabled, which means that on a 32-bit system
any memory above 4 GiB is inaccessible. In particular, mpc86xx is
32-bit and can have more than 4 GiB of RAM.
Signed-off-by: Scott Wood
---
arch/powerpc/include/asm
4:22 -0500)
--------
Scott Wood (1):
powerpc/hugetlb: Call mm_dec_nr_pmds() in hugetlb_free_pmd_range()
arch/powerpc/mm/hugetlbpage.c | 1 +
1 file changed, 1 insertion(+)
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.
On Tue, 2015-04-14 at 13:56 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> v3: Addressed feedback from Scott:
> - Removed clock specifier description.
>
> v2: Addressed feedback from Scott:
> - Moved the "fman-clk-mux" clock provider details
> under "clocks" property.
On Wed, 2015-04-15 at 03:43 -0500, Liberman Igal-B31950 wrote:
>
>
> Regards,
> Igal Liberman.
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Tuesday, April 14, 2015 11:09 PM
> > To: Liberman Igal-B31950
> > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
>
ger.kernel.org; linuxppc-dev@lists.ozlabs.org
> > Subject: Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s)
> >
> > On Tue, 2015-04-14 at 15:21 -0500, Scott Wood wrote:
> > > On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote:
> > > > From: Iga
On Tue, 2015-04-14 at 14:15 +0300, Igal.Liberman wrote:
> +static int get_fm_clk_idx(int fm_id, int *fm_clk_idx)
> +{
> + struct ccsr_guts __iomem *guts_regs = NULL;
> + struct device_node *guts;
> + uint32_t reg = 0;
> + int clk_src = 0;
> +
> + guts = of_find_matching_node(NUL
On Tue, 2015-04-14 at 00:19 +0200, leroy christophe wrote:
>
> Le 13/04/2015 22:26, Scott Wood a écrit :
> > On Sun, 2015-04-12 at 18:16 +0200, leroy christophe wrote:
> >> Le 26/03/2015 22:32, Scott Wood a écrit :
> >>> On Tue, Feb 03, 2015 at 12:38:1
On Tue, 2015-04-14 at 08:50 -0500, Singh Sandeep-B37400 wrote:
> > > +TDM (Time Division Multiplexing)
> > > +
> > > +DESCRIPTION
> > > +
> > > +The TDM is full duplex serial port designed to allow various devices
> > > +including digital signal processors (DSPs) to communicate with a
> > > +variet
On Tue, 2015-04-14 at 13:12 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> v2 - Addressed Scott's feedback
>
> Signed-off-by: Igal Liberman
> ---
> .../devicetree/bindings/powerpc/fsl/guts.txt |4
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetre
On Tue, 2015-04-14 at 15:21 -0500, Scott Wood wrote:
> On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote:
> > From: Igal Liberman
> >
> > This patch replaces the following:
> > https://patchwork.ozlabs.org/patch/427664/
> >
> > This patch is desc
On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> This patch replaces the following:
> https://patchwork.ozlabs.org/patch/427664/
>
> This patch is described by the following binding document update:
> https://patchwork.ozlabs.org/patch/461150/
>
> Si
On Tue, 2015-04-14 at 12:42 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> Added optional divider to "fsl,qoriq-core-pll-2.0".
> This option might be used by Freescale hardware accelerators.
>
> Signed-off-by: Igal Liberman
> ---
> .../devicetree/bindings/clock/qoriq-clock.txt |
On Tue, 2015-04-14 at 13:25 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> This patch adds "fsl,-device-config" compatibles to guts node.
> The added compatibles used in Freescale FMan clock initialization.
>
> This patches is described by the following binding document update:
> h
On Thu, 2015-04-09 at 01:29 -0500, Liu Shengzhou-B36685 wrote:
> > > +&soc {
> > > +/include/ "qoriq-tdm1.0.dtsi"
> >
> > Where is this file? Is there some dependency you've forgotten to mention?
> >
> > If this is meant to apply after
> > http://patchwork.ozlabs.org/patch/457605/
> > is that re
On Sun, 2015-04-12 at 18:16 +0200, leroy christophe wrote:
>
> Le 26/03/2015 22:32, Scott Wood a écrit :
> > On Tue, Feb 03, 2015 at 12:38:16PM +0100, LEROY Christophe wrote:
> >> Since commit 33fb845a6f01 ("powerpc/8xx: Don't use MD_TWC for walk"),
> &
On Sun, 2015-04-12 at 10:54 -0500, Liberman Igal-B31950 wrote:
>
>
> Regards,
> Igal Liberman.
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Thursday, April 09, 2015 8:03 PM
> > To: Liberman Igal-B31950
> > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
>
results in kernel output such as "BUG: non-zero nr_pmds on freeing
mm: 1" when using hugepages.
Update the PPC hugepage PMD freeing code to decrement the count, just
as the above commit did for free_pmd_range().
Fixes: dc6c9a35b66b5 ("mm: account pmd page tables to the process&qu
On Fri, 2015-04-10 at 01:23 -0500, Jia Hongtao-B38951 wrote:
>
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Friday, April 10, 2015 11:56 AM
> > To: Jia Hongtao-B38951
> > Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org;
> > robh...@kernel.org; rui.zh...@int
On Thu, 2015-04-09 at 02:18 -0500, Liberman Igal-B31950 wrote:
>
>
> Regards,
> Igal Liberman.
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Thursday, April 09, 2015 12:12 AM
> > To: Liberman Igal-B31950
> > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
>
On Thu, 2015-04-09 at 09:21 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> This patch is required for: https://patchwork.ozlabs.org/patch/459584/
If it's required for that patch, why aren't they part of a patchset
rather than independently posted? I don't see any mention of a
dependency
On Thu, 2015-04-09 at 09:19 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> Signed-off-by: Igal Liberman
> ---
> .../devicetree/bindings/powerpc/fsl/guts.txt | 14 ++
> 1 file changed, 14 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/powerpc/fsl/gut
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote:
> The T1024 SoC includes the following function and features:
> - Two 64-bit Power architecture e5500 cores, up to 1.4GHz
> - private 256KB L2 cache each core and shared 256KB CoreNet platform cache
> (CPC)
> - 32-/64-bit DDR3L/DDR4 SDRAM mem
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote:
> T1024RDB is a Freescale Reference Design Board that hosts the T1024 SoC.
>
> T1024RDB board Overview
> ---
> - Processor: T1024 SoC integrating two 64-bit e5500 cores up to 1.4GHz
> - Memory: 64-bit 4GB DDR3L UDIMM with
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote:
> + clockgen: global-utilities@e1000 {
> + compatible = "fsl,t1023-clockgen", "fsl,qoriq-clockgen-2.0",
> +"fixed-clock";
> + reg = <0xe1000 0x1000>;
> + clock-output-name
On Wed, 2015-04-08 at 10:43 +0300, Igal.Liberman wrote:
> @@ -76,6 +77,52 @@ Required properties:
>
> Recommended properties:
> - clocks: Should be the phandle of input parent clock
> + For "fsl,fman-clk-mux" clock there are several options for parent
> + clock (clock provider), the par
On Tue, 2015-04-07 at 22:13 -0300, Rogério Brito wrote:
> Hi, Scott.
>
> On Apr 07 2015, Scott Wood wrote:
> > On Tue, 2015-04-07 at 21:37 -0300, Rogério Brito wrote:
> > > I see. If I do some "archaeology" (read: bisect when it stopped
> > > working), w
On Tue, 2015-04-07 at 21:37 -0300, Rogério Brito wrote:
> Dear Scott,
>
> Once again, thank you very much for your answer.
>
> On Apr 07 2015, Scott Wood wrote:
> > On Tue, 2015-04-07 at 20:58 -0300, Rogério Brito wrote:
> > > This is good to know. Is there any
On Tue, 2015-04-07 at 20:58 -0300, Rogério Brito wrote:
> Dear Scott.
>
> First of all, thank you so very much for your reply.
>
> On Apr 07 2015, Scott Wood wrote:
> > On Sat, 2015-04-04 at 02:40 -0300, Rogério Brito wrote:
> > > ,
> > > | physmap plat
On Fri, 2015-04-03 at 18:35 +0800, Shengzhou Liu wrote:
> + rcpm: global-utilities@e2000 {
> + compatible = "fsl,t1023-rcpm", "fsl,qoriq-rcpm-2.0";
> + reg = <0xe2000 0x1000>;
> + };
> +
> + sfp: sfp@e8000 {
> + compatible = "fsl,t1023-sfp";
> +
On Fri, 2015-04-03 at 18:35 +0800, Shengzhou Liu wrote:
> + board-control@2,0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "fsl,t1024-cpld", "fsl,deepsleep-cpld";
No "fsl,deepsleep-cpld". Just have the
On Tue, 2015-04-07 at 07:08 +0300, Igal.Liberman wrote:
> From: Igal Liberman
>
> Signed-off-by: Igal Liberman
> ---
> .../devicetree/bindings/clock/qoriq-clock.txt | 59
>
> 1 file changed, 59 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/
On Sat, 2015-04-04 at 02:40 -0300, Rogério Brito wrote:
> Unfortunately, right now, what I see with Linus's tree
> (4.0.0-rc6-9-g6c310bc) is the following:
>
> ,
> | physmap platform flash device: 0040 at ffc0
> | physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufactu
On Tue, 2015-04-07 at 10:19 +0200, leroy christophe wrote:
> Le 25/03/2015 01:45, Scott Wood a écrit :
> > On Fri, 2015-03-13 at 10:34 +1100, Michael Ellerman wrote:
> >> You'll need to collect ACKs, or get the individual patches merged, and
> >> then we
> >
On Tue, 2015-04-07 at 10:07 +0200, leroy christophe wrote:
> Le 21/03/2015 00:52, Scott Wood a écrit :
> > On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote:
> >> include/linux/mm.h: In function 'is_vmalloc_addr':
> >> include/linux/mm.h:367:1
This code can never be executed as it is only built when
CONFIG_PPC_E500MC is unset, but the only CPUs that have CPU_FTR_L2CSR
require CONFIG_PPC_E500MC and do not have the MSR/HID0-based nap
mechanism that this file uses.
Signed-off-by: Scott Wood
---
arch/powerpc/kernel/idle_e500.S | 9
On Fri, 2015-04-03 at 11:07 +0300, Purcareata Bogdan wrote:
> On 03.04.2015 02:11, Scott Wood wrote:
> > On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote:
> >> On 27.02.2015 03:05, Scott Wood wrote:
> >>> On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote:
> On 4/3/2015 2:01 PM, Paul Bolle wrote:
> > On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote:
> >> --- a/arch/powerpc/platforms/83xx/Kconfig
> >> +++ b/arch/powerpc/platforms/83xx/Kconfig
> >
> >> +# used for gpio
> >> +config PPC_MPC
Some workloads take a lot of TLB misses despite using traditional
hugepages. Handle these TLB misses in the asm fastpath rather than
going through a bunch of C code. With this patch I measured around a
5x speedup in handling hugepage TLB misses.
Signed-off-by: Scott Wood
---
arch/powerpc/mm
On Thu, 2015-04-02 at 16:37 -0500, Lijun Pan wrote:
> Merge Freescale's Internal mpc85xx_defconfig with upstream's.
> Run savedefconfig to get the minimal change.
What makes the internal config preferred without any explanation of why
we want or don't want specific config items? Especially where
On Thu, 2015-04-02 at 16:17 +0530, sand...@freescale.com wrote:
> From: Sandeep Singh
>
> This controller is available on many Freescale SOCs like MPC8315, P1020,
> P1010,
> P1022 and P1024
>
> Signed-off-by: Sandeep Singh
> Signed-off-by: Poonam Aggrwal
> ---
> Documentation/devicetree/bind
On Tue, 2015-03-31 at 18:00 +0800, yuantian.t...@freescale.com wrote:
> From: Tang Yuantian
>
> Otherwise there wil be no SCSI device nodes.
>
> Signed-off-by: Shaohui Xie
> Signed-off-by: Tang Yuantian
> ---
> arch/powerpc/configs/corenet64_smp_defconfig | 7 +++
> 1 file changed, 7 inse
On Tue, 2015-03-31 at 21:58 +0200, Filip Brozović wrote:
> On 3/31/2015 7:54 PM, Scott Wood wrote:
> > This breaks multiplatform support. You need to determine this at
> > runtime.
>
> Understood, but I'm unsure of how to do this exactly. Would it be
> approp
On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote:
> On 27.02.2015 03:05, Scott Wood wrote:
> > On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej Siewior wrote:
> >> On 02/26/2015 02:02 PM, Paolo Bonzini wrote:
> >>>
> >>>
> >>> On
Highlights include BMan device tree nodes, an MSI erratum workaround, a
couple minor performance improvements, config updates, and misc
fixes/cleanup.
The following changes since commit 6eca8933d3ff17bff39d5f10a2a22366d8622fa6:
powerpc/kernel: Rename copy_thread() 'arg' argument to 'kthread_arg
On Tue, Mar 24, 2015 at 11:55:09AM -0500, Emil Medve wrote:
> From: Kumar Gala
>
> Signed-off-by: Kumar Gala
> Signed-off-by: Geoff Thorpe
> Signed-off-by: Hai-Ying Wang
> Signed-off-by: Chunhe Lan
> Signed-off-by: Poonam Aggrwal
> [Emil Medve: Sync with the upstream binding]
> Signed-off-by
On Thu, 2015-04-02 at 06:16 -0500, Zhao Chenhui-B35336 wrote:
>
>
> From: Wood Scott-B07421
> Sent: Tuesday, March 31, 2015 10:07
> To: Zhao Chenhui-B35336
> Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org;
> linux-ker...@vger.kernel.org; Jin
On Thu, 2015-04-02 at 05:33 -0500, Zhao Chenhui-B35336 wrote:
> > +static int rcpm_v2_plat_enter_state(int state)
> > +{
> > + u32 *pmcsr_reg = &rcpm_v2_regs->powmgtcsr;
> > + int ret = 0;
> > + int result;
> > +
> > + switch (state) {
> > + case PLAT_PM_LPM20:
> > +
On Sat, 2015-03-28 at 17:59 +0100, Filip Brozovic wrote:
> diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c
> index c2518cd..f967ff6 100644
> --- a/arch/powerpc/sysdev/qe_lib/qe.c
> +++ b/arch/powerpc/sysdev/qe_lib/qe.c
> @@ -278,12 +278,17 @@ static void qe_snums_init
On Mon, 2015-03-30 at 22:32 -0500, Liu Shengzhou-B36685 wrote:
> > > > There are other differences between t1023 an t1024. Where do you
> > > > describe t1024's QE? Where do you describe the DDR and IFC differences?
> > > > can they be detected at runtime? t1024 supports deep sleep, but
> > > >
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote:
> The C version of csum_add() as defined in include/net/checksum.h gives the
> following assembly:
>0: 7c 04 1a 14 add r0,r4,r3
>4: 7c 64 00 10 subfc r3,r4,r0
>8: 7c 63 19 10
On Thu, Mar 26, 2015 at 06:18:15PM +0800, chenhui zhao wrote:
> In sleep mode, the clocks of e500 cores and unused IP blocks is
> turned off. The IP blocks which are allowed to wake up the processor
> are still running.
>
> The sleep mode is equal to the Standby state in Linux. Use the
> command t
On Thu, Mar 26, 2015 at 06:18:14PM +0800, chenhui zhao wrote:
> Implemented CPU hotplug on e500mc, e5500 and e6500, and support
> multiple threads mode and 64-bits mode.
>
> For e6500 with two threads, if one thread is online, it can
> enable/disable the other thread in the same core. If two threa
On Thu, Mar 26, 2015 at 06:18:13PM +0800, chenhui zhao wrote:
> There is a RCPM (Run Control/Power Management) in Freescale QorIQ
> series processors. The device performs tasks associated with device
> run control and power management.
>
> The driver implements some features: mask/unmask irq, ente
On Thu, Mar 26, 2015 at 06:18:12PM +0800, chenhui zhao wrote:
> Various e500 core have different cache architecture, so they
> need different cache flush operations. Therefore, add a callback
> function cpu_flush_caches to the struct cpu_spec. The cache flush
> operation for the specific kind of e5
On Tue, 2015-03-24 at 03:26 -0500, Emil Medve wrote:
> Hello Scott,
>
>
> On 03/23/2015 06:30 PM, Scott Wood wrote:
> > On Thu, 2015-02-26 at 09:26 -0600, Emil Medve wrote:
> >> From: Igal Liberman
> >>
> >> Signed-off-by: Igal Liberman
> >&
On Mon, 2015-03-30 at 06:08 -0500, Liu Shengzhou-B36685 wrote:
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Friday, January 30, 2015 9:20 AM
> > To: Liu Shengzhou-B36685
> > Cc: linuxppc-dev@lists.ozlabs.org
> > Subject: Re: [1/4] powerpc/fsl-booke: Add device tree support f
On Fri, 2015-03-27 at 10:45 +1100, Michael Ellerman wrote:
> On Thu, 2015-03-26 at 10:31 -0500, Emil Medve wrote:
> > Hello Kumar,
> >
> >
> > On 03/26/2015 10:18 AM, Kumar Gala wrote:
> > > Why no commit message with what issue this change was trying to fix?
> >
> > A while back, when I attempt
On Thu, 2015-03-26 at 17:15 +0800, ying.zh...@freescale.com wrote:
> From: Ying Zhang
>
> Create the dts files for each core and splits the devices between
> the two cores for P1021RDB-PC.
>
> Core0 has l2, serial0, i2c, spi, gpio, tdm,dma, usb, eth0, eth1,
> sdhc, crypto, global-util, message,
On Thu, 2015-03-26 at 17:14 +0800, ying.zh...@freescale.com wrote:
> From: Ying Zhang
>
> The dts file support QE-TDM function and PQ-MDS-T1 card for P1021RDB.
> PQ-MDS-T1 is connected to the board by PMC, there is a zarlink le88266
> on the card, we configure it by QE-SPI. Because PMC has a shar
On Tue, Feb 03, 2015 at 12:38:16PM +0100, LEROY Christophe wrote:
> Since commit 33fb845a6f01 ("powerpc/8xx: Don't use MD_TWC for walk"), MD_EPN
> and
> MD_TWC are not writen anymore in FixupDAR so saving r3 has become useless.
>
> Signed-off-by: Christophe Leroy
> ---
> v2: no change
> v3: no c
Commit bb344ca5b90df6 ("powerpc/mpc85xx: Add ranges to etsec2 nodes")
fixes a bug that was exposed by commit 746c9e9f92dd ("of/base: Fix
PowerPC address parsing hack"). The latter commit was applied to stable
trees, so the former should be as well.
-Scott
On Tue, 2015-02-03 at 12:39 +0100, Christophe Leroy wrote:
> csum_tcpudp_magic() is only a few instructions, and does not modifies any
> other
> register than the returned result. So it is not worth having it as a separate
> function and suffer function branching and saving of volatile registers.
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote:
> The C version of csum_add() as defined in include/net/checksum.h gives the
> following assembly:
>0: 7c 04 1a 14 add r0,r4,r3
>4: 7c 64 00 10 subfc r3,r4,r0
>8: 7c 63 19 10
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote:
> On PPC_8xx, lwz has a 2 cycles latency, and branching also takes 2 cycles.
> As the size of the header is minimum 5 words, we can unroll the loop for the
> first words to reduce number of branching, and we can re-order the
> instr
On Fri, 2015-03-13 at 10:34 +1100, Michael Ellerman wrote:
> On Thu, 2015-03-12 at 16:24 +0100, Christophe Leroy wrote:
> > Two config options exist to define powerpc MPC8xx:
> > * CONFIG_PPC_8xx
> > * CONFIG_8xx
> > In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as
> > communication co-proce
On Thu, 2015-02-26 at 09:26 -0600, Emil Medve wrote:
> From: Igal Liberman
>
> Signed-off-by: Igal Liberman
> ---
> arch/powerpc/boot/dts/fsl/b4si-post.dtsi| 11 +++
> arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 8
> arch/powerpc/boot/dts/fsl/p3041si-post.dtsi | 8 +
On Fri, 2015-02-27 at 09:16 -0600, Emil Medve wrote:
> From: Kumar Gala
>
> Signed-off-by: Kumar Gala
> Signed-off-by: Geoff Thorpe
> Signed-off-by: Hai-Ying Wang
> Signed-off-by: Chunhe Lan
> Signed-off-by: Poonam Aggrwal
> [Emil Medve: Sync with the upstream binding]
> Signed-off-by: Emil
by: Li Yang
[scottw...@freescale.com: changelog update]
Signed-off-by: Scott Wood
Cc: Arseny Solokha
Cc: Michael Ellerman
---
I plan to push this patch and the patch that depends on it
(http://patchwork.ozlabs.org/patch/443826/) for this merge window.
arch/powerpc/include/asm/mpic.h | 3 +++
arch/p
On Tue, 2015-01-20 at 10:57 +0100, Christophe Leroy wrote:
> By default, TASK_SIZE is set to 0x8000 for PPC_8xx, which is most likely
> sufficient for most cases. However, kernel configuration allows to set
> TASK_SIZE
> to another value, so the 8xx shall handle it.
>
> Signed-off-by: Christo
On Fri, Dec 05, 2014 at 12:20:25PM +0100, LEROY Christophe wrote:
> When size is equal to 1, the test is always true so lets eliminate both 0 and
> 1
> at first.
>
> include/asm-generic/termios-base.h: In function
> 'user_termio_to_kernel_termios':
> include/asm-generic/termios-base.h:35:2: warn
On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote:
> include/linux/mm.h: In function 'is_vmalloc_addr':
> include/linux/mm.h:367:14: warning: comparison between signed and unsigned
> integer expressions [-Wsign-compare]
> return addr >= VMALLOC_START && addr < VMALLOC_END;
>
On Thu, 2015-03-12 at 10:46 -0500, Bhushan Bharat-R65777 wrote:
>
>
> > -Original Message-
> > From: Wood Scott-B07421
> > Sent: Thursday, March 12, 2015 4:53 AM
> > To: Bhushan Bharat-R65777
> > Cc: linuxppc-...@ozlabs.org
> > Subject: Re: [PATCH 3/4 RFC] fsl/msi: Add MSI bank allocation
On Fri, 2015-03-13 at 17:38 +1100, Michael Ellerman wrote:
> On Fri, 2015-03-13 at 15:39 +1100, Michael Ellerman wrote:
> > We currently have a "special" syscall for switching endianness. This is
> > syscall number 0x1ebe, which is handled explicitly in the 64-bit syscall
> > exception entry.
> >
Use %pS for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pF expects a function descriptor. Even on
other architectures, refrain from setting a bad example that people
copy.
Signed-off-by: Scott Wood
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/power
On Tue, 2015-03-03 at 10:47 +0530, Bharat Bhushan wrote:
> This patch allows a context (different from kernel context)
> to reserve a MSI bank for itself. And then the devices in the
> context will share the MSI bank.
>
> VFIO meta driver is one of typical user of these APIs. It will
> reserve a M
On Tue, 2015-03-03 at 10:47 +0530, Bharat Bhushan wrote:
> With this patch a "context" can allocate a MSI bank and use the
> allocated MSI-bank for the devices in that "context".
>
> kernel/host "context" is "NULL", So all devices owned by kernel
> will share a MSI bank allocated with "context = N
On Wed, 2015-03-04 at 23:45 -0600, Emil Medve wrote:
> From: Igal Liberman
>
> Signed-off-by: Igal Liberman
> ---
> drivers/soc/Kconfig |1 +
> drivers/soc/Makefile |1 +
> drivers/soc/fsl/Kconfig |1 +
> drivers/soc/fsl/Makefile |1 +
> drivers/soc
On Fri, 2015-02-27 at 10:02 -0600, Kumar Gala wrote:
> On Jan 20, 2015, at 6:03 AM, Igal.Liberman
> wrote:
> > + guts_regs = of_iomap(guts, 0);
> > + of_node_put(guts);
> > + if (!guts_regs) {
> > + pr_err("ioremap of GUTS node failed\n");
> > + return -EINVAL;
> > + }
On Wed, 2015-03-04 at 00:44 -0600, Jia Hongtao-B38951 wrote:
> Hi Scott,
>
> I sent V3 of this patch a few days ago.
> Comments are welcome.
Patience is welcome. :-)
-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozl
On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej Siewior wrote:
> On 02/26/2015 02:02 PM, Paolo Bonzini wrote:
> >
> >
> > On 24/02/2015 00:27, Scott Wood wrote:
> >> This isn't a host PIC driver. It's guest PIC emulation, some of which
>
On Wed, 2015-02-25 at 20:39 -0600, Jia Hongtao-B38951 wrote:
> Hi Scott,
>
> I'm really sorry for leave this patch like a zombie.
> Now I have plan to revisit this patch.
>
> From the previous comments the compile error was fixed.
> But beyond that I have had no plan to update it.
>
> Could you
On Tue, 2015-01-20 at 14:03 +0200, Igal.Liberman wrote:
> +static u8 get_fm_clk_parent(struct clk_hw *hw)
> +{
> + struct ccsr_guts __iomem *guts_regs = NULL;
> + struct device_node *guts;
> + uint32_t reg = 0;
> + int clk_src = 0;
> + int fm_clk_select = -EINVAL;
> + int fm
On Wed, 2015-02-04 at 14:47 +0800, Dongsheng Wang wrote:
> +void ppc_md_fixup(void)
> +{
This name is way too generic (though it's moot since you shouldn't use
ppc_md for this).
> + struct device_node *np;
> +
> + np = of_find_compatible_node(NULL, NULL, "fsl,fpga-qixis");
> + if (!np
On Mon, 2015-02-02 at 00:53 -0600, Emil Medve wrote:
> From: Kumar Gala
>
> Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760
Remove these.
-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux
On Sun, 2015-02-01 at 15:48 -0600, Emil Medve wrote:
> From: Andy Fleming
>
> Change-Id: I4489db79957ad533f4ba3f04fe7d5bcb3288e981
Again, remove these.
-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listi
On Tue, 2015-01-20 at 04:09 -0600, Emil Medve wrote:
> Where the memset() is not necessary
>
> Signed-off-by: Emil Medve
> ---
> drivers/clk/clk-ppc-corenet.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c
>
On Tue, 2015-01-20 at 04:09 -0600, Emil Medve wrote:
> Change-Id: I1a80ad7b9f6854791bd270b746f93a91439155a6
> Signed-off-by: Emil Medve
No Change-Id, and don't bundle patches meant for my tree in the same
patchset as patches meant for other trees. There's no dependency
between them.
-Scott
__
On Wed, 2015-02-25 at 07:40 +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2015-02-24 at 14:34 -0600, Scott Wood wrote:
> > On Fri, 2015-02-20 at 19:35 +1100, Benjamin Herrenschmidt wrote:
> > > static u64 dma_direct_get_required_mask(struct device *dev)
> > > diff --gi
On Fri, 2015-02-20 at 19:35 +1100, Benjamin Herrenschmidt wrote:
> @@ -149,14 +141,13 @@ static void dma_direct_unmap_sg(struct device *dev,
> struct scatterlist *sg,
>
> static int dma_direct_dma_supported(struct device *dev, u64 mask)
> {
> -#ifdef CONFIG_PPC64
> - /* Could be improved s
On Fri, 2015-02-20 at 15:54 +0100, Sebastian Andrzej Siewior wrote:
> On 02/20/2015 03:12 PM, Paolo Bonzini wrote:
> >> Thomas, what is the usual approach for patches like this? Do you take
> >> them into your rt tree or should they get integrated to upstream?
> >
> > Patch 1 is definitely suitabl
t Linux.
> > Until the KVM openpic code is refactored to use finer lock granularity,
> > impose
> > a limitation on the number of VCPUs a guest can have when running on a
> > PREEMPT_RT_FULL system with KVM_MPIC emulation.
> >
> > Signed-off-by: Mihai Carama
901 - 1000 of 4616 matches
Mail list logo