All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Ben Hutchings <ben@decadent.org.uk>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	Russell King <rmk+kernel@arm.linux.org.uk>
Subject: Re: [PATCH 3.16-stable 75/87] ARM: 8221/1: PJ4: allow building in Thumb-2 mode
Date: Mon, 8 May 2017 21:47:26 +0200	[thread overview]
Message-ID: <CAK8P3a0WoK04KogtGeq-6Lc8EKH1dK6r1yPdLgGD7tR-bqr9uQ@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu_TAjFYB9gh9eex8U=f+3zrSCs9XB+32YbLJQ5x51OMKg@mail.gmail.com>

On Sat, May 6, 2017 at 9:42 AM, Ard Biesheuvel
<ard.biesheuvel@linaro.org> wrote:
> On 5 May 2017 at 20:47, Arnd Bergmann <arnd@arndb.de> wrote:
>> From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>>
>> Commit 69bbf2ab20389418327484288d8730732e4f3dd0 upstream.
>>
>> Two files that get included when building the multi_v7_defconfig target
>> fail to build when selecting THUMB2_KERNEL for this configuration.
>>
>> In both cases, we can just build the file as ARM code, as none of its
>> symbols are exported to modules, so there are no interworking concerns.
>> In the iwmmxt.S case, add ENDPROC() declarations so the symbols are
>> annotated as functions, resulting in the linker to emit the appropriate
>> mode switches.
>>
>> Acked-by: Nicolas Pitre <nico@linaro.org>
>> Tested-by: Olof Johansson <olof@lixom.net>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> I think you will want to take 5008efc83bf85b647aa1cbc44718b1675bbb7444
> as well. This patch by itself caused problems with ftrace's
> instruction patching IIRC.

Right, thanks for the reminder. As the original patch was already in 3.18
and 4.4, but the second one was not, I have also submitted 5008efc83bf85
for inclusion in those two stable series now, besides adding it to
my local series here.

       Arnd

  reply	other threads:[~2017-05-08 19:47 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05 19:46 [PATCH 3.16-stable 00/87] build warnings and errors Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 01/87] mm/init: fix zone boundary creation Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 02/87] Disable "frame-address" warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 03/87] modpost: expand pattern matching to support substring matches Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 04/87] modpost: don't emit section mismatch warnings for compiler optimizations Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 05/87] module: fix types of device tables aliases Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 06/87] MODULE_DEVICE_TABLE: fix some callsites Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 07/87] mm/hugetlb: improve locking in dissolve_free_huge_pages() Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 08/87] cpumask_set_cpu_local_first => cpumask_local_spread, lament Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 09/87] gfs2: avoid uninitialized variable warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 10/87] gfs2: remove IS_ERR_VALUE abuse Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 11/87] iio: fix printk format string warning Arnd Bergmann
2017-11-06 16:55   ` Ben Hutchings
2017-05-05 19:46 ` [PATCH 3.16-stable 12/87] iio: adc: fix building on 64-bit Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 13/87] infiniband: mlx5: avoid a compile-time warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 14/87] power/reset: xgene-reset: Fix prototype of xgene_restart() Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 15/87] mfd: arizona: Rid data size incompatibility warn when building for 64bit Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 16/87] Input: joystick - use get_cycles on ARMv8 Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 17/87] dma: pl08x: Use correct specifier for size_t values Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 18/87] gpio: drop retval check enforcing from gpiochip_remove() Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 19/87] ASoC: fsl-ssi: fix do_div build warning in fsl_ssi_set_bclk() Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 20/87] ASoC: imx-audmux: Use uintptr_t for port numbers Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 21/87] ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 22/87] ASoC: adau1977: Fix truncation warning on 64 bit architectures Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 23/87] ALSA: oxygen: Fix logical-not-parentheses warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 24/87] ata: hpt366: fix constant cast warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 25/87] clk/efm32gg: fix dt init prototype Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 26/87] spi: rspi: Remove unused variable in rspi_rz_transfer_one() Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 27/87] spi/atmel: Fix pointer to int conversion warnings on 64 bit builds Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 28/87] spi/pl022: Explicitly truncate large bitmask Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 29/87] tty: nozomi: avoid a harmless gcc warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 30/87] tty/isicom: fix big-endian compile warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 31/87] i2o: hide unsafe ioctl on 64-bit Arnd Bergmann
2017-05-05 20:07   ` Patch "[PATCH 3.16-stable 31/87] i2o: hide unsafe ioctl on 64-bit" has been added to the 3.18-stable tree gregkh
2017-05-05 19:46 ` [PATCH 3.16-stable 32/87] dm bufio: hide bogus warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 33/87] scsi-tgt: fix type conversion warning Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 34/87] ips: remove pointless #warning Arnd Bergmann
2017-11-06 17:31   ` Ben Hutchings
2017-05-05 19:46 ` [PATCH 3.16-stable 35/87] scsi: advansys: remove #warning message Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 36/87] bfa: Fix indentation Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 37/87] fnic: assign FIP_ALL_FCF_MACS to fcoe_all_fcfs Arnd Bergmann
2017-11-06 17:41   ` Ben Hutchings
2017-05-05 19:46 ` [PATCH 3.16-stable 38/87] be2iscsi: Fix bogus WARN_ON length check Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 39/87] mvsas: fix misleading indentation Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 40/87] paride: fix the "verbose" module param Arnd Bergmann
2017-05-05 19:46 ` [PATCH 3.16-stable 41/87] aic94xx: Skip reading user settings if flash is not found Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 42/87] mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 43/87] mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 44/87] xilinx: Fix compiler warning Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 45/87] i40e: Reduce stack in i40e_dbg_dump_desc Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 46/87] mlx5: avoid build warnings on 32-bit Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 47/87] mISDN: avoid arch specific __builtin_return_address call Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 48/87] cpmac: remove hopeless #warning Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 49/87] net: caif: fix misleading indentation Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 50/87] net: am2150: fix nmclan_cs.c shared interrupt handling Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 51/87] am2150: Update nmclan_cs.c to use update PCMCIA API Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 52/87] net: tulip: turn compile-time warning into dev_warn() Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 53/87] net: vxge: avoid unused function warnings Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 54/87] ethernet: amd: fix pci device ids Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 55/87] drivers/net/ethernet/dec/tulip/uli526x.c: fix misleading indentation in uli526x_timer Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 56/87] hostap: avoid uninitialized variable use in hfa384x_get_rid Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 57/87] iwlegacy: avoid warning about missing braces Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 58/87] brcmfmac: avoid gcc-5.1 warning Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 59/87] netfilter: Fix switch statement warnings with recent gcc Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 60/87] netfilter; Add some missing default cases to switch statements in nft_reject Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 61/87] drm/i915: cleanup some indenting Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 62/87] video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT Arnd Bergmann
2017-05-05 19:47   ` Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 63/87] staging: bcm: add 32-bit host dependency Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 64/87] staging: imx-drm: fix indentation warning Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 65/87] staging: vt6655: fix overly large stack usage Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 66/87] Staging: iio: adc: fix indent on break statement Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 67/87] Staging: lustre: missing curly braces in ll_setattr_raw() Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 68/87] staging: rtl8723au: core: rtw_wlan_util: fix misleading indentation Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 69/87] Staging: wlan-ng: fix sparse warning in prism2fw.c Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 70/87] staging: dgnc: Fix frame size is larger than 1024B Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 71/87] x86/xen: fix upper bound of pmd loop in xen_cleanhighmap() Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 72/87] x86/boot: Add CONFIG_PARAVIRT_SPINLOCKS quirk to arch/x86/boot/compressed/misc.h Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 73/87] ARM: cns3xxx: shut up frame size warning Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 74/87] ARM: 8383/1: nommu: avoid deprecated source register on mov Arnd Bergmann
2017-05-06  9:45   ` Arnd Bergmann
2017-05-06 10:06     ` Russell King - ARM Linux
2017-05-08 19:53       ` Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 75/87] ARM: 8221/1: PJ4: allow building in Thumb-2 mode Arnd Bergmann
2017-05-06  7:42   ` Ard Biesheuvel
2017-05-08 19:47     ` Arnd Bergmann [this message]
2017-05-05 19:47 ` [PATCH 3.16-stable 76/87] ARM: OMAP: Fix Kconfig warning for omap1 Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 77/87] ARM: 8160/1: drop warning about return_address not using unwind tables Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 78/87] ARM: 8296/1: cache-l2x0: clean up aurora cache handling Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 79/87] arm64: add missing data types in smp_load_acquire/smp_store_release Arnd Bergmann
2017-11-06 18:56   ` Ben Hutchings
2017-11-06 20:24     ` Arnd Bergmann
     [not found] ` <20170505194745.3627137-1-arnd-r2nGTMty4D4@public.gmane.org>
2017-05-05 19:47   ` [PATCH 3.16-stable 80/87] MIPS: BMIPS: Fix ".previous without corresponding .section" warnings Arnd Bergmann
2017-05-05 19:47     ` Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 81/87] MIPS: DEC: Avoid la pseudo-instruction in delay slots Arnd Bergmann
2017-11-06 19:05   ` Ben Hutchings
2017-05-05 19:47 ` [PATCH 3.16-stable 82/87] MIPS: ip27: Disable qlge driver in defconfig Arnd Bergmann
2017-11-06 19:08   ` Ben Hutchings
2017-05-05 19:47 ` [PATCH 3.16-stable 83/87] MIPS: ip22: Fix ip28 build for modern gcc Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 84/87] MIPS: MSP71xx: remove odd locking in PCI config space access code Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 85/87] MIPS: Fix the build on jz4740 after removing the custom gpio.h Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 86/87] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup Arnd Bergmann
2017-05-05 19:47 ` [PATCH 3.16-stable 87/87] MIPS: elf2ecoff: Fix warning due to dead code Arnd Bergmann
2017-11-06 19:14 ` [PATCH 3.16-stable 00/87] build warnings and errors Ben Hutchings

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=CAK8P3a0WoK04KogtGeq-6Lc8EKH1dK6r1yPdLgGD7tR-bqr9uQ@mail.gmail.com \
    --to=arnd@arndb.de \
    --cc=ard.biesheuvel@linaro.org \
    --cc=ben@decadent.org.uk \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=stable@vger.kernel.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.