678158 Commits

Author SHA1 Message Date
Arnd Bergmann
a4857add27 ARM defconfig cleanup:
1. Remove old Kconfig options from all ARM configs,
 2. Update Samsung defconfigs to bring back options over time got disabled
    for some reason (configs were not updated along with the code),
 3. Save defconfigs for Samsung.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZR/SzAAoJEME3ZuaGi4PXmp4P/i5E+C35b/nE5pX4JC00Pwq3
 K5G1yW/jo3K2koaf9wWXFt8Pq5dEnonYyfUUep9hZUBrZ9V+OHTamsdUczmiNnRT
 OsPa64yvr3x8vJ+EbajXeHIgtc2Mpd/bvPtcaGW1+/TT8ZPrK4WQOAYUkCGOr2L3
 M6gwu0C9ysvNUxVv4oIMFxRErptKqdKvbXf/OOwe65chP0Zfcu4oOyDHzauaEoOe
 gn9Zk9UFOQNEQ+ZELccyr8v5TFwl7S/rHS1mokoh1dT5GrN2sy4Q9KxehTnIFgqD
 Nc+8s/U4uRExINeP0WIW4+P/JOZXf7N2ZU+CYlxYgCYmd01LKfrQDff6cpgmHbdy
 d1PDgB/8At0E733maSWYG/vPIcrdL2qFzGlFlu8SOdmjeoR8BFQf7JOnyL1RtESW
 ZaSjdEaAcD+ttIZO8G3pugrdsqU82q/8U3CaQ0HC9+zev74C5Th8H2sDShOjUMAu
 6cccRi1lJZKN9/O+6Vxa/n/tGykR7vQAr1MIlvNxH8FuuPiYCsDk6VD2EqaOSrnC
 P3Wy/5BlnNLWfSDwYRSpiWB+4HZLvnrv+IUz3sicq7rZz1iLRftEynIrpwquNSoU
 c49FvGKhUF0DQdOVTvOZdrCzJ7m0CjRvbdFJElGmKYgikN+Vf1DfXSy1fU7BNXdF
 gdA4C91A69dLykre+E+k
 =uKGf
 -----END PGP SIGNATURE-----

Merge tag 'samsung-defconfig-4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/defconfig

Pull "ARM defconfig cleanup" from Krzysztof Kozłowski:

1. Remove old Kconfig options from all ARM configs,
2. Update Samsung defconfigs to bring back options over time got disabled
   for some reason (configs were not updated along with the code),
3. Save defconfigs for Samsung.

* tag 'samsung-defconfig-4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: tct_hammer_defconfig: Save defconfig
  ARM: s5pv210_defconfig: Save defconfig
  ARM: s3c6400_defconfig: Save defconfig
  ARM: mini2440_defconfig: Save defconfig
  ARM: s3c2410_defconfig: Save defconfig
  ARM: exynos_defconfig: Save defconfig
  ARM: s5pv210_defconfig: Bring back lost (but wanted) options
  ARM: s3c6400_defconfig: Bring back lost (but wanted) options
  ARM: s3c2410_defconfig: Bring back lost (but wanted) options
  ARM: tct_hammer_defconfig: Bring back lost (but wanted) options
  ARM: mini2440_defconfig: Bring back lost (but wanted) options
  ARM: defconfig: samsung: Re-order entries to match savedefconfig
  ARM: defconfig: Cleanup from old Kconfig options
2017-06-23 09:57:59 +02:00
Olof Johansson
125370a928 The i.MX defconfig updates for 4.13:
- Enable i.MX7 ADC driver support.
  - Enable THERMAL_WRITABLE_TRIPS, so that i.MX thermal driver can set
    trip points for testing.
  - CONFIG_DEBUG_FS gets lost by accident because of a change around
    CONFIG_RCU_TRACE.  Re-enable it explicitly.
  - Enable MXS LRADC driver and CONFIG_CGROUPS for mxs_defconfig.
  - Enable more common cpufreq governors to help test cpufreq driver.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZRp9UAAoJEFBXWFqHsHzO/uQH/0LtqlmXKraEcYZS7EL+QNQZ
 y2gm+/01IYP6Kw9e0jA5gGkTbfGUKRUDV9EtxSfRABrHsxtfB5wejsX6nKQ9AhCZ
 taxSgzXG06TtMM1RxoYanKzGuEiNVfUovFYWUP5lEVdz36IDvmafiKJ+/l3J6hU5
 YEFxcKqIrDK1370IjPHowoZsg8v5Bx8wyyavWOKpG/jbID7pWTunlIsGKCwF6aUl
 xhf/VDiQpKzt27BixieXQsiPlisoXxKy0QZPzooDLwVzRVWB8xOcHa8GBbv7RcfA
 HBtMKt+GM6RJByluAWfbv1ERNH3D2tg0gZEEoLAWK4t7VeS5qk1FeAhyj+4Y1EQ=
 =jc6x
 -----END PGP SIGNATURE-----

Merge tag 'imx-defconfig-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/defconfig

The i.MX defconfig updates for 4.13:
 - Enable i.MX7 ADC driver support.
 - Enable THERMAL_WRITABLE_TRIPS, so that i.MX thermal driver can set
   trip points for testing.
 - CONFIG_DEBUG_FS gets lost by accident because of a change around
   CONFIG_RCU_TRACE.  Re-enable it explicitly.
 - Enable MXS LRADC driver and CONFIG_CGROUPS for mxs_defconfig.
 - Enable more common cpufreq governors to help test cpufreq driver.

* tag 'imx-defconfig-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx_v6_v7_defconfig: Select CONFIG_IMX7D_ADC
  ARM: imx_v6_v7_defconfig: Set THERMAL_WRITABLE_TRIPS=y for testing
  ARM: imx_v6_v7_defconfig: Explicitly restore CONFIG_DEBUG_FS
  ARM: mxs_defconfig: Re-enable MXS LRADC
  ARM: mxs_defconfig: Enable CONFIG_CGROUPS
  ARM: imx_v6_v7_defconfig: Enable cpufreq governors

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 23:09:48 -07:00
Olof Johansson
de9761ad4e mvebu defconfig for 4.13
Enable the SENSORS_PWM_FAN in mvebu_v7_defconfig support by gpio
 driver since the previous release
 -----BEGIN PGP SIGNATURE-----
 
 iIEEABECAEEWIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCWUTMRCMcZ3JlZ29yeS5j
 bGVtZW50QGZyZWUtZWxlY3Ryb25zLmNvbQAKCRALBhiOFHI71RDfAJ0RBMTsdw/g
 e/aR1Jdf5BboEJ876gCeIGEATN8sYCxSKHLC7x0hVZnC1p4=
 =ZuTF
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-defconfig-4.13-1' of git://git.infradead.org/linux-mvebu into next/defconfig

mvebu defconfig for 4.13

Enable the SENSORS_PWM_FAN in mvebu_v7_defconfig support by gpio
driver since the previous release

* tag 'mvebu-defconfig-4.13-1' of git://git.infradead.org/linux-mvebu:
  ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 22:56:48 -07:00
Olof Johansson
3414b86354 defconfig for 4.13:
- Switch sama5 to be tickless in idle and enable hrtimer
  - Add MCAN
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEXx9Viay1+e7J/aM4AyWl4gNJNJIFAllD1/oACgkQAyWl4gNJ
 NJI/sw/8CnnoA8ukvU3urFk5mx351AQWB0lsHf7xLhusvZK1ISnCkUGMyUy5RoNh
 dPyYJtgGcYQyQsgLf/xBcoboDXo96E8fy8BieZPOR8bBx06O2mJiMoVarwTuwITP
 /MJ1maEG+W7ZTEjCQfrL6AMGMAo1jGN324fyYHLGUrp49CtNGF0xnZTq+tS42Eyi
 2sr1S8TNq6frUbvlv9chhke+mObAvuE9VMfdEy0NEBaX+FpmWFbMg5Xf3/54zSqv
 yRrRhWtrKRrvttmFU/mM2MJp1cMyA+gkgj67lRsFKb6qpDKP37MQ5tOvV1GzETPu
 jY+Tme0fqqBo2VhLEIQyrkfp6hwuwC1tyBcqA3+aRqqDLeBn4GqXRkvs2LsrTfen
 H/kQj6+r3+2AYgBxbiYd3XzwK+rcVtNeDMIPy1k4EumiIuY5oNssYupzpW+ApSbJ
 yJEr2dvRwNqChO60Mh7ESRrS5+2ulUzZURWe56WLOrlzp5+jmRdJYhr34JSdtFVq
 wUBGY4n4InCdltN9atoPTAeYRu2NB3sp2kxckWC0fSCpp5lq5oarvDakNZRstH5H
 ufTm4Wc4s8s6yJ79Xi+4ywGio9YSf3Q2INg39deUA2Qku2AbdTghQmvVqFKcHiJ1
 /iwPjiHFl8o2grq6Q9NEIoJrsWANrdYGgzh9PRYrPRkyxc6qr1s=
 =n/us
 -----END PGP SIGNATURE-----

Merge tag 'at91-ab-4.13-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/defconfig

defconfig for 4.13:

 - Switch sama5 to be tickless in idle and enable hrtimer
 - Add MCAN

* tag 'at91-ab-4.13-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  ARM: configs: at91: add MCAN driver to sama5_defconfig
  ARM: configs: at91: enable HIGH_RES_TIMERS
  ARM: configs: at91: make system tickless when idle

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 22:38:37 -07:00
Olof Johansson
afa0e3fe34 Qualcomm ARM Based defconfig Updates for v4.13
* Enable IPQ4019 clock and pinctrl
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZQBU8AAoJEFKiBbHx2RXVOssP/2eCV+VEfmjw1FlkiHqHZJyH
 nxe3T9rlX/S40dBKcwQrt8cjjIGdY9tCVPRCjg6Q9VCyTGcMhYO+5kQpk8Af/i/E
 tNMblEVxc9aufJZg29OMrqVdZbLNTbIyjKN8lt1SVs/74CQvXP+a1ygrGJPnBdbK
 n6JwHlYHiHGlGGOvDrXihPOGPcUo0Bx4T1afEOqZAyCW8FZr3owd0khZ2SO/UIkH
 RPsNKCO472uO8L1BuQWxX2nAdO9CJM0USlwCth0NmUd4esSECkfSgEHnAAXL0I7f
 YPk6X4PD5k2dqb2nMBAcbATBk0c6mJAb0neUCnGDlt3HL84Wk6GNqJiRZGEXzLqW
 oQJc2pZa7y777Kj322PZHt2OQj+0zzvB/mx4QNzgZpwTDnM9lT9s5bl0/h4VpOyD
 lYW1NMuUn2jw3E+4FGQG6pnfgMB9UxrZT+olKRgDnn7zmL8Bju4H85qVTNtAgopD
 14DiA0LqehHHMdov5MFHtfzMQYKVSkuHAJhvWmNRbN3CGWCw4E5+GP44Zq7BcIJZ
 MUYK7JQRrms3HvgnAY/fpYuoJnYaI7xYiSSIpoOc0cfNdiB+2WDLa9srBinX0hVe
 gRbW8kHSBWwVhLE3WvnrztJt0Fp8YtSpx6fuYJQdYHzA2DB6u6R+A4fEK5U82LqQ
 6CkjMiq7DuYOCzB/9hxz
 =1K0L
 -----END PGP SIGNATURE-----

Merge tag 'qcom-defconfig-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/defconfig

Qualcomm ARM Based defconfig Updates for v4.13

* Enable IPQ4019 clock and pinctrl

* tag 'qcom-defconfig-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: qcom_defconfig: Enable IPQ4019 clock and pinctrl

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 22:29:29 -07:00
Olof Johansson
f8a26083ec Enable mtdtests and USB NCM gadget in DaVinci kernel
(as modules).
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZQ5WyAAoJEGFBu2jqvgRNh10P/0O0Xnq+67MvoTRt5JANrGAA
 9iHeebjOg7qYNMnLpAIOuVtbTw4r1YqwwIURVnx1h42xVtM/XHhe+P8ZHjBl/HXr
 P/CGM7N3XOdXItnd0r+n93MGlbUQI9RPFf77SnGUZFRA8gu9WIVYcC5KRIDH7vrK
 KY1nZUalfxcQzRnRHTuNIUu3RVeoY7ZX6xbiJTscJLSi1kD7p8ZrPtKY5hPayCll
 4WeXmqxraDzT2hye6xxF0G18LWhqc1h4A/93DuRuiQA66uHrvHNFKPF+NUnEobtK
 64QfJjghD2gyJdQvmfOi/zRu5ugfilwTthYNrGPuxkSxrryJi4gM0tnPM+lZzF/j
 Acqmqu7hL8VJD7gGY1D0RONoVTZdc/yZMPDo5lzGLKiYyb0TgkkQ4nBl/dLtI1h5
 v1shTTa3wfeRNSdvPALq//qEvRaCa+V/rBfjkKkSGRSy196BXwoPMgmDUDRe6cH6
 E57sYnrGLhldgx/iG/m3U+syMqY1v3U75S/5Z1xIM8FuPvq1depVKHmkBXd02M00
 oWLCtNAsTs/crcehY+G2n4XGDeNOOWTQZsGva/vFvTBi9PZyf4iKj7otUVvT9A5z
 AkM0bMuYDW7EFiyrQ9lX0H347bdrFpc1rOCy93x7X85BFlH66OB7fmqDvN9ZqyT7
 CjX+bL2GfWZZ4YBZWcyG
 =02h0
 -----END PGP SIGNATURE-----

Merge tag 'davinci-for-v4.13/defconfig-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/defconfig

Enable mtdtests and USB NCM gadget in DaVinci kernel
(as modules).

* tag 'davinci-for-v4.13/defconfig-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: davinci_all_defconfig: enable USB CDC NCM gadget
  ARM: davinci_all_defconfig: enable mtdtests

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 21:03:10 -07:00
Olof Johansson
29b5f29894 This pull request contains Broadcom ARM-based SoCs defconfig updates for 4.13,
please pull the following:
 
 - Stefan updates the bcm2835_defconfig to include serial, Ethernet and USB
   gadget support which is needed for the Raspberry Pi Zero OTG changes
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZQELuAAoJEIfQlpxEBwcEEW8QANbI7WER6VDeurH4kPXFOwOg
 qHyPHgFF/bvtz8lqlTXSGBVoRLjKeAT8YD2zNJiznJQyuiWntP+o6ODzYQshZwHI
 LruN60SsVgAUaZ991UXHiflfW0Ffubfxd+fAL3NjCUSgKOTj720cLu454KNJhiSH
 A1v0J8JDf46+ZS4cPzco8PdwahDozWjyiWxvgIm+CUCqJGm4p2SVdrwrXRVKUPLl
 pA4tFdc7pfy1OiHJSK/EL3PxL+xLROPtyRMLT5T0ecIzWVa8+SRA9URMAOuFxnPX
 8n1uTdw3ySh9KusUxJjTvzjkRgTJY999Ba5KB9uedngjKwJdzx3KCCasPyIm4wqa
 ihYMhh1CaDp02Ky2iH/uVh0GmkA2gABT00kGRxzCXlzn8CffYGfyE9dfY+ljh26v
 Lgu+Fw9yrQOr51J2ONkVCshql1e1uBm+MKc7kIBy6Br2BJfr2z5h1+rAbZiW5RT7
 Nb96rXj7rNdKO6rWH5++BJGQMwOcYEuOZ2cogBv1eyjPcN+4z8pCHbTaWfsFqS8R
 +5pZHchX8o/LTGWGAJfHteXSTZZdfI4iAF0LCUcn+IAS8VgVw0q+zH7hXsjZh4ih
 B301blw/7XjeyaF12dmEu2KTgVKz2DOC5MBasrN2RfKrV+ddd9gBGwAfT0T64qKF
 QzR0M4dZVg/4OGum5By2
 =7EnZ
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc/for-4.13/defconfig' of http://github.com/Broadcom/stblinux into next/defconfig

This pull request contains Broadcom ARM-based SoCs defconfig updates for 4.13,
please pull the following:

- Stefan updates the bcm2835_defconfig to include serial, Ethernet and USB
  gadget support which is needed for the Raspberry Pi Zero OTG changes

* tag 'arm-soc/for-4.13/defconfig' of http://github.com/Broadcom/stblinux:
  ARM: bcm2835_defconfig: Enable serial & ethernet USB gadget support

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 20:29:37 -07:00
Olof Johansson
35a0a5545d STM32 defconfig updates for v4.13, round 1
Highlights:
 ----------
  - Enable STMPE1600 IO expander
  - Enable Watchdog support
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZPlqRAAoJEH+ayWryHnCF1dgP+wa+on9k/c2qv9oclpQ9k0V3
 NPmwRl6Xe7bUh8XYppq4l+gwdDNWG4MVmtibxaNCLrG2hupXN37/R2ieMkYJk8iS
 8picgE34AxXN4b6iis8v7t1yfuXXltPS++KlBwxCf6mRewn1FMvGS1dJ2uman3g6
 7EZQ9ML2kLkFgOF6y4gNvDTtFfSg7rzSwxPlJg4bkfYvdMX+WsuvPnmt4G11bOwq
 lcxkiPlMOYuCb2t6XV//Sqg3wVOYt3nFGtwmNwybkGELSpJX0ksF5rDnxW8KjPWF
 RUesSmShvTnkGqQetd+wflhmJXK/iWwRGjXHmesTP9JrcbL4FPBV4rO/BTNrrqK+
 gcanwajWcrW2IX3GBldIRSQ/va/irBnZpW5Zsa48ULdzwkVtCjiyuyBm6RLXQmb1
 xb8V0ZQRomf9wNrbyJEFTR0VDC36xA63z2rF5g/dt2ES4KGPoAVB1aMjm5+YwhHS
 RbcFmAa0vYFcCGF0uX8qD9bIoo3bnI1iVqh/FmDCAeNMW8JUwDR7o6lyU7oOJCew
 Zbu3NPde2uEmMjjmx1aUrBkPelSG4SikbLZRogCULjOrCqplktExy1USTQYfUudJ
 +ujnxmbbAzxmGLhLGiU6GYviYG+tyBVOugfZwN/HUUPUJbbtFVdwuoDH91EmDxbZ
 xWhsc2QZSXK9haosvsq/
 =KevI
 -----END PGP SIGNATURE-----

Merge tag 'stm32-defconfig-for-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into next/defconfig

STM32 defconfig updates for v4.13, round 1

Highlights:
----------
 - Enable STMPE1600 IO expander
 - Enable Watchdog support

* tag 'stm32-defconfig-for-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: configs: stm32: STMPE1600 GPIO expander
  ARM: configs: stm32: Add watchdog support in STM32 defconfig

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 20:09:57 -07:00
Olof Johansson
c186dbe463 Samsung defconfig ARM update for v4.13:
1. Enable Exynos PRNG along with user-space crypto API.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZOs5tAAoJEME3ZuaGi4PXQPwP/0rPynH3Uic/FZPWJrZNlmvE
 7ZsQpJWR5WQfdlVmlGTmKMJzvk/wCBXnGB0pgIs9mKBKyW2MeZYu4pyoPtJcX4If
 VNoeELdGFss6XDXCs1a13/nVARd5XAOOXR3k3dOzxZggJ3ptGPqYAv5POivvBzmZ
 oztX+0JQofy+HxpjgcP8397Wkl2sYFwA1CFZRw8tkIM3ZUrwWxXpzHtB/TSW9RbJ
 gfc9/TNlYL3uCRxXuekzR+Lkuj/cPaTdfYlFFdomQxGMm2neB6ymD7iLNAYrCGi0
 /SwdkVdZ4EjUFv15JzJrPYy71Q7m0nHbvPGhOU3TZrPqh2VuF5Swwnv0i3R4qXa2
 vFgWhXWfX/HIW3Hs94lKGw5vjZ6m8Wv8JZfc44dttqkyndX7adqiE7X3Fh9k7TdE
 z2BHCEw+6p9cgaWyPgjtuBv98FmOFGfyx9058YIGlb/TMAoSEeuP71tLb3SStjhg
 PmzHQmg9AzwDgmN6v1Kp6iQVqFDG+nzgn+kAMYOPa7wXLXJaGNs3XCQVA3E65Qgz
 Bf8ERY5JmD311mqefkdvzKZncOFaCcY/tB4g0pTfy7Uoy2tHsdB2YtEJZACQCHJb
 P1Gbp5EIATH0TNy1DUI8MeebZOeCdF/tKaXqYJcpnVotCOPOhZeFI4A0XxjLDjVn
 zd8HS14+qhvuS1Yf7h4/
 =tl71
 -----END PGP SIGNATURE-----

Merge tag 'samsung-defconfig-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/defconfig

Samsung defconfig ARM update for v4.13:
1. Enable Exynos PRNG along with user-space crypto API.

* tag 'samsung-defconfig-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: multi_v7_defconfig: Enable Exynos RNG and user-space crypto API
  ARM: exynos_defconfig: Enable Exynos RNG and user-space crypto API

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 19:10:07 -07:00
Olof Johansson
f9928af64b Re-sync of davinci_all_defconfig with savedefconfig and enable
CPPI 4.1 DMA for MUSB, some commonly used USB devices, and
 Lego Mindstorms EV3 battery driver.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZOTAuAAoJEGFBu2jqvgRNC4UP/0R5NZR+kNT0vcj7oaLNa1Zr
 3HQCiWjvnbGLmBWHc0Ka49Gwk2QzvJPrVFsfXPcL4aqf1SoCeVKluVxLUEYrUO2I
 Ewkh7XpuRXsb1GTK0a63t8PWu14qpjnpt7291YZJWMFJ/smxWvvEr9/4a4xFndzw
 V+zRNr6YUN8k6r0X4jDjjbxdgEP+iGFKPj0bULvZw/B96zp3nUjbwA0roR4GXQB8
 iXOSS0cP/28IipMj/MiVOklc2VA4aDq0MOA+y8src1nkFkZipPqCDruwIAbIfXSM
 rQCNsefLn5ccnCpgK4ezyyBGJA67nbZ3RHed+TEedvQNnDgVE70H3gXCuai49hFE
 ABMXsSaL5SbXWpDplpB8qrx2ImJ1cgfywwZD2pAIjeNZq2XjReDVEj4+LjbuzGw1
 w8F0R12B0HR/4psFnzac0qjnN2OxvV3fhE64CjdbO93kGYgl6OyWJ+IHmnosBL88
 xf8gPFQjchmORKH7ehihNolqsDWi/zOsEYy9vIk9fvekpxln9Dkq14n1rRS4bAiI
 7Gjgd2bHkEVDVD41zC+tz16CKsJl4Dj9vvjKvnHbTXfExT9S4XaFXa8g3gTRicFw
 l2tU8fe+qMefmd4v84bBlyGg4ocaPJV50dYzwN2jP9WVDD1zf1cXgguUV5939MsH
 iLEhsn9SlCj01K3m/llG
 =FfEE
 -----END PGP SIGNATURE-----

Merge tag 'davinci-for-v4.13/defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/defconfig

Re-sync of davinci_all_defconfig with savedefconfig and enable
CPPI 4.1 DMA for MUSB, some commonly used USB devices, and
Lego Mindstorms EV3 battery driver.

* tag 'davinci-for-v4.13/defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: davinci_all_defconfig: Enable CPPI 4.1 USB OTG DMA
  ARM: davinci_all_defconfig: enable USB audio/video device support
  ARM: davinci_all_defconfig: cleanup with savedefconfig
  ARM: davinci_all_defconfig: enable LEGO MINDSTORMS EV3 battery module

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-06-18 19:05:52 -07:00
Fabio Estevam
6db5337388 ARM: imx_v6_v7_defconfig: Select CONFIG_IMX7D_ADC
Select CONFIG_IMX7D_ADC so that the i.MX7 ADC driver can be
built by default.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-06-18 07:32:01 +08:00
Andrew Lunn
4cdcf1efcc ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig
Now that the GPIO driver also supports PWM operation, enable the PWM
framework and fan driver in mvebu_v7_defconfig.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
URL: https://patchwork.ozlabs.org/patch/427297/
[Ralph Sennhauser: add fan driver to defconfig]
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-06-17 08:14:10 +02:00
Sekhar Nori
82cc56ccf1 ARM: davinci_all_defconfig: enable USB CDC NCM gadget
Enable USB CDC NCM gadget module in davinci_all_defconfig
to make it easier to use it on these devices.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-06-16 13:38:42 +05:30
Sekhar Nori
9e4ffee822 ARM: davinci_all_defconfig: enable mtdtests
mtdtests module has some useful tests to verify that
mtd drivers like davinci_nand are working correctly.

Enable it in davinci_all_defconfig to make testing and
debug easier.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-06-16 13:38:36 +05:30
Leonard Crestez
9b00064ba7 ARM: imx_v6_v7_defconfig: Set THERMAL_WRITABLE_TRIPS=y for testing
Setting trip points is supported by the imx thermal driver and it is
useful to be able to test this without adjusting config.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-06-15 09:35:09 +08:00
Florian Fainelli
e4269eb4be This pull request enables USB OTG mode in the Pi 0/1 defconfig.
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlk/FCYACgkQtdYpNtH8
 nugnlw//bocKHfz8D3DrcECTZNRPz6ioKRe9DUqYIggGG47L8EH6SXvrr5B7HTB4
 knHTJFXPAOyP84+4NEXagZM/062D1J4TYUC37Fr7rDHXaZ7SkgfJTfsjVGiDqZEk
 RA+ppZno4ygentCWKTTtKPzFwN8rSMgKhIOOtuREyfnI2mwSSI4pI8OnP9GtQzOC
 LFT9xzSFhFcTouSjM+KgE/CRaMQMayXq+39EtJWBtQrTb4xyq4tuRR7q2oQ6GVtN
 aEpGDq+JDqlkJrbjbdqb34pZUF0JIGQ4QKhExIfRqsBumiaTx9nkkxERVv1dOzDR
 3zTFz2m6+YD2J4c5YCpELW5IsPqRB5Z1kFV2JncZKVSHgEBO2YWOTBhvjqYq5jD7
 cOfqTU2JVySdCyWGWogH2X6Yp1c3hB0c+32JEl9sqYdbteiZr9MPBhs2gM6ovqYB
 jOZC+CBVsWTSuEJ0n7zUnJ/Lugfw/wT+9EitJ7tg/VPH/jO8GbDbJsKG9B/NF3gf
 4BnQhLIDzMaDydVk+wvAfFZrol4lpVVCjul+4ixzVaCbNywtvkv3Ubur+azcEmuq
 TFepRezFyhLBrLsLbJX8ZX5nysZyTzc/7Z34qWPao8WMKG92+PaiU75j5vpKXpB5
 OfrCBYv8fB9FAs602+qnymHKxhBw6cM7pEWsSeppDNd1xYIwElA=
 =pVlc
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZQD7bAAoJEIfQlpxEBwcEG14QAOWiZkueiF1lj3Ugcbdo114M
 TtQKL0MKFRHSc+GVp+o5MN2+vkJHX+QpUEd5n2HPWXFU/OCvCuNpRoA/et9sF8aI
 jbvej1gjIvBzldkWbXWXqZ/AQxHqVktIlWYjbJFmcQ7ohj9XRxKMbV4NmzK7cMIv
 cZpjKRww3UAoP39fXejK17YwPmI3pLZTrFkQriM8/3xdWLx1FzYXz6zyC/qewJSk
 fIkgq8wZHzbDmAj6X0mrHNWUNT42x2oAr/hpYIvGaYPeY/AjKpZDcEyASK0lY43C
 uLb1aXuEpCTCWYDPMPqQPZFqT8jDVjxh9OZ8c4XyFOkjb/dkvLJkt8ngBkQ7DWqV
 IvRu76mdUunUAGWFBYRYaTx/XLdt0BKwLOxI+LZmi++g9X/gk0SGJX3WJ+pS9CaT
 Ca0NS+5TgoB5/abcHN/MRXVnaMUg7mADICihMdwfMVL9QM7lfGwEF/DnwSOUMegi
 d4CPpjnLsoTwDxWfrwLD6GdqmU3YJtvN92wa2S14ly0yPgA1R9svRajH8TSr+R+u
 crLwdq+rceAg+jQJXhp2KXCBEGh7hkFmD6SOVeub65rPF452zzS4+oebOXGwZCxH
 wMnQbFKqaKPM+LnMQcsVOly0+q9/QHTsnGW1SQjglB7fHiHf/RVQ29NZ+UyM2p7X
 pf7J7so6cymig9+6/0PH
 =4QAT
 -----END PGP SIGNATURE-----

Merge tag 'bcm2835-defconfig-next-2017-06-12' into defconfig/next

This pull request enables USB OTG mode in the Pi 0/1 defconfig.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-13 12:36:49 -07:00
Stefan Wahren
3e9aaaf1d8 ARM: bcm2835_defconfig: Enable serial & ethernet USB gadget support
In order to use the serial and ethernet USB gadget support on
Raspberry Zero, we also need to enable the PHY driver, kernel module
and OTG support.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
2017-06-12 14:07:38 -07:00
Krzysztof Kozlowski
794b77738c ARM: tct_hammer_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - BUGVERBOSE was changed into DEBUG_BUGVERBOSE and will be enabled by
   default (it is useful);
 - DETECT_SOFTLOCKUP was changed into LOCKUP_DETECTOR;
 - rest of entries is being removed by default values;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:23 +02:00
Krzysztof Kozlowski
e402594588 ARM: s5pv210_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - S3C_LOWLEVEL_UART_PORT and S3C_DEV_FB are invalid for S5P;
 - S5PV210_SETUP_FB_24BPP is gone;
 - rest of entries is being removed by default values;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:21 +02:00
Krzysztof Kozlowski
c2a3f4cca5 ARM: s3c6400_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - S3C_BOOT_ERROR_RESET, SND_S3C24XX_SOC and SND_SOC_SMDK_WM9713 are
   gone;
 - rest of entries is being removed by default values;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:18 +02:00
Krzysztof Kozlowski
a13a047520 ARM: mini2440_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - NET_ETHERNET, SND_S3C24XX_SOC are gone;
 - CRYPTO_FIPS is changed to no (cannot be part of module);
 - BINFMT_AOUT cannot be selected anymore;
 - rest of entries is being removed by default values;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:15 +02:00
Krzysztof Kozlowski
68d1719fba ARM: s3c2410_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - S3C_BOOT_ERROR_RESET, SMDK2440_CPU2442 are gone;
 - ARM_THUMB is changed to yes (selected by default);
 - BINFMT_AOUT cannot be selected anymore;
 - rest of entries is being removed by default values;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:13 +02:00
Krzysztof Kozlowski
e5094f9c56 ARM: exynos_defconfig: Save defconfig
Generate new defconfig to get rid of obsolete Kconfig entries:
 - RFKILL_REGULATOR is gone;
 - COMMON_CLK_MAX77802 was merged into COMMON_CLK_MAX77686;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:10 +02:00
Krzysztof Kozlowski
fdf5f61b69 ARM: s5pv210_defconfig: Bring back lost (but wanted) options
The config was not updated for some time so it needs updates to get the
same options as wanted initially:
 - SYSFS_DEPRECATED is now needed for SYSFS_DEPRECATED_V2;
 - DEBUG_SPINLOCK_SLEEP was replaced by DEBUG_ATOMIC_SLEEP;
 - Use proper DEBUG_S3C_UART1 for UART1;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:07 +02:00
Krzysztof Kozlowski
61d26c612d ARM: s3c6400_defconfig: Bring back lost (but wanted) options
The config was not updated for some time so it needs updates to get the
same options as wanted initially:
 - SYSFS_DEPRECATED is now needed for SYSFS_DEPRECATED_V2;
 - PWM is now needed for BACKLIGHT_PWM;
 - DEBUG_SPINLOCK_SLEEP was replaced by DEBUG_ATOMIC_SLEEP;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:04 +02:00
Krzysztof Kozlowski
930e438627 ARM: s3c2410_defconfig: Bring back lost (but wanted) options
The config was not updated for some time so it needs updates to get the
same options as wanted initially:
 - IP_NF_TARGET_LOG was replaced by NETFILTER_XT_TARGET_LOG;
 - NF_NAT was replaced by IP_NF_NAT;
 - SERIAL_DEV_BUS is now needed for BT_HCIUART_LL;
 - TPS65010 is now needed for MACH_OSIRIS_DVS;
 - DMADEVICES and S3C24XX_DMAC are now needed for MMC_S3C;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:30:02 +02:00
Krzysztof Kozlowski
dd48d06b37 ARM: tct_hammer_defconfig: Bring back lost (but wanted) options
The config was not updated for some time so it needs updates to get the
same options as wanted initially:
 - SYSFS_DEPRECATED is now needed for SYSFS_DEPRECATED_V2;
 - USB_GADGET_S3C2410 was replaced by USB_S3C2410;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:29:59 +02:00
Krzysztof Kozlowski
c5f6fc4149 ARM: mini2440_defconfig: Bring back lost (but wanted) options
The config was not updated for some time so it needs updates to get the
same options as wanted initially:
 - SERIAL_DEV_BUS is now needed for BT_HCIUART_LL;
 - USB_GADGET_S3C2410 was replaced by USB_S3C2410;
 - S3C24XX_DMAC is now needed for MMC_S3C;

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:29:56 +02:00
Krzysztof Kozlowski
2a7ae1c049 ARM: defconfig: samsung: Re-order entries to match savedefconfig
Re-order entries just like savedefconfig would do so it will be easier
to review the changes before actual savedefconfig.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:29:53 +02:00
Krzysztof Kozlowski
bd5f62605f ARM: defconfig: Cleanup from old Kconfig options
Remove old, dead Kconfig options (in order appearing in this commit):
 - EXPERIMENTAL is gone since v3.9;
 - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library");
 - MTD_CONCAT: commit f53fdebcc3e1 ("mtd: drop MTD_CONCAT from Kconfig entirely");
 - MTD_PARTITIONS: commit 6a8a98b22b10 ("mtd: kill CONFIG_MTD_PARTITIONS");
 - MTD_CHAR: commit 660685d9d1b4 ("mtd: merge mtdchar module with mtdcore");
 - NETDEV_1000 and NETDEV_10000: commit f860b0522f65 ("drivers/net:
   Kconfig and Makefile cleanup"); NET_ETHERNET should be replaced with
   just ETHERNET but that is separate change;
 - INOTIFY: commit 2dfc1cae4c42 ("inotify: remove inotify in kernel interface");
 - MISC_DEVICES: commit 7c5763b8453a ("drivers: misc: Remove
   MISC_DEVICES config option");
 - HID_SUPPORT: commit 1f41a6a99476 ("HID: Fix the generic Kconfig options");
 - BT_L2CAP and BT_SCO: commit f1e91e1640d8 ("Bluetooth: Always compile
   SCO and L2CAP in Bluetooth Core");
 - DEBUG_ERRORS: commit b025a3f836d1 ("ARM: 6876/1: Kconfig.debug:
   Remove unused CONFIG_DEBUG_ERRORS");
 - USB_DEVICE_CLASS: commit 007bab91324e ("USB: remove CONFIG_USB_DEVICE_CLASS");
 - RCU_CPU_STALL_DETECTOR: commit a00e0d714fbd ("rcu: Remove conditional
   compilation for RCU CPU stall warnings");
 - SYSCTL_SYSCALL_CHECK: commit 7c60c48f58a7 ("sysctl: Improve the
   sysctl sanity checks");
 - IP_NF_QUEUE: commit 3dd6664fac7e ("netfilter: remove unused "config IP_NF_QUEUE"");
 - IP_NF_TARGET_ULOG: commit d4da843e6fad ("netfilter: kill remnants of ulog targets");
 - IP6_NF_QUEUE: commit d16cf20e2f2f ("netfilter: remove ip_queue support");
 - IP6_NF_TARGET_LOG: commit 6939c33a757b ("netfilter: merge ipt_LOG and
   ip6_LOG into xt_LOG");
 - USB_LED: commit a335aaf3125c ("usb: misc: remove outdated USB LED driver");
 - MMC_UNSAFE_RESUME: commit 2501c9179dff ("mmc: core: Use
   MMC_UNSAFE_RESUME as default behavior");
 - AUTOFS_FS: commit 561c5cf9236a ("staging: Remove autofs3");
 - DISPLAY_SUPPORT: commit 5a6b5e02d673 ("fbdev: remove display subsystem");
 - CFG80211_REG_DEBUG: commit c799ba6eab7a ("cfg80211: remove
   CFG80211_REG_DEBUG");
 - VIDEO_OUTPUT_CONTROL: commit f167a64e9d67 ("video / output: Drop
   display output class support");
 - USB_LIBUSUAL: commit f61870ee6f8c ("usb: remove libusual");
 - CRYPTO_ZLIB: commit 110492183c4b ("crypto: compress - remove unused
   pcomp interface");
 - BLK_DEV_UB: commit 68a5059ecf82 ("block: remove the deprecated ub driver");

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
[for vexpress]
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-06-10 19:28:57 +02:00
Hugues Fruchet
d81cd7d72f ARM: configs: stm32: STMPE1600 GPIO expander
Enable STMPE1600 GPIO expander.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-06-08 14:59:05 +02:00
Yannick Fertre
1800e6dd2c ARM: configs: stm32: Add watchdog support in STM32 defconfig
This patch adds STM32 watchdog support in stm32_defconfig file

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-06-08 14:52:13 +02:00
Abhishek Sahu
1d917530c9 ARM: qcom_defconfig: Enable IPQ4019 clock and pinctrl
These configs are required for booting kernel in QCOM IPQ4019 boards.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-06-05 22:00:30 -05:00
Leonard Crestez
7e9eb62688 ARM: imx_v6_v7_defconfig: Explicitly restore CONFIG_DEBUG_FS
This option was removed by "make savedefconfig" in
commit c5054a98bce4 ("ARM: imx_v6_v7_defconfig: Select SMSC_PHY")

This happened because CONFIG_DEBUG_FS was implicitly selected by
CONFIG_TREE_RCU_TRACE which defaulted to true because CONFIG_RCU_TRACE
was enabled by default by commit 961518259b3b ("rcu: Enable RCU
tracepoints by default to aid in debugging")

Recently however CONFIG_RCU_TRACE was completely removed by
commit 6e74c237c410 ("rcu: Remove debugfs tracing")

The result is that imx_v6_v7_defconfig no longer includes DEBUG_FS on
linux-next since next-20170517. This is bad, DEBUG_FS is extremely
useful for kernel introspection and testing.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-06-04 11:41:44 +08:00
Alexandre Bailon
0b997c8c95 ARM: davinci_all_defconfig: Enable CPPI 4.1 USB OTG DMA
CPPI 4.1 DMA is now supported on AM18xx.
Update the config to use it instead of PIO mode.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-05-30 16:12:51 +05:30
Linus Torvalds
5ed02dbb49 Linux 4.12-rc3 2017-05-28 17:20:53 -07:00
Linus Torvalds
d09bc680ca Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal
Pull thermal SoC management fixes from Eduardo Valentin:

 - fixes to TI SoC driver, Broadcom, qoriq

 - small sparse warning fix on thermal core

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal:
  thermal: broadcom: ns-thermal: default on iProc SoCs
  ti-soc-thermal: Fix a typo in a comment line
  ti-soc-thermal: Delete error messages for failed memory allocations in ti_bandgap_build()
  ti-soc-thermal: Use devm_kcalloc() in ti_bandgap_build()
  thermal: core: make thermal_emergency_poweroff static
  thermal: qoriq: remove useless call for of_thermal_get_trip_points()
2017-05-28 16:18:27 -07:00
Linus Torvalds
249f1efd8e TTY/Serial fixes for 4.12-rc3
Here are some serial and tty fixes for 4.12-rc3.  They are a bit
 "bigger" than normal, which is why I had them "bake" in linux-next for a
 few weeks and didn't send them to you for -rc2.
 
 They revert a few of the serdev patches from 4.12-rc1, and bring things
 back to how they were in 4.11, to try to make things a bit more stable
 there.  Rob and Johan both agree that this is the way forward, so this
 isn't people squabbling over semantics.  Other than that, just a few
 minor serial driver fixes that people have had problems with.
 
 All of these have been in linux-next for a few weeks with no reported
 issues.
 
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCWSlOHA8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+ylDCACgn7RHT16JUASggJmRUBeadxQcFQAAnjtxX2kc
 0AQLqXxqGyFxVZClAYMy
 =Y6+X
 -----END PGP SIGNATURE-----

Merge tag 'tty-4.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

Pull tty/serial fixes from Greg KH:
 "Here are some serial and tty fixes for 4.12-rc3. They are a bit bigger
  than normal, which is why I had them bake in linux-next for a few
  weeks and didn't send them to you for -rc2.

  They revert a few of the serdev patches from 4.12-rc1, and bring
  things back to how they were in 4.11, to try to make things a bit more
  stable there. Rob and Johan both agree that this is the way forward,
  so this isn't people squabbling over semantics. Other than that, just
  a few minor serial driver fixes that people have had problems with.

  All of these have been in linux-next for a few weeks with no reported
  issues"

* tag 'tty-4.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
  serial: altera_uart: call iounmap() at driver remove
  serial: imx: ensure UCR3 and UFCR are setup correctly
  MAINTAINERS/serial: Change maintainer of jsm driver
  serial: enable serdev support
  tty/serdev: add serdev registration interface
  serdev: Restore serdev_device_write_buf for atomic context
  serial: core: fix crash in uart_suspend_port
  tty: fix port buffer locking
  tty: ehv_bytechan: clean up init error handling
  serial: ifx6x60: fix use-after-free on module unload
  serial: altera_jtaguart: adding iounmap()
  serial: exar: Fix stuck MSIs
  serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
  serdev: fix tty-port client deregistration
  Revert "tty_port: register tty ports with serdev bus"
  drivers/tty: 8250: only call fintek_8250_probe when doing port I/O
2017-05-27 09:39:09 -07:00
Linus Torvalds
6f68a6ae1f powerpc fixes for 4.12 #4
Fix running SPU programs on Cell, and a few other minor fixes.
 
 Thanks to:
   Alistair Popple, Jeremy Kerr, Michael Neuling, Nicholas Piggin.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZKURPAAoJEFHr6jzI4aWAhckQAJxZZHt2OMbdNu0PxHdhZgxo
 +eSODIF0jvzBnYs/Pe9aqqrxuONxW+ioclyUIVYLUlHwLjCGf7x2Y5tJe0OmEff6
 ZOaUUcwECKw4cy2UJY6NCGv0nw/8INTDN5xPcQq9M8gExmX6plTmbnQg8Y10ONdQ
 LYu36GWyXF4ygblvLo7kXs8tuZYKozO6kPRqxiQ3zML2dOAyqWqPwpnoWSc6c7oR
 W+z/Vuxe3lTR+QHbfvnSpQhmdVi+WEnwFvgNmIise5R9Jd30Q1f1vES5E089ifmN
 b0Qi5/gkb6YWBkROvxTARFRdmU0/YPNDFWUsuyHJB/Nz1MnqqXx5X+5KpqqinPya
 azVoYW010x2zawm0aX+BF/WeH5ymsl++R84/aO8UR0fA2AIwEOQeLGWZvaZb8CMl
 9vd3NqCJ+diBhgCHiHp80pjD978bqt7Ls1nfbHhYTJ31HRT8Yz/ympWOhLE6rp+t
 kGR+UOHduaZWK3KHoE2WIoUFJuQMvRgFmjoy2G+YaK/PcUc8OA+90v1665fnbk+N
 wmZyAirP39gveHkHXDywqbEjN4CSMgsqrRW/KwPo0b4mf2m3rsIAshO9pBbZRv+P
 evhrAkCYRv5zGbGIYJ/TiEyball+8NQzxzoYmMzq62pjE27gyIe94Sqy80U4zyOC
 RqqUxflOBgMDC8Ufc30u
 =EM32
 -----END PGP SIGNATURE-----

Merge tag 'powerpc-4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Michael Ellerman:
 "Fix running SPU programs on Cell, and a few other minor fixes.

  Thanks to Alistair Popple, Jeremy Kerr, Michael Neuling, Nicholas
  Piggin"

* tag 'powerpc-4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc: Add PPC_FEATURE userspace bits for SCV and DARN instructions
  powerpc/spufs: Fix hash faults for kernel regions
  powerpc: Fix booting P9 hash with CONFIG_PPC_RADIX_MMU=N
  powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call
  selftests/powerpc: Fix TM resched DSCR test with some compilers
2017-05-27 09:28:34 -07:00
Linus Torvalds
38e6bf238d Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Thomas Gleixner:
 "A series of fixes for X86:

   - The final fix for the end-of-stack issue in the unwinder
   - Handle non PAT systems gracefully
   - Prevent access to uninitiliazed memory
   - Move early delay calaibration after basic init
   - Fix Kconfig help text
   - Fix a cross compile issue
   - Unbreak older make versions"

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/timers: Move simple_udelay_calibration past init_hypervisor_platform
  x86/alternatives: Prevent uninitialized stack byte read in apply_alternatives()
  x86/PAT: Fix Xorg regression on CPUs that don't support PAT
  x86/watchdog: Fix Kconfig help text file path reference to lockup watchdog documentation
  x86/build: Permit building with old make versions
  x86/unwind: Add end-of-stack check for ftrace handlers
  Revert "x86/entry: Fix the end of the stack for newly forked tasks"
  x86/boot: Use CROSS_COMPILE prefix for readelf
2017-05-27 09:17:58 -07:00
Linus Torvalds
39b8ab31bc Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixlet from Thomas Gleixner:
 "Silence dmesg spam by making the posix cpu timer printks depend on
  print_fatal_signals"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  posix-timers: Make signal printks conditional
2017-05-27 09:14:24 -07:00
Linus Torvalds
de0b9d751b Merge branch 'ras-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RAS fixes from Thomas Gleixner:
 "Two fixlets for RAS:

   - Export memory_error() so the NFIT module can utilize it

   - Handle memory errors in NFIT correctly"

* 'ras-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  acpi, nfit: Fix the memory error check in nfit_handle_mce()
  x86/MCE: Export memory_error()
2017-05-27 09:06:43 -07:00
Linus Torvalds
fac3fcae32 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf tooling fixes from Thomas Gleixner:

 - Synchronization of tools and kernel headers

 - A series of fixes for perf report addressing various failures:
    * Handle invalid maps proper
    * Plug a memory leak
    * Handle frames and callchain order correctly

 - Fixes for handling inlines and children mode

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  tools/include: Sync kernel ABI headers with tooling headers
  perf tools: Put caller above callee in --children mode
  perf report: Do not drop last inlined frame
  perf report: Always honor callchain order for inlined nodes
  perf script: Add --inline option for debugging
  perf report: Fix off-by-one for non-activation frames
  perf report: Fix memory leak in addr2line when called by addr2inlines
  perf report: Don't crash on invalid maps in `-g srcline` mode
2017-05-27 09:02:41 -07:00
Linus Torvalds
805f286907 Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking fix from Thomas Gleixner:
 "A fix for a state leak which was introduced in the recent rework of
  futex/rtmutex interaction"

* 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  futex,rt_mutex: Fix rt_mutex_cleanup_proxy_lock()
2017-05-27 08:59:37 -07:00
Linus Torvalds
d024baa58a Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull kthread fix from Thomas Gleixner:
 "A single fix which prevents a use after free when kthread fork fails"

* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  kthread: Fix use-after-free if kthread fork fails
2017-05-27 08:52:27 -07:00
Linus Torvalds
77d6465695 There's been a few memory issues found with ftrace.
One was simply a memory leak where not all was being freed that should
 have been in releasing a file pointer on set_graph_function.
 
 Then Thomas found that the ftrace trampolines were marked for read/write
 as well as execute. To shrink the possible attack surface, he added
 calls to set them to ro. Which also uncovered some other issues with
 freeing module allocated memory that had its permissions changed.
 
 Kprobes had a similar issue which is fixed and a selftest was added
 to trigger that issue again.
 -----BEGIN PGP SIGNATURE-----
 
 iQExBAABCAAbBQJZKOiVFBxyb3N0ZWR0QGdvb2RtaXMub3JnAAoJEMm5BfJq2Y3L
 vBoH/jxVozuAEVCv+Nbj6fhRxe4emjo0lZZb32EbEaSV/nUQGqHIZFdDQtbt+ld+
 sn06/BSMBI+L4BqLj1BCAW0e/zIn/4birIg53SX5jQwc3AlhUG7HS2d+RJZZCrp9
 Zofq9L6xZ4Hl2XjkPXqwEgtrwxQtkIPLlJqeYDJ6BVrlPfOPEwB7bfR7B684wiYT
 6h2Qo7f/ZQzgJ1sK8N2IjHEnAgE08KCYcj4IB4WHJk6SqQz3bv1Y00WBg2UQihVT
 TPPSVhYLnrSw53fxyALqZbHo2DvnQf1TnNadWxvSIpbvgm/T5GG60FDtvHgNfbwz
 yKuKAog+P9xBLkoAcfvODLY9O5s=
 =75TZ
 -----END PGP SIGNATURE-----

Merge tag 'trace-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull ftrace fixes from Steven Rostedt:
 "There's been a few memory issues found with ftrace.

  One was simply a memory leak where not all was being freed that should
  have been in releasing a file pointer on set_graph_function.

  Then Thomas found that the ftrace trampolines were marked for
  read/write as well as execute. To shrink the possible attack surface,
  he added calls to set them to ro. Which also uncovered some other
  issues with freeing module allocated memory that had its permissions
  changed.

  Kprobes had a similar issue which is fixed and a selftest was added to
  trigger that issue again"

* tag 'trace-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  x86/ftrace: Make sure that ftrace trampolines are not RWX
  x86/mm/ftrace: Do not bug in early boot on irqs_disabled in cpu_flush_range()
  selftests/ftrace: Add a testcase for many kprobe events
  kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
  ftrace: Fix memory leak in ftrace_graph_release()
2017-05-27 08:30:30 -07:00
Thomas Gleixner
6ee98ffeea x86/ftrace: Make sure that ftrace trampolines are not RWX
ftrace use module_alloc() to allocate trampoline pages. The mapping of
module_alloc() is RWX, which makes sense as the memory is written to right
after allocation. But nothing makes these pages RO after writing to them.

Add proper set_memory_rw/ro() calls to protect the trampolines after
modification.

Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1705251056410.1862@nanos

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-05-26 22:37:02 -04:00
Steven Rostedt (VMware)
a53276e282 x86/mm/ftrace: Do not bug in early boot on irqs_disabled in cpu_flush_range()
With function tracing starting in early bootup and having its trampoline
pages being read only, a bug triggered with the following:

kernel BUG at arch/x86/mm/pageattr.c:189!
invalid opcode: 0000 [#1] SMP
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc2-test+ #3
Hardware name: MSI MS-7823/CSM-H87M-G43 (MS-7823), BIOS V1.6 02/22/2014
task: ffffffffb4222500 task.stack: ffffffffb4200000
RIP: 0010:change_page_attr_set_clr+0x269/0x302
RSP: 0000:ffffffffb4203c88 EFLAGS: 00010046
RAX: 0000000000000046 RBX: 0000000000000000 RCX: 00000001b6000000
RDX: ffffffffb4203d40 RSI: 0000000000000000 RDI: ffffffffb4240d60
RBP: ffffffffb4203d18 R08: 00000001b6000000 R09: 0000000000000001
R10: ffffffffb4203aa8 R11: 0000000000000003 R12: ffffffffc029b000
R13: ffffffffb4203d40 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff9a639ea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff9a636b384000 CR3: 00000001ea21d000 CR4: 00000000000406b0
Call Trace:
 change_page_attr_clear+0x1f/0x21
 set_memory_ro+0x1e/0x20
 arch_ftrace_update_trampoline+0x207/0x21c
 ? ftrace_caller+0x64/0x64
 ? 0xffffffffc029b000
 ftrace_startup+0xf4/0x198
 register_ftrace_function+0x26/0x3c
 function_trace_init+0x5e/0x73
 tracer_init+0x1e/0x23
 tracing_set_tracer+0x127/0x15a
 register_tracer+0x19b/0x1bc
 init_function_trace+0x90/0x92
 early_trace_init+0x236/0x2b3
 start_kernel+0x200/0x3f5
 x86_64_start_reservations+0x29/0x2b
 x86_64_start_kernel+0x17c/0x18f
 secondary_startup_64+0x9f/0x9f
 ? secondary_startup_64+0x9f/0x9f

Interrupts should not be enabled at this early in the boot process. It is
also fine to leave interrupts enabled during this time as there's only one
CPU running, and on_each_cpu() means to only run on the current CPU.

If early_boot_irqs_disabled is set, it is safe to run cpu_flush_range() with
interrupts disabled. Don't trigger a BUG_ON() in that case.

Link: http://lkml.kernel.org/r/20170526093717.0be3b849@gandalf.local.home
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-05-26 22:37:01 -04:00
Masami Hiramatsu
bdd7e3d684 selftests/ftrace: Add a testcase for many kprobe events
Add a testcase to test kprobes via ftrace interface
with many concurrent kprobe events.

This tries to add many kprobe events (up to 256) on
kernel functions. To avoid making ftrace-based
kprobes (kprobes on fentry), it skips first N bytes
(on x86 N=5, on ppc or arm N=4) of function entry.
After that, it enables all those events, disable it,
and remove it.

Since the unoptimization buffer reclaiming will
be delayed, after removing events, it will wait
enough time.

Link: http://lkml.kernel.org/r/149577388470.11702.11832460851769204511.stgit@devbox

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-05-26 22:37:00 -04:00
Masami Hiramatsu
c93f5cf571 kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
Fix kprobes to set(recover) RWX bits correctly on trampoline
buffer before releasing it. Releasing readonly page to
module_memfree() crash the kernel.

Without this fix, if kprobes user register a bunch of kprobes
in function body (since kprobes on function entry usually
use ftrace) and unregister it, kernel hits a BUG and crash.

Link: http://lkml.kernel.org/r/149570868652.3518.14120169373590420503.stgit@devbox

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Fixes: d0381c81c2f7 ("kprobes/x86: Set kprobes pages read-only")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-05-26 22:37:00 -04:00