Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1221941

Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel

From Petr Cvek <petr.cvek@tul.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel
Date 2015-09-10 08:20 +0200
Message-ID <q73nc-1HZ-23@gated-at.bofh.it> (permalink)
References <q4wc2-3Qp-7@gated-at.bofh.it> <q4wc2-3Qp-23@gated-at.bofh.it> <q6xGH-6yx-25@gated-at.bofh.it> <q6Cdj-4EY-7@gated-at.bofh.it> <q6HcZ-3pc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Dne 9.9.2015 v 08:25 Robert Jarzmik napsal(a):
> Petr Cvek <petr.cvek@tul.cz> writes:
> 
>> Dne 8.9.2015 v 22:24 Petr Cvek napsal(a):
>>>
>>> Did you defined resources somewhere? Actual resources are in
>>> "pxa_ir_resources" variable at:
> I have them in patch [1], which is exactly the patch you have made yourself.

Is there a mailing list for this specific patch? It seems I did not get any mail with it.

> 
>> I tried to add following patch for new resources, but now it fails with:
>>
>> [  141.534545] pxa2xx-ir pxa2xx-ir: can't request region for resource [mem 0x40700000-0x40700100]
>> [  141.534574] pxa2xx-ir pxa2xx-ir: resource stuart not defined
>> [  141.534656] pxa2xx-ir: probe of pxa2xx-ir failed with error -16
>>
>> That's because STUART is allocated by normal UART driver at:
>>
>> 	http://lxr.free-electrons.com/source/arch/arm/mach-pxa/devices.c#L244
>>
>> So somehow there must be configuration for STUART used with FICP and STUART
>> alone (probably can be used for normal UART).
> That's because you have to remove from magician.c:
> 	pxa_set_stuart_info(NULL);
> 

Thanks, I missed that.

BTW This patch required update of my kernel repo. It seems that my:

	magician.c patches + ficp patch + new dma engine

does not work for me at all. Kernel throws some panic about interrupts and then it ends in an infinite stack dumping loop. Fault occurs before rootfs is mounted, so probably around MMC init (with removed SD card it fails normally with no rootfs found error).

Is it required to change something in the mach-pxa machine specific files?

Which hardware was used for testing new dma engine implementation? Notably MMC driver part, probably commit:

	6464b71409511939efce1ae4fb4ec6e3483b11b2

Best regards,
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-08 22:30 +0200
  Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-09 03:20 +0200
    Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-09 08:40 +0200
      Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-10 08:20 +0200
        Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-10 13:20 +0200
          Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-11 03:50 +0200
            Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-11 08:30 +0200
              Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-12 06:20 +0200
                Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-12 13:10 +0200
                Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel Petr Cvek <petr.cvek@tul.cz> - 2015-09-13 04:50 +0200

csiph-web