All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>,
	Kevin Hilman <khilman@linaro.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	linux-arm-msm@vger.kernel.org, Andy Gross <agross@codeaurora.org>,
	linux-kernel@vger.kernel.org, Lina Iyer <lina.iyer@linaro.org>,
	Kumar Gala <galak@codeaurora.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/2] ARM: Add cpu_resume_arm() for firmwares that resume in ARM state
Date: Mon, 15 Jun 2015 12:01:36 +0100	[thread overview]
Message-ID: <20150615110136.GJ7557@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20150615063324.GY18985@pengutronix.de>

On Mon, Jun 15, 2015 at 08:33:25AM +0200, Uwe Kleine-König wrote:
> Hello,
> > +	.arm
> > +ENTRY(cpu_resume_arm)
> > + THUMB(	badr	r9, 1f		)	@ Kernel is entered in ARM.
> > + THUMB(	bx	r9		)	@ If this is a Thumb-2 kernel,
> > + THUMB(	.thumb			)	@ switch to Thumb now.
> > + THUMB(1:			)
> >  ENTRY(cpu_resume)
> >  ARM_BE8(setend be)			@ ensure we are in BE mode
> >  #ifdef CONFIG_ARM_VIRT_EXT
> this patch is in next as 51ac91b7f6b11b0da55ac93885ee7b864865bcb1 and
> breaks efm32_defconfig. The exact error message is:
> 
>   AS      arch/arm/kernel/sleep.o
> arch/arm/kernel/sleep.S: Assembler messages:
> arch/arm/kernel/sleep.S:121: Error: selected processor does not support ARM opcodes
> arch/arm/kernel/sleep.S:123: Error: bad instruction `badr r9,1f'
> arch/arm/kernel/sleep.S:124: Error: attempt to use an ARM instruction on a Thumb-only processor -- `bx r9'
> scripts/Makefile.build:294: recipe for target 'arch/arm/kernel/sleep.o' failed
> make[3]: *** [arch/arm/kernel/sleep.o] Error 1

Don't get me wrong, the build testing which goes on is really great, but
there's now a problem with all this.

There needs to be coordination between the people doing the build tests
to ensure that we don't "tire out" those who read the emails with different
groups of people reporting the same problem days after it was first
discovered, and even worse, days after it's been fixed.

The worst thing to do is to report build regressions on Monday for a tree
which was created on Thursday - by the time Monday comes around, projects
such as the 0-day builder have had plenty of time to find them.

Remember, the linux-next tree which is published on Friday (Austrailian
time) is a result of git trees snapshotted around midnight on Thursday.

So, if you're going to build an old linux-next tree, before you report any
problems, please check whether other build systems have already reported
them.  If you've gone to the trouble of tracking down the commit which
caused it, and therefore the likely git tree, check whether a fix has
already been merged.  Or maybe wait until the post-weekend linux-next is
published...

(The problem you're referring to was fixed and pushed out on Friday -
which seems to be a regular thing that happens with problems you've
reported on Mondays...)

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

WARNING: multiple messages have this Message-ID (diff)
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: Add cpu_resume_arm() for firmwares that resume in ARM state
Date: Mon, 15 Jun 2015 12:01:36 +0100	[thread overview]
Message-ID: <20150615110136.GJ7557@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20150615063324.GY18985@pengutronix.de>

On Mon, Jun 15, 2015 at 08:33:25AM +0200, Uwe Kleine-K?nig wrote:
> Hello,
> > +	.arm
> > +ENTRY(cpu_resume_arm)
> > + THUMB(	badr	r9, 1f		)	@ Kernel is entered in ARM.
> > + THUMB(	bx	r9		)	@ If this is a Thumb-2 kernel,
> > + THUMB(	.thumb			)	@ switch to Thumb now.
> > + THUMB(1:			)
> >  ENTRY(cpu_resume)
> >  ARM_BE8(setend be)			@ ensure we are in BE mode
> >  #ifdef CONFIG_ARM_VIRT_EXT
> this patch is in next as 51ac91b7f6b11b0da55ac93885ee7b864865bcb1 and
> breaks efm32_defconfig. The exact error message is:
> 
>   AS      arch/arm/kernel/sleep.o
> arch/arm/kernel/sleep.S: Assembler messages:
> arch/arm/kernel/sleep.S:121: Error: selected processor does not support ARM opcodes
> arch/arm/kernel/sleep.S:123: Error: bad instruction `badr r9,1f'
> arch/arm/kernel/sleep.S:124: Error: attempt to use an ARM instruction on a Thumb-only processor -- `bx r9'
> scripts/Makefile.build:294: recipe for target 'arch/arm/kernel/sleep.o' failed
> make[3]: *** [arch/arm/kernel/sleep.o] Error 1

Don't get me wrong, the build testing which goes on is really great, but
there's now a problem with all this.

There needs to be coordination between the people doing the build tests
to ensure that we don't "tire out" those who read the emails with different
groups of people reporting the same problem days after it was first
discovered, and even worse, days after it's been fixed.

The worst thing to do is to report build regressions on Monday for a tree
which was created on Thursday - by the time Monday comes around, projects
such as the 0-day builder have had plenty of time to find them.

Remember, the linux-next tree which is published on Friday (Austrailian
time) is a result of git trees snapshotted around midnight on Thursday.

So, if you're going to build an old linux-next tree, before you report any
problems, please check whether other build systems have already reported
them.  If you've gone to the trouble of tracking down the commit which
caused it, and therefore the likely git tree, check whether a fix has
already been merged.  Or maybe wait until the post-weekend linux-next is
published...

(The problem you're referring to was fixed and pushed out on Friday -
which seems to be a regular thing that happens with problems you've
reported on Mondays...)

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-06-15 11:01 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 19:12 [PATCH v2 0/2] Fix cpuidle on qcom's THUMB2 kernels Stephen Boyd
2015-06-02 19:12 ` Stephen Boyd
2015-06-02 19:12 ` [PATCH v2 1/2] ARM: Add cpu_resume_arm() for firmwares that resume in ARM state Stephen Boyd
2015-06-02 19:12   ` Stephen Boyd
2015-06-02 23:40   ` Russell King - ARM Linux
2015-06-02 23:40     ` Russell King - ARM Linux
2015-06-03  0:11     ` Stephen Boyd
2015-06-03  0:11       ` Stephen Boyd
2015-06-08 21:33       ` Kevin Hilman
2015-06-08 21:33         ` Kevin Hilman
2015-06-08 21:38         ` Stephen Boyd
2015-06-08 21:38           ` Stephen Boyd
2015-06-08 22:03           ` Kevin Hilman
2015-06-08 22:03             ` Kevin Hilman
2015-06-09 15:29             ` Russell King - ARM Linux
2015-06-09 15:29               ` Russell King - ARM Linux
2015-06-09 18:32               ` Stephen Boyd
2015-06-09 18:32                 ` Stephen Boyd
2015-06-15  6:33   ` Uwe Kleine-König
2015-06-15  6:33     ` Uwe Kleine-König
2015-06-15 11:01     ` Russell King - ARM Linux [this message]
2015-06-15 11:01       ` Russell King - ARM Linux
2015-06-15 13:38       ` Uwe Kleine-König
2015-06-15 13:38         ` Uwe Kleine-König
2015-06-02 19:12 ` [PATCH v2 2/2] soc: qcom: spm: Fix idle on THUMB2 kernels Stephen Boyd
2015-06-02 19:12   ` Stephen Boyd
2015-06-04 16:15   ` Lina Iyer
2015-06-04 16:15     ` Lina Iyer
2015-06-02 21:23 ` [PATCH v2 0/2] Fix cpuidle on qcom's " Kevin Hilman
2015-06-02 21:23   ` Kevin Hilman

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=20150615110136.GJ7557@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=agross@codeaurora.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=galak@codeaurora.org \
    --cc=khilman@linaro.org \
    --cc=lina.iyer@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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.