From: Robert Jarzmik <robert.jarzmik-GANU6spQydw@public.gmane.org>
To: Vaibhav Hiremath
<vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
yizhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family
Date: Mon, 20 Jul 2015 22:30:55 +0200 [thread overview]
Message-ID: <87si8ifu68.fsf@belgarion.home> (raw)
In-Reply-To: <55AC9F61.3090207-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> (Vaibhav Hiremath's message of "Mon, 20 Jul 2015 12:42:33 +0530")
Vaibhav Hiremath <vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> writes:
> On Monday 20 July 2015 12:39 PM, Vaibhav Hiremath wrote:
>>
>>
>> On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote:
>>>
>>>
>>> On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote:
>>>> Vaibhav Hiremath <vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> writes:
>>>>
>>>>>> So, I applied patches 1-6 to for-next to make some progress.
>>>>>>
>>>>>> The others need more thought because of the bindings which shall be
>>>>>> discussed replying to the patches in question.
>>>>>>
>>>>>> Thanks for the updated work with lots of proper references.
>>>>>>
>>>>>
>>>>> OK, Thanks and no issues.
>>>>>
>>>>> Lets discuss more on the bindings.
>>>>
>>>> I made a simple try on my reference platform with the whole patchset.
>>>> It oopses on a NULL dereference.
>>>>
>>>> The stack is in [1].
>>>> I think it boils down to :
>>>> - i2c_pxa_do_sclk_adj()
>>>> - reg_ilcr = readl(_ILCR(i2c));
>>>>
>>>> I also think the faulty patch is :
>>>> - i2c: pxa: Add ILCR (tLow & tHigh) configuration support
>>>>
>>>> My case, an I2C master case, I'd like you to find the issue and fix it.
>>>>
>>>
>>> Which is this reference platform?
>>> Can you share few details -
>>>
>>> - reference Platform?
Mitac Mio A701, pxa270.
>>> - DT file if you could
None, ran in platform_data mode.
>>> - Boot log (if you could)
You already found the issue, no need for that anymore.
>>> I am using pxa1928 based platform, and I do not see any issues.
>> Having said that,
>> I see issues in the patch for non PXA910 platform, where
>> i2c_pxa_do_sclk_adj() will be called unconditionally and obviously
>> reg_ilcr and reg_wcr are not set.
Yep.
>> I will fix this and send the patch.
>
> This should fix the issue -
Most probably yes.
> If you are ok, I will re-spin the patch and submit.
Yes, I'm ok, let's try the next iteration.
Cheers.
--
Robert
WARNING: multiple messages have this Message-ID (diff)
From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Cc: Wolfram Sang <wsa@the-dreams.de>,
linux-i2c@vger.kernel.org, robh+dt@kernel.org,
yizhang@marvell.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family
Date: Mon, 20 Jul 2015 22:30:55 +0200 [thread overview]
Message-ID: <87si8ifu68.fsf@belgarion.home> (raw)
In-Reply-To: <55AC9F61.3090207@linaro.org> (Vaibhav Hiremath's message of "Mon, 20 Jul 2015 12:42:33 +0530")
Vaibhav Hiremath <vaibhav.hiremath@linaro.org> writes:
> On Monday 20 July 2015 12:39 PM, Vaibhav Hiremath wrote:
>>
>>
>> On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote:
>>>
>>>
>>> On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote:
>>>> Vaibhav Hiremath <vaibhav.hiremath@linaro.org> writes:
>>>>
>>>>>> So, I applied patches 1-6 to for-next to make some progress.
>>>>>>
>>>>>> The others need more thought because of the bindings which shall be
>>>>>> discussed replying to the patches in question.
>>>>>>
>>>>>> Thanks for the updated work with lots of proper references.
>>>>>>
>>>>>
>>>>> OK, Thanks and no issues.
>>>>>
>>>>> Lets discuss more on the bindings.
>>>>
>>>> I made a simple try on my reference platform with the whole patchset.
>>>> It oopses on a NULL dereference.
>>>>
>>>> The stack is in [1].
>>>> I think it boils down to :
>>>> - i2c_pxa_do_sclk_adj()
>>>> - reg_ilcr = readl(_ILCR(i2c));
>>>>
>>>> I also think the faulty patch is :
>>>> - i2c: pxa: Add ILCR (tLow & tHigh) configuration support
>>>>
>>>> My case, an I2C master case, I'd like you to find the issue and fix it.
>>>>
>>>
>>> Which is this reference platform?
>>> Can you share few details -
>>>
>>> - reference Platform?
Mitac Mio A701, pxa270.
>>> - DT file if you could
None, ran in platform_data mode.
>>> - Boot log (if you could)
You already found the issue, no need for that anymore.
>>> I am using pxa1928 based platform, and I do not see any issues.
>> Having said that,
>> I see issues in the patch for non PXA910 platform, where
>> i2c_pxa_do_sclk_adj() will be called unconditionally and obviously
>> reg_ilcr and reg_wcr are not set.
Yep.
>> I will fix this and send the patch.
>
> This should fix the issue -
Most probably yes.
> If you are ok, I will re-spin the patch and submit.
Yes, I'm ok, let's try the next iteration.
Cheers.
--
Robert
next prev parent reply other threads:[~2015-07-20 20:30 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 7:36 [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family Vaibhav Hiremath
2015-07-14 7:36 ` Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 01/11] i2c: pxa: keep i2c irq ON in suspend Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 02/11] i2c: pxa: No need to set slave addr for i2c master mode reset Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 03/11] i2c: pxa: Return I2C_RETRY when timeout in pio mode Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 04/11] i2c: pxa: Fix compile warning in 64bit mode Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 06/11] i2c:pxa: Use devm_ variants in probe function Vaibhav Hiremath
[not found] ` <1436859410-28878-7-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-14 11:35 ` Wolfram Sang
2015-07-14 11:35 ` Wolfram Sang
2015-07-14 11:39 ` Vaibhav Hiremath
2015-07-14 11:39 ` Vaibhav Hiremath
[not found] ` <55A4F509.6010009-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-14 11:45 ` Wolfram Sang
2015-07-14 11:45 ` Wolfram Sang
[not found] ` <1436859410-28878-1-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-14 7:36 ` [PATCH-v4 05/11] i2c: pxa: Update debug function to dump more info on error Vaibhav Hiremath
2015-07-14 7:36 ` Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 07/11] i2c: pxa: enable/disable i2c module across msg xfer Vaibhav Hiremath
2015-07-14 7:36 ` Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 08/11] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Vaibhav Hiremath
2015-07-14 7:36 ` Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 10/11] i2c: pxa: Add ILCR (tLow & tHigh) configuration support Vaibhav Hiremath
2015-07-14 7:36 ` Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 09/11] i2c: pxa: Add support for pxa910/988 & new configuration features Vaibhav Hiremath
2015-07-14 7:36 ` [PATCH-v4 11/11] Documentation: binding: add sclk adjustment properties to i2c-pxa Vaibhav Hiremath
2015-07-14 11:34 ` [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family Wolfram Sang
2015-07-14 11:36 ` Vaibhav Hiremath
[not found] ` <55A4F434.9080407-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-17 19:49 ` Robert Jarzmik
2015-07-17 19:49 ` Robert Jarzmik
[not found] ` <87d1zqimyc.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
2015-07-20 7:06 ` Vaibhav Hiremath
2015-07-20 7:06 ` Vaibhav Hiremath
2015-07-20 7:09 ` Vaibhav Hiremath
[not found] ` <55AC9E8E.8080708-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-20 7:12 ` Vaibhav Hiremath
2015-07-20 7:12 ` Vaibhav Hiremath
[not found] ` <55AC9F61.3090207-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-20 20:30 ` Robert Jarzmik [this message]
2015-07-20 20:30 ` Robert Jarzmik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87si8ifu68.fsf@belgarion.home \
--to=robert.jarzmik-ganu6spqydw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
--cc=yizhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.