NTP server sync issue

2012-01-23 Thread smitha.vanga
Hi , On my target the date time in linux is not getting updated as per The NTP server date. The update of date and sync between NTP server and NTP client on the target happens Correctly when the NTP server is made up and then the ntp client is made up. If I make the NTP server down and then

arch/powerpc/platforms/83xx/misc.c

2012-01-23 Thread Sridhar Addagada
I have a hang problem on my board based on MPC8377EWLAN, here is how i ran into problem. We are using u-boot to load the kernel, rootfs and device tree.  The kernel parameters have been set root=/dev/ram rw rootfstype=ext2 ramdisk_size=131322 console=ttyS0,115200 but I load the rootfs image g

RFC v2 irq_domain rework posted to linux-kernel. (Was: [RFCv2 00/14])

2012-01-23 Thread Grant Likely
On Mon, Jan 23, 2012 at 2:53 PM, Rob Herring wrote: > On 01/23/2012 03:07 PM, Grant Likely wrote: >> >> Hey everyone, >> >> Here's the second RFC for the irq_domain patches.  I could use some >> help testing now.  I still expect there will be a few bugs.  The >> series is based on v3.3-rc1, and I'

Re: [RFCv2 00/14]

2012-01-23 Thread Rob Herring
On 01/23/2012 03:07 PM, Grant Likely wrote: > > Hey everyone, > > Here's the second RFC for the irq_domain patches. I could use some > help testing now. I still expect there will be a few bugs. The > series is based on v3.3-rc1, and I've pushed it out to my git server: > > git://git.secretlab

[RFCv2 11/14] irq_domain: Replace irq_alloc_host() with revmap-specific initializers

2012-01-23 Thread Grant Likely
Each revmap type has different arguments for setting up the revmap. This patch splits up the generator functions so that each revmap type can do its own setup and the user doesn't need to keep track of how each revmap type handles the arguments. This patch also adds a host_data argument to the gen

[RFCv2 12/14] irq_domain: Add support for base irq and hwirq in legacy mappings

2012-01-23 Thread Grant Likely
Add support for a legacy mapping where irq = (hwirq - first_hwirq + first_irq) so that a controller driver can allocate a fixed range of irq_descs and use a simple calculation to translate back and forth between linux and hw irq numbers. This is needed to use an irq_domain with many of the ARM int

[RFCv2 14/14] irq_domain: Remove irq_domain_add_simple()

2012-01-23 Thread Grant Likely
irq_domain_add_simple() was a stop-gap measure until complete irq_domain support was complete. This patch removes the irq_domain_add_simple() interface. v2: Updated to pass in host_data pointer on irq_domain allocation. Signed-off-by: Grant Likely --- arch/arm/mach-imx/mach-imx6q.c |3

[RFCv2 13/14] irq_domain: Remove 'new' irq_domain in favour of the ppc one

2012-01-23 Thread Grant Likely
This patch removes the simplistic implementation of irq_domains and enables the powerpc infrastructure for all irq_domain users. The powerpc infrastructure includes support for complex mappings between Linux and hardware irq numbers, and can manage allocation of irq_descs. This patch also convert

[RFCv2 10/14] irq_domain: Remove references to old irq_host names

2012-01-23 Thread Grant Likely
No functional changes. Replaces non-exported references to 'host' with domain. Does not change any symbol names referenced by other .c files. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt --- kernel/irq/irqdomain.c | 219 1 files chang

[RFCv2 08/14] irq_domain: Move irq_domain code from powerpc to kernel/irq

2012-01-23 Thread Grant Likely
This patch only moves the code. It doesn't make any changes, and the code is still only compiled for powerpc. Follow-on patches will generalize the code for other architectures. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt --- arch/powerpc/Kconfig |1 + arch/powerpc/in

[RFCv2 09/14] irqdomain: remove NO_IRQ from irq domain code

2012-01-23 Thread Grant Likely
zero always means no irq when using irq domains. Get rid of the NO_IRQ references. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt --- kernel/irq/irqdomain.c | 38 +++--- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/kernel/irq/irqdom

[RFCv2 06/14] irq_domain/powerpc: eliminate irq_map; use irq_alloc_desc() instead

2012-01-23 Thread Grant Likely
This patch drops the powerpc-specific irq_map table and replaces it with directly using the irq_alloc_desc()/irq_free_desc() interfaces for allocating and freeing irq_desc structures. This patch is a preparation step for generalizing the powerpc-specific virq infrastructure to become irq_domains.

[RFCv2 07/14] irq_domain/powerpc: Eliminate virq_is_host()

2012-01-23 Thread Grant Likely
There is only one user, and it is trivial to open-code. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt --- arch/powerpc/include/asm/irq.h |1 - arch/powerpc/kernel/irq.c |7 --- arch/powerpc/sysdev/xics/xics-common.c | 12 ++-- 3 files changed,

[RFCv2 01/14] irq_domain: add documentation and MAINTAINERS entry.

2012-01-23 Thread Grant Likely
Documentation for irq_domain library which will be created in subsequent patches. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt Cc: Thomas Gleixner --- Documentation/IRQ-domain.txt | 113 ++ MAINTAINERS |9 +++ 2 files chan

[RFCv2 02/14] dt: Make irqdomain less verbose

2012-01-23 Thread Grant Likely
It printk's too much. Drop some output. Signed-off-by: Grant Likely Cc: Thomas Gleixner --- kernel/irq/irqdomain.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 1f9e265..cc2cd43 100644 --- a/kernel/irq/irqdomai

[RFCv2 03/14] irq_domain: Make irq_domain structure match powerpc's irq_host

2012-01-23 Thread Grant Likely
Part of the series to unify the irq remapping mechanisms in the kernel. A follow up patch will copy the powerpc implementation into kernel/irq/irqdomain.c, which will be a lot easier if the structures are identical. Where they differ, I've chose to use the powerpc names since there is a lot more

[RFCv2 04/14] irq_domain: convert microblaze from irq_host to irq_domain

2012-01-23 Thread Grant Likely
Trivial change, microblaze doesn't use irq remapping yet. Signed-off-by: Grant Likely Cc: Michal Simek --- arch/microblaze/include/asm/irq.h |4 ++-- arch/microblaze/kernel/irq.c |2 +- arch/microblaze/kernel/setup.c|2 -- 3 files changed, 3 insertions(+), 5 deletions(-) d

[RFCv2 00/14]

2012-01-23 Thread Grant Likely
Hey everyone, Here's the second RFC for the irq_domain patches. I could use some help testing now. I still expect there will be a few bugs. The series is based on v3.3-rc1, and I've pushed it out to my git server: git://git.secretlab.ca/git/linux-2.6.git irqdomain/next On Wed, Jan 11, 2012 a

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-23 Thread Benjamin Herrenschmidt
On Mon, 2012-01-23 at 13:21 -0600, Scott Wood wrote: > > BTW, for non-booke, when is DEC checked when interrupts are hard-enabled > > as part of exception return? Likewise with the PS3 HV thing. I only > > see the iseries check in the exception path. Exception return restores them to their prev

Re: Searching TLB entry for a page frame number.

2012-01-23 Thread Scott Wood
On 01/23/2012 01:49 AM, Arshad, Farrukh wrote: > Greetings All, > > > > I have a quick question regarding TLB dump for P1022. Please excuse me > for being naïve. I want to dump the TLB entry for a page number. I know > my page frame number. If I read TLB0 dump using tlbre instruction, the > ins

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-23 Thread Scott Wood
On 01/20/2012 05:02 PM, Benjamin Herrenschmidt wrote: > >> With Topaz, interrupts go directly to guests and we don't want to require a >> trap/hcall to do an IACK, as that adds potentially thousands of cycles of >> latency to every interrupt. >> >> As you know, with external proxy interrupts are a

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-23 Thread Scott Wood
On 01/20/2012 05:05 PM, Benjamin Herrenschmidt wrote: > On Thu, 2012-01-19 at 13:29 -0600, Stuart Yoder wrote: >> Also, Scott had posted an approach to do option #2 a while back, >> but as I recall there was some negative feedback about this. See: >>

Problem with ADS512101 : Switch from serial I/O to LCD

2012-01-23 Thread ehodys
Hello all, I am newbie about porting Linux on a ADS512101 Dev tool and I don't know how to put the video display at work. The only thing that works is the serial interface and I find no information to switch to the LCD display. Can some one help me please, thank you. Best regards Edgar

Cannot wake-up from standby with MPC8313

2012-01-23 Thread nvbolhuis
> > It is mentioned in the MPC8313E manual (4.2.2 step #10) that TRST must > not be asserted except when PORESET is asserted. The mpc8313erdb bug > was that the board was not complying with this. > ok, I see. The board did not comply to the spec and as a side-effect PMC registers could not be a

Re: Cannot wake-up from standby with MPC8313

2012-01-23 Thread ehodys
Hello al, I am newbie about porting Linux on a ADS512101 Dev tool and I don't know how to put the video display at work. The only thing that works is the serial interface and I find no information to switch to the LCD display. Can some one help me please, thank you. Best regards Edgar _

Searching TLB entry for a page frame number.

2012-01-23 Thread Arshad, Farrukh
Greetings All, I have a quick question regarding TLB dump for P1022. Please excuse me for being naïve. I want to dump the TLB entry for a page number. I know my page frame number. If I read TLB0 dump using tlbre instruction, the instruction output TLB0 entries in MAS0 - MAS3 registers. After th