Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1491093 > unrolled thread
| Started by | Stephen Boyd <stephen.boyd@linaro.org> |
|---|---|
| First post | 2016-09-26 08:40 +0200 |
| Last post | 2016-10-03 23:00 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions Stephen Boyd <stephen.boyd@linaro.org> - 2016-09-26 08:40 +0200
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-09-26 18:00 +0200
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions Linus Walleij <linus.walleij@linaro.org> - 2016-10-03 15:40 +0200
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions John Crispin <john@phrozen.org> - 2016-10-03 16:30 +0200
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions Linus Walleij <linus.walleij@linaro.org> - 2016-10-04 00:40 +0200
Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions Stephen Boyd <stephen.boyd@linaro.org> - 2016-10-03 23:00 +0200
| From | Stephen Boyd <stephen.boyd@linaro.org> |
|---|---|
| Date | 2016-09-26 08:40 +0200 |
| Subject | Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions |
| Message-ID | <slxK1-kB-23@gated-at.bofh.it> |
On Mon, Sep 12, 2016 at 2:36 AM, John Crispin <john@phrozen.org> wrote:
> The following commit introduced a regression by not properly masking the
> calculated value.
>
> commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits")
>
> Signed-off-by: John Crispin <john@phrozen.org>
Now I'm confused how it ever worked.... but agreed, the code looks wrong.
Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
> ---
> drivers/pinctrl/qcom/pinctrl-msm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c
> index 51c42d7..775c883 100644
> --- a/drivers/pinctrl/qcom/pinctrl-msm.c
> +++ b/drivers/pinctrl/qcom/pinctrl-msm.c
> @@ -156,7 +156,7 @@ static int msm_pinmux_set_mux(struct pinctrl_dev *pctldev,
> spin_lock_irqsave(&pctrl->lock, flags);
>
> val = readl(pctrl->regs + g->ctl_reg);
> - val &= mask;
> + val &= ~mask;
> val |= i << g->mux_bit;
> writel(val, pctrl->regs + g->ctl_reg);
>
[toc] | [next] | [standalone]
| From | Bjorn Andersson <bjorn.andersson@linaro.org> |
|---|---|
| Date | 2016-09-26 18:00 +0200 |
| Message-ID | <slGtX-5EQ-9@gated-at.bofh.it> |
| In reply to | #1491093 |
On Sun 25 Sep 23:36 PDT 2016, Stephen Boyd wrote:
> On Mon, Sep 12, 2016 at 2:36 AM, John Crispin <john@phrozen.org> wrote:
> > The following commit introduced a regression by not properly masking the
> > calculated value.
> >
> > commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits")
Please use the format: Fixes: %h (\"%s\")
> >
> > Signed-off-by: John Crispin <john@phrozen.org>
>
> Now I'm confused how it ever worked.... but agreed, the code looks wrong.
I agree, we should have seen some issues based on this, I presume we
where "lucky".
>
> Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
@Linus, the corrected patch appeared in v4.8-rc1, would you mind
including this in a pull for v4.8?
Regards,
Bjorn
> > ---
> > drivers/pinctrl/qcom/pinctrl-msm.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c
> > index 51c42d7..775c883 100644
> > --- a/drivers/pinctrl/qcom/pinctrl-msm.c
> > +++ b/drivers/pinctrl/qcom/pinctrl-msm.c
> > @@ -156,7 +156,7 @@ static int msm_pinmux_set_mux(struct pinctrl_dev *pctldev,
> > spin_lock_irqsave(&pctrl->lock, flags);
> >
> > val = readl(pctrl->regs + g->ctl_reg);
> > - val &= mask;
> > + val &= ~mask;
> > val |= i << g->mux_bit;
> > writel(val, pctrl->regs + g->ctl_reg);
> >
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2016-10-03 15:40 +0200 |
| Message-ID | <sobDj-5y2-5@gated-at.bofh.it> |
| In reply to | #1491387 |
On Mon, Sep 26, 2016 at 5:52 PM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> On Sun 25 Sep 23:36 PDT 2016, Stephen Boyd wrote:
>
>> On Mon, Sep 12, 2016 at 2:36 AM, John Crispin <john@phrozen.org> wrote:
>> > The following commit introduced a regression by not properly masking the
>> > calculated value.
>> >
>> > commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits")
>
> Please use the format: Fixes: %h (\"%s\")
>
>> >
>> > Signed-off-by: John Crispin <john@phrozen.org>
>>
>> Now I'm confused how it ever worked.... but agreed, the code looks wrong.
>
> I agree, we should have seen some issues based on this, I presume we
> where "lucky".
>
>>
>> Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
>>
>
> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>
> @Linus, the corrected patch appeared in v4.8-rc1, would you mind
> including this in a pull for v4.8?
I would have, had I been more attentive. And you even told me in person to
look at this :/ sorry.
Now I have the problem that I don't have the original patch in my inbox
at all: it might have been sent to some qcom-specific mailing list?
John: can you include the ACKs and resend with me on the To: line?
Yours,
Linus Walleij
[toc] | [prev] | [next] | [standalone]
| From | John Crispin <john@phrozen.org> |
|---|---|
| Date | 2016-10-03 16:30 +0200 |
| Message-ID | <socpI-65o-5@gated-at.bofh.it> |
| In reply to | #1494881 |
On 03/10/2016 15:31, Linus Walleij wrote:
> On Mon, Sep 26, 2016 at 5:52 PM, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
>> On Sun 25 Sep 23:36 PDT 2016, Stephen Boyd wrote:
>>
>>> On Mon, Sep 12, 2016 at 2:36 AM, John Crispin <john@phrozen.org> wrote:
>>>> The following commit introduced a regression by not properly masking the
>>>> calculated value.
>>>>
>>>> commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits")
>>
>> Please use the format: Fixes: %h (\"%s\")
>>
>>>>
>>>> Signed-off-by: John Crispin <john@phrozen.org>
>>>
>>> Now I'm confused how it ever worked.... but agreed, the code looks wrong.
>>
>> I agree, we should have seen some issues based on this, I presume we
>> where "lucky".
>>
>>>
>>> Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
>>>
>>
>> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>>
>> @Linus, the corrected patch appeared in v4.8-rc1, would you mind
>> including this in a pull for v4.8?
>
> I would have, had I been more attentive. And you even told me in person to
> look at this :/ sorry.
>
> Now I have the problem that I don't have the original patch in my inbox
> at all: it might have been sent to some qcom-specific mailing list?
>
> John: can you include the ACKs and resend with me on the To: line?
>
> Yours,
> Linus Walleij
>
Sure, is there a patchwork where i can export it with all the Acks ?
John
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2016-10-04 00:40 +0200 |
| Message-ID | <sok3T-2n3-23@gated-at.bofh.it> |
| In reply to | #1494896 |
On Mon, Oct 3, 2016 at 4:24 PM, John Crispin <john@phrozen.org> wrote: > On 03/10/2016 15:31, Linus Walleij wrote: >> Now I have the problem that I don't have the original patch in my inbox >> at all: it might have been sent to some qcom-specific mailing list? >> >> John: can you include the ACKs and resend with me on the To: line? >> >> Yours, >> Linus Walleij >> > > Sure, is there a patchwork where i can export it with all the Acks ? Nevermind, I found the patch in my spam folder and applied it! Thanks! Yours, Linus Walleij
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <stephen.boyd@linaro.org> |
|---|---|
| Date | 2016-10-03 23:00 +0200 |
| Message-ID | <soivd-1li-31@gated-at.bofh.it> |
| In reply to | #1494881 |
On Mon, Oct 3, 2016 at 6:31 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Mon, Sep 26, 2016 at 5:52 PM, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
>> On Sun 25 Sep 23:36 PDT 2016, Stephen Boyd wrote:
>>
>>> On Mon, Sep 12, 2016 at 2:36 AM, John Crispin <john@phrozen.org> wrote:
>>> > The following commit introduced a regression by not properly masking the
>>> > calculated value.
>>> >
>>> > commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits")
>>
>> Please use the format: Fixes: %h (\"%s\")
>>
>>> >
>>> > Signed-off-by: John Crispin <john@phrozen.org>
>>>
>>> Now I'm confused how it ever worked.... but agreed, the code looks wrong.
>>
>> I agree, we should have seen some issues based on this, I presume we
>> where "lucky".
>>
>>>
>>> Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
>>>
>>
>> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>>
>> @Linus, the corrected patch appeared in v4.8-rc1, would you mind
>> including this in a pull for v4.8?
>
> I would have, had I been more attentive. And you even told me in person to
> look at this :/ sorry.
>
> Now I have the problem that I don't have the original patch in my inbox
> at all: it might have been sent to some qcom-specific mailing list?
It hit my (linaro) spam for some reason. Must be a problem between the
sending side and how google mail classifies spam.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web