Commit Graph

122828 Commits

Author SHA1 Message Date
Joachim Eastwood 29d7a6ab10 ARM: configs: lpc18xx: enable adc and dac iio drivers
Enable ADC and DAC IIO drivers for LPC18xx/43xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-07 20:42:29 -07:00
Arnd Bergmann 0c789933d2 Allwinner defconfig changes for 4.8
Two patches to enable the DRM driver in the sunxi and multi_v7 defconfig.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXfBKiAAoJEBx+YmzsjxAg7q8P/2+bdNaxfnqEEUDNUVkWPxx0
 /5FezVeOAYsrcB2BFhyAokGfz+hU1XbRc8ctYkdsiWJVwQmu29EmWqKSyWYtdoxa
 AISn1abz1UGlwILaUSaBQJspJyhHrnebxgSz85RkL+rpcCMI0wdxxuQ804g2ACai
 WT9ZeALIliz24kZbd6YPueVozJ/HatEdbuMChN9yeH9afqjO0vE66fdfvxOstMGD
 403ZVGN/Sz0k88OH8SVdTSUzGgjwbEs97HFGRWC4uldZln0qOG2vtjZ6ZSZSY6IY
 ZTZgAyjhPa4iY8VMe0FDM8LoGpyElchxlqGAY7HOFf2X+mpFATM02DrmTQD8t8yA
 e2NdDKKc0pLDodBIEufdl6QYFb3KhuLC6LwRxvoKunRAUAqVjvTgXvk2yY/JpQSS
 5uPVO9T9gdfA6vE1AxCPyykznNfVp2shRdNHg5fNNmEQJYqYULBiTREuqWKeco5j
 7/CPHXHurLV7BxC8VfsWO/XYY0RE1F3urSwetu9jxoFya9wIN/kJ81cMahsHl+tP
 Dv9t7pqClF3CEV0aFZmVpxFAvtSr8MgC0fW/7h+B+qJ9g9mv8gaW2Hgel/k+64No
 3/cVZDApk33yCQc7Gp25eCm1GTC3U+7UaQ/ISLd4dKe8PTpWBaNgY2MIgla6ELgn
 NW3HeAIcV8F+c5QUoHzz
 =CrDC
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-defconfig-for-4.8' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into next/defconfig

Merge "Allwinner defconfig changes for 4.8" from Maxime Ripard:

Two patches to enable the DRM driver in the sunxi and multi_v7 defconfig.

* tag 'sunxi-defconfig-for-4.8' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
  ARM: sunxi: Enable sun4i DRM driver
  ARM: multi_v7: Enable sun4i DRM driver
2016-07-07 14:44:34 +02:00
Arnd Bergmann 1ed59b8f43 Defconfig changes for 4.8 #2:
- Addition of the sama5d2 xplained PMIC: ACT8945A
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCgAGBQJXemchAAoJENiigzvaE+LC9LIP/jU3O5r54sHQsbmZzCaf0GZY
 1v2Q6EWDTP2aoFLxZ6dpRi4G+Gu7ycf/wy0CFF0LNjZbsYPrYf3A4dNBVzii7Qkh
 xEjQBr3Qc0EOR3xUV2lkdNzJNWbEolHgAmdA5dDRdZK55m8F/3j+yzeizTk96tc/
 n8gf9Rk2hz0KZnuP7M2jP29nzIYiShkbx0uQQ95VQwNYYJJeNJAgKOvUnK2cwnQT
 3xw0tf/QWk9azBQs0eRwz0tp7YBpvOdgrT3zdQrGPZl0BknJ75f6pQhiV3+Ez++y
 QSPjj8bsZVx1bpnqKd2G+hbsMMj+aCy4jYt+LP4LdYqwaeD1o0ytDuAMEXPQtgrO
 SAe+5B37M1QKq0DaMjj4aQu5Iod/bpg9FGBC9EsiUYH3jikluexqjW9IRL305yJD
 B4dSZXuKbFODTLvEauD0q2zL0KMgWTqog3B77zlZ6oYk1pHUPnN7Wans1FUYGzbB
 x9Wqf8rQmEB3bdIl1aquiivP8zwsEqQbNOhxqVO0vFlB1mAMl99x2tUpOrlBWu5j
 hk1Y1pA24kgF2Yoz7WKOZSZlOp3x9pD0qiDCzypCa/9uIdv8NDxPlGQbJZukJ9P2
 mjjV7hUVYfv3zms9dUJ7SCKajnYcF8BmUeJfTQL9tGEDTZGu6U8Ai5Ms7yHFw1CT
 Bl9MKpor+uoBnloV+RN5
 =21yF
 -----END PGP SIGNATURE-----

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

Merge "Defconfig changes for 4.8 #2:" from Alexandre Belloni:

 - Addition of the sama5d2 xplained PMIC: ACT8945A

* tag 'at91-ab-4.8-defconfig2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  ARM: multi_v7_defconfig: add ACT8945A
  ARM: at91/defconfig: Add ACT8945A driver
2016-07-07 14:06:14 +02:00
Olof Johansson 51a8506608 Renesas ARM Based SoC Defconfig Updates for v4.8
* Enable newly added support for r8a7792 SoC in multi_v7 and shmobile
   defconfigs
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXdRmbAAoJENfPZGlqN0++/BEQALN/c/IywQ7haJ1X7U3BIAea
 zDgRMbZxtKCnEVw51hqpOjkobhW3dvMP8Yw1WVngmUJRMnpF1YFbYRXtezS5rMsl
 5nAMvzR4uuqjKbGVcR6DMT5EJMbWCY99MGyqB9OLfzuCC90Y3L85kdkWNi3JCukK
 /0DQ3NU39FdnHnloauVDyXa1WauEl+Tti/kXU2EIoK3fxEmBVWauUGxAlpf0MBa9
 2B8lZlS930r5srQOZBlOiWWNVQT0mYvljSjO9GX9MHjmhLQGfY5LcHPaRupcEHmv
 weDInqnwk0OvHJBjLFNJuMpG11TU7UMGuEVFDNjfel3ItRwzQ+lwZRrn6g58pr52
 N1jotBGeZhtc7ozOmgMqj5oFjhvo+KXAnQiVtpQECAHFo8NL45HCT81+ZRbpmOHG
 Q9EGgOJyh7hnTa6GLgqfG5n+UCCQQmtIYo4mkbhuBIgiBTVaKvLINgrGnghTeul7
 xJyvzafWa3D81NeJB3fnQWfvug/GKSQJp8axk4yultNtLUd8mEAABL5C5fCqYmKL
 xPtDEfmGlVEsJa/L42aDYVrTOhRzt4S8Cy3z5nJkJah7X5FwPAGn8Sx0zkexhS4j
 ANrk2I/ec5ttVUP+2sjmgyvU+JbIyPgjQhP2lp3ifEGosWbYxA4/u5GTzJiyheuX
 6PC9YZ0dQzStAx/QoYWT
 =f6TZ
 -----END PGP SIGNATURE-----

Merge tag 'renesas-defconfig-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/defconfig

Renesas ARM Based SoC Defconfig Updates for v4.8

* Enable newly added support for r8a7792 SoC in multi_v7 and shmobile
  defconfigs

* tag 'renesas-defconfig-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: multi_v7_defconfig: defconfig: Enable r8a7792 SoC
  ARM: shmobile: defconfig: Enable r8a7792 SoC

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-06 22:07:19 -07:00
Alexander Shiyan 295e14b105 ARM: config: Add a multi_v4t_defconfig
To allow regression build testing of multi v4t systems, add a
multi_v4t_defconfig, similar to the multi_v5(v7)_defconfig.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2016-07-06 17:36:31 +02:00
Olof Johansson 2941895aa0 Samsung defconfig update for v4.8, part 2:
1. Enable Virtual Video Test Driver on nulti_v7 and exynos defconfigs.
    Useful for testing.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXdL4UAAoJEME3ZuaGi4PX/MQP/3dUeUXT83Yg3dQMEZJXLI8Z
 aciTCgUeozP+LYQGn5XzRPl0dOePZGLU+n8AcWsKBxIFfMl0lYYrdk9Y78Wd22dT
 1V2dpHkVy6zC88WCEzK7abjiaq0g5PA4jdnLfog4t6fgKHF/EwrWYqGAics9RDZ+
 yGoOy/KOAS8bYHg2MZ8GDH/9AIahQ1u1s+2/rJDgWM+ioJgmRqd17eVj7HlI9A5d
 TZMXHGOz+ToJH87i1Yd/U5tIdQ82TWmSrBszKfRcs7R0Ayqnx+s4WcPklj8xOSz9
 P0wkl3F39ihqDHO/MJScjRuD/Di92PVjLsGBLWqicuQIQ4fzRh5cv/bxnR7kQLnW
 7c4CVcyzkEz42HQ3QxnmfFNTzzr2yz/XLjg+mLPEXqOBs4ZSa9rMzUjfWatlZk0e
 SjogdR5Pxhcei2XMarxG2dFISVKEsTggmjW8hlO/xuukSG/0wEKwBFDqe1PsPA6K
 j1yJcA9FfoIE4x1hM5OJopot8sXLG7KZWqqK0VRsQIOU9XvMjNAyRP/PPju6MLHs
 D6Uwm4QXk0DS4GFrD+mI4neI1X92e/yDzX/Jjou8dcqPNO2zlZtJJWFQh+MdWjyK
 q/V8OjdjFxRfIjx4ddj5i5ESPL5rwWd7KUkmiQJGi36s1vKCVCn5HD/Y1Kn1j1gv
 EDwyrUCgpbGKElmJcV2V
 =9A1f
 -----END PGP SIGNATURE-----

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

Samsung defconfig update for v4.8, part 2:
1. Enable Virtual Video Test Driver on nulti_v7 and exynos defconfigs.
   Useful for testing.

* tag 'samsung-defconfig-4.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: multi_v7_defconfig: Enable vivid driver as a module
  ARM: exynos_defconfig: Enable vivid driver as a module

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05 22:49:00 -07:00
Olof Johansson 01ba96dff1 The i.MX defconfig update for 4.8:
- Enable TOUCHSCREEN_ADS7846, USB_FUNCTIONFS and USB_USBNET support
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJXcm6FAAoJEFBXWFqHsHzOdFEH/jF1mfZbRBYDjkLsg6H++MJ1
 q/Yd8GTahIgIQyjAglBbiF5nLnLD6OK03HPu4M5H7fBo/tS6Og5Tk8LshwXzEucZ
 eAC6/5iDRlY1AgdFrdxhXqGwVyG04dgK553PQijCR5GSZ9MMhQO9JFJ49Lf64FuV
 TqZ0VPDUO7fw0qlE7yqd1JWy1SHa5LthRxUpx8gJUk+6nqJVQO26Ciga1BP6uSsB
 5nprCGpWo00Hfn6hMHqWXCyOm4vaWPq+N2E9aHFdo6VNnAIZxbqvYJ3RpfDu1UfV
 PoCoRVaNSfqEIr5yaliMykXI96U8gbLfoWXf/E4K08/Z9uB0gyIqbXCmvHoMhC0=
 =EWUm
 -----END PGP SIGNATURE-----

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

The i.MX defconfig update for 4.8:
 - Enable TOUCHSCREEN_ADS7846, USB_FUNCTIONFS and USB_USBNET support

* tag 'imx-defconfig-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx_v6_v7_defconfig: Select ADS7846 support
  ARM: imx_v6_v7_defconfig: enable USB FFS gadget
  ARM: imx_v6_v7_defconfig: build in usbnet to support NFS for non-ethernet board

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05 21:15:26 -07:00
Olof Johansson a963e09240 Qualcomm ARM Based defconfig Updates for v4.8
* Enable MSM9615 board support
 * Enable MSM8660 pinctrl support
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXcaEcAAoJEFKiBbHx2RXVhAYP/jK9BUCfGmPw/t5pS5UCO8oq
 PDLAajeQ818dJUlJcIcIcxPZjIqO2XqpxihqrGfaFTWExWo2yeg+kCts+enCrASz
 JlktLZGT3yiHUigZ4HnUtaN3KWq9AXlawFAwm27Vf3TnvSdwo+Jz7Q7YZyIUBu3I
 uW5hTCsilVq954tUUxMkzk4iT8oWtubkREVXnnUhw7v4vPpJQ7qn830kgPiUBMMR
 21zEoK50PBppU9ZFlZ6A2qj4mGldj9y0kK/OUtWnOSEXFUUvOCYFG63UfnJ6e0OH
 O0HA8yLLLdjjWUJlGGhR9hCDcQihfIefhiiUxjcAqVpuIc+szlXt37aJW6ifpfnx
 x//hfSgtwNlrvNusqrSb8ZZIAEpHJbRrutwkidd2c+KC6Xoy8s7H4u0tbWeGrigc
 kPkJjaabNtfFH/Ftkv1OfXckA8Hq0y26FJeL8zjj/fQpN0+Cgc8BcsKCEQCRNEXi
 UFQndJXGbj3ssamiEVUQQtuj+MesOH3ZfAfy8rJn9i3De+UwO4UMxG9GPkFKv9E7
 DrUt0p8CverZmXQg4hYU7muDHqW6b84bIf+UsElMwKqQOlNwBpUWHR1p0J3icHhL
 NTM33C8s7dgHn0rKNY0KVkTFLFo+Mlxo3E7pJk0b3h9WVruXZBdy82jddHlqqA7P
 Kcwg9GTfYPG4glwx6bDj
 =5MS4
 -----END PGP SIGNATURE-----

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

Qualcomm ARM Based defconfig Updates for v4.8

* Enable MSM9615 board support
* Enable MSM8660 pinctrl support

* tag 'qcom-defconfig-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: configs: qualcomm: Add MDM9615 missing defconfigs
  ARM: defconfig: enable the MSM8660 pin controller

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-04 22:22:01 -07:00
Olof Johansson 59f23b6e42 SoCFPGA defconfig updates for v4.8
- enable PL330 DMA, PCIe, Touchscreen and USB Mass Storage
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXbEsVAAoJEBmUBAuBoyj0pKoQAIsk9tlctYUQXNR/L87nq5lG
 08WvUDG6mVvbe59LQ6RIAo9sj/FP6k2PmIZIgWLuZ1eLjSLq00PnItbQJavoO3Ob
 d6zuDBUnENScpaIw2xb72w7328TT0zw0Hpl2GLh6VHZ9VNaQpLRf2M86pdtxC5JI
 vsCFO+z4G0VXhT4NzVHX1hT1l1AurnJSQxrHPIfP/0JT+m6CK24IQeCGqehixeRt
 l3SpOewzAmsEL+DQ/9CmQGovCl/qBfA6J6mUBMt9w84idHi5bv++oYmqUeb8gjR9
 IT+btyKnEK6zG0QuM4Dbm41SzKDKvi+4uCLUgAw8/oxxl4ag0q3UzaWX/z59er2Z
 a6Ej+8oAA8NVxpqN6Ml24HRHRxO9dvhZ6xk9ONggE57zf2Lg67iX97KnQOkXX1Wu
 DI0aBgAAGilH+ZYwGLaf0oOgqD5UlRyhyXZzWpSs0oDs0lN0cRPmw7zV8SRj3iou
 HQ8y9HdVlDEq7XfitX73vwxekRVp9C9dWxdKoTGZbtYliVivMclUX92UMaTMfz9J
 SnmT5SJQvirgNfLVmnOkIMIQUWXd/oBm8NhLwbGPZbomVOt9jrg+9BJuvgDmftTP
 7mLmpIEyBTWLTjufnE0GvkubIlz7vjECD/CFFf2SUCRB+eg6UbevYhYSasD8umLL
 f8kigptluVb8gK2bWLS8
 =pjpb
 -----END PGP SIGNATURE-----

Merge tag 'socfpga_defconfig_updates_for_v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/defconfig

SoCFPGA defconfig updates for v4.8
- enable PL330 DMA, PCIe, Touchscreen and USB Mass Storage

* tag 'socfpga_defconfig_updates_for_v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  ARM: socfpga: enable PL330 DMA in socfpga_defconfig
  ARM: socfpga: add PCIe to socfpga_defconfig
  ARM: socfpga: Update socfpga_defconfig

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-04 21:49:15 -07:00
Olof Johansson 208b3e2038 ARM: Keystone config updates for 4.8
- Enable PINCTRL support
 	- Remove redundant ARM_PATCH_PHYS_VIRT
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXaW4cAAoJEHJsHOdBp5c/FhoP/R7A/KDlR0BLatvPb1aYRZ74
 kycyMYq0c66Rh4oYsV8ypcJKyKK/eUXXIsJ5BQ/YD9eLRESanf6UwxLJKagdaGJf
 L19rQSJGYfwS52W/m7AnW6NFAnkYbq+xH+LnWO0Y93Wy5L+2JucwHNR5p9kV7bZz
 DsFCym6a1mZUDHLS7IDtfRKkCXd1oVIl2QannGar1GXy83E0zwQHiv5caC5U0zp0
 Tvs07rpB8vWDtqqLLL/JvAeRtJkWz+/MAk4SnC2OaoGgQrT6cwKvlNemyDKe0+fs
 EWfRUb3+uX5QjGMm2Y+be4jzxmAFNwVnmxd2Yg8HkzgdB7P8l3qWY36wv8Vtvpaf
 d6CpHQGPlUA5b/Y0+Rt62e3iXS3GoUQj6gxZN6jho9GyCg3srzBBrgQ5sqyeaWSR
 IZLHrTsE3yM0ObihujU0Jd+tWLGJkdgLa55WLcHrESKrFA5uVi36cM3PNKb8rMDy
 c7wFtaOMWwo8DJrjUe8bS/fLFjW8enOdWfjKyX25zuH2DHCTxAShTBXgC8C9hzgo
 Qne1YCh01IsqqSE9dMvLb5QMv3L+wj5Mebu0+ckKWvcPQnEKlJuQeJmruYCEAxFS
 iN4oGN4cJnv58rO0kItA8uCQDTIKnEtPOkTrgMAXaqMgPt/2Shb7VMVN1e1o+U1+
 R4Uq/aWSGFhVRHTKUKgT
 =QlWV
 -----END PGP SIGNATURE-----

Merge tag 'keystone_config_for_4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/defconfig

ARM: Keystone config updates for 4.8

	- Enable PINCTRL support
	- Remove redundant ARM_PATCH_PHYS_VIRT

* tag 'keystone_config_for_4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: keystone: remove redundant depends on ARM_PATCH_PHYS_VIRT
  ARM: keystone: Enable PINCTRL_SINGLE Config
  ARM: keystone: Enable PINCTRL config

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-04 20:51:03 -07:00
Alexandre Belloni 526b87fdba ARM: multi_v7_defconfig: add ACT8945A
ACT8945A is the PMIC present on the sama5d2 Xplained.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-07-04 10:45:05 +02:00
Wenyou Yang 2e1a705a84 ARM: at91/defconfig: Add ACT8945A driver
Include ACT8945A mfd, regulator and power drivers.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-07-01 21:06:02 +02:00
Diego Dorta b57d82d7ba ARM: imx_v6_v7_defconfig: Select ADS7846 support
Add CONFIG_TOUCHSCREEN_ADS7846 support.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2016-06-28 09:59:28 +08:00
Neil Armstrong 8aa788d3e5 ARM: configs: qualcomm: Add MDM9615 missing defconfigs
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2016-06-27 16:51:06 -05:00
Javier Martinez Canillas 0650692487 ARM: multi_v7_defconfig: Enable vivid driver as a module
The Virtual Video Test Driver can be used to emulate video capture and
output devices so it's very useful for testing. Since is not necessary
to boot, can be enabled as module to avoid increasing the kernel size.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-06-27 08:19:09 +02:00
Javier Martinez Canillas 4d7406ef08 ARM: exynos_defconfig: Enable vivid driver as a module
The Virtual Video Test Driver can be used to emulate video capture and
output devices so it's very useful for testing. Since is not necessary
to boot, can be enabled as module to avoid increasing the kernel size.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-06-27 08:18:54 +02:00
Linus Walleij 600430882e ARM: defconfig: enable the MSM8660 pin controller
After enabling this I get pins, GPIO, keys and everything on
the MSM8660 surf (APQ8660 DragonBoard).

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2016-06-24 22:34:52 -05:00
Gary Bisson 77610fe6f3 ARM: imx_v6_v7_defconfig: enable USB FFS gadget
The USB Function FS gadget can be very useful for debugging.

For instance, the adbd daemon can leverage this gadget to
offer an ADB connection to the platform over USB.

Note that adbd is available on many OS/build systems:
- Ubuntu: see android-tools-adbd package [1]
- Yocto: see meta-smartphone android-tools recipe [2]
- Buildroot: see android-tools package [3]

[1] http://packages.ubuntu.com/trusty/android-tools-adbd
[2] https://github.com/shr-distribution/meta-smartphone/tree/shr/meta-android/recipes-android/android-tools
[3] https://git.buildroot.net/buildroot/tree/package/android-tools

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2016-06-21 21:47:53 +08:00
Dinh Nguyen 2baf9e9ec0 ARM: socfpga: enable PL330 DMA in socfpga_defconfig
Enable the PL330 DMA and DMATEST on SoCFPGA.

make savedefconfig says CONFIG_FHANDLE is not needed in the defconfig,
remove it.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
v2: Also enable DMATEST as a kernel module
2016-06-20 11:01:00 -05:00
Ley Foon Tan 417adec309 ARM: socfpga: add PCIe to socfpga_defconfig
Enable Altera PCIe host driver, Altera MSI driver and PCIe devices.

CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCIE_ALTERA=y
CONFIG_PCIE_ALTERA_MSI=y
CONFIG_BLK_DEV_NVME=m
CONFIG_E1000E=m
CONFIG_IGB=m
CONFIG_IXGBE=m

Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Tien Hock Loh <thloh@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
2016-06-20 11:00:59 -05:00
Simon Horman a1becf12c6 ARM: multi_v7_defconfig: defconfig: Enable r8a7792 SoC
Enable support for r8a7792 SoC in multi_v7_defconfig.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-06-20 17:53:03 +09:00
Simon Horman c39f2947bf ARM: shmobile: defconfig: Enable r8a7792 SoC
Enable support for r8a7792 SoC in shmobile_defconfig.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-06-20 17:52:49 +09:00
Olof Johansson 856dfb0ccd This pull request contains defconfig changes for Broadcom ARM-based SoCs:
- Florian enables support for the BCM63xx DSL SoCs basic peripherals, enables
   the networking subsystems for Set Top Box SoCs, enables the PWM, watchdog and
   the AHCI controller and SATA PHY drivers
 
 - Florian removes the bcm_defconfig file which is no longer useful and updates
   multi_v7_defconfig to include the Kona watchdog to provide proper reboot for the
   Broadcom Kona platforms
 
 Please note that Tejun Heo has queued a patch which renames AHCI_BRCMSTB into
 AHCI_BRCM, to avoid two patches in a row, we just enable AHCI_BRCM to be future
 proof
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXY1BGAAoJEIfQlpxEBwcEkkgQAITurehP8Wbt0aBSt42OUmCP
 xvBTuecYkDeoZCTAT3QxfLt2f6aXHWxhl1c4nbnEF3bHqSvwDN1d4QjORC2vNN/j
 4pfLXwRN2wpWk40j7ee3rrJVM2iYyHyfa1qY3cBUD11rtBFWTX0DTvevbG9jUvsL
 dqfV51QHXAbod0L7QZKAmBmjQsjpBjDOfdrxULad0wJcOpIImDc1ynKV1PPd5hOw
 SFTyQe2rtNmhoIiLThwA694upfxPxguz6SlWZo503n6vMoF5U/z51EGne9scTTxi
 kjATpQAuYWakN3qD1AeT8oHm4/Mq5vMLqvjyRLrxlDCkrQp4UliLPEzwGIhB0BU+
 sBcmWhLieuYaR09in46wkuBbiWXGR6vh5TkN2MIlV61Y6Q99YUumTUiDO8d3fKus
 DqdPXACxpM9FoP4I/HniOMdl4FXInBqq3Ec/rBCb5fbsyxbO+FgxRBZkvZmoTouO
 6ZRIx/opi1GzW8te1hZvdzzL9uJaWFDXwnpehhQk9xlYz66R2u06lWsDsLt45DnE
 5vujTQcst6PtmqrKwehkqPDIgYRIuU1T66wPzIeMQyiF3yD/cpx+8b5j/lye8Kh+
 TaZTeCh4susttrVjhee68asFAnXpNSpwm61tNVIiypFhvrvPCLKOL0YETo/wwIJt
 AgJ92oi9NxNT4LDVdeni
 =vr6G
 -----END PGP SIGNATURE-----

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

This pull request contains defconfig changes for Broadcom ARM-based SoCs:

- Florian enables support for the BCM63xx DSL SoCs basic peripherals, enables
  the networking subsystems for Set Top Box SoCs, enables the PWM, watchdog and
  the AHCI controller and SATA PHY drivers

- Florian removes the bcm_defconfig file which is no longer useful and updates
  multi_v7_defconfig to include the Kona watchdog to provide proper reboot for the
  Broadcom Kona platforms

Please note that Tejun Heo has queued a patch which renames AHCI_BRCMSTB into
AHCI_BRCM, to avoid two patches in a row, we just enable AHCI_BRCM to be future
proof

* tag 'arm-soc/for-4.8/defconfig' of http://github.com/Broadcom/stblinux:
  ARM: Remove bcm_defconfig
  ARM: multi_v7_defconfig: Enable Broadcom Kona watchdog
  ARM: multi_v7_defconfig: Enable Broadcom STB PWM
  ARM: multi_v7_defconfig: Enable BCM7038 Watchdog
  ARM: multi_v7_defconfig: Enable Broadcom AHCI
  ARM: multi_v7_defconfig: Enable BRCMSTB networking
  ARM: multi_v7_defconfig: Enable BCM63xx

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-06-19 22:52:37 -07:00
Florian Fainelli 41463c3e6e ARM: Remove bcm_defconfig
We have everything we need in multi_v7_defconfig that exists in
bcm_defconfig, so get rid of that file to reduce the maintenance burden.

Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-06-16 13:40:49 -07:00
Florian Fainelli 54fa6f7dc2 ARM: multi_v7_defconfig: Enable Broadcom Kona watchdog
In order to get rid of bcm_defconfig, enable this driver which is needed
by some Broadcom SoCs based on the Kona architecture to reboot.

Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-06-16 13:40:48 -07:00
Florian Fainelli 4fe42cf4f3 ARM: multi_v7_defconfig: Enable Broadcom STB PWM
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-06-16 13:40:48 -07:00
Florian Fainelli 62be424799 ARM: multi_v7_defconfig: Enable BCM7038 Watchdog
The BCM7038 watchdog is used by all Broadcom STB SoCs but is not needed
for system reboot, we just turn it on as a module.

Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-06-16 13:40:47 -07:00
Florian Fainelli 63087386c0 ARM: multi_v7_defconfig: Enable Broadcom AHCI
Enable the Broadcom AHCI driver and its companion PHY driver to get
functional SATA3 support.

Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-06-16 13:40:16 -07:00
Peter Chen 277ad756ea ARM: imx_v6_v7_defconfig: build in usbnet to support NFS for non-ethernet board
At some boards, it has no ethernet support. As an alternative, we can use
USB Ethernet card to support NFS (u-boot supports it too). It supports
AXIS cards which are used most frequently.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2016-06-16 11:14:45 +08:00
Masahiro Yamada 229a4bc846 ARM: keystone: remove redundant depends on ARM_PATCH_PHYS_VIRT
KeyStone is Multi-platform.  ARM_PATCH_PHYS_VIRT is already select'ed
by ARCH_MULTIPLATFORM.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2016-06-14 17:56:51 -07:00
Marek Vasut cc45741e19 ARM: socfpga: Update socfpga_defconfig
Enable the following bits:

CONFIG_TOUCHSCREEN_STMPE
 - STMPE touchscreen support, needed on MCVEVK as it contains the
   chip. This also enables the STMPE MFD device and touchscreen
   input support.

CONFIG_USB_STORAGE
 - USB storage support is often used, so enable it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
2016-06-14 15:27:42 -05:00
Olof Johansson f52ce16be6 Defconfig changes for 4.8:
- Add at91sam9 platforms in multi_v5
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCgAGBQJXW0q4AAoJENiigzvaE+LCz4EP/R4VWXaAKxRrlcoYqjlohGPo
 weOH5W7llVkItWQW8sPAO1qZLH6eYH/mZWWLiAsRj932kh9NMOBvgDkfOSMuTxey
 sTIZh47OCBF+wXFEaO5O3ReEdBWnuc5YtGTGNlJ9/fq59MW6ZHg57uMCSLqCOrJc
 v49PjcXhBKhBv6OhY56t5IVKhbqXVW0HsscBKY5u5YgrT5hO/5r7rlutC06o4U8p
 Hw0LPcmwcIpzyd6lVPIRG93dBaNtEMGh0RDLJPSHoC7HxnbVfZudWuK4Qx9nAeXt
 Y5WhkWqk7Ao2NtgOaljfoA2wuRugdSR4guYTMg7FxO2uOsIOljcsJFY9kPneAbid
 QsY4u841y3AVw/DJzu9e6912Ct+KChidNJB+r3gQhH1W9QZ1JHNBR4BytNUBPB8+
 vd338/Z/6UKqWiQq9zFVeUWt7YC6uS5VVOwI5SrPFcPgTxQPkgG/4WDGz9EzMdND
 SlXdlVIlAF1rI9rGu8Z8nD/lpEB39pgu2hfe9nIhqybd6vA1orxVfyrg+KtTrn/9
 7wZTVghujnY2L9fChW9wXUubxE+6FfBe0SidnB3EqwuGvMmJ5aKLoPJ1Fpv7chW+
 Q4StNHKkGh88G7GfBLjyKJnu6rGCijj2fuBYZ3xKOepjqxGV4+IzHUVlbJSBP0KP
 TFYvl7ZY6Qom0RozZ9m8
 =nTAu
 -----END PGP SIGNATURE-----

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

Defconfig changes for 4.8:
 - Add at91sam9 platforms in multi_v5

* tag 'at91-ab-4.8-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  ARM: multi_v5_defconfig: enable Atmel platforms

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-06-14 10:27:05 -07:00
Olof Johansson 5d075b0bc2 Samsung defconfig update for v4.8:
1. Disable big.LITTLE switcher so the cpufreq-dt could be enabled.
 2. Enable Samsung media platform drivers.
 3. Enable some board-specific drivers for boards: Trats2, Universal C210.
 4. Few more minor additions.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXVWOmAAoJEME3ZuaGi4PX+9IP/RR7BP8TVGGKIqTYboQGR+mc
 6JfBYabC2iUZwN3Unnjo4FxUFqCAtSZ/2g5RTe3sPG7wAjTSX3OtpLv4TEvX9gHe
 1gVplOuXS4c4IEg2Uw9K7L+SnOFrGyC9Lk7ywCUO4dEk2PJC/xsvQX6JrZRFM3ne
 pJ6Fpz86vPqa+yqyYBw6Jd3j0po3VL7LzhKC+n9HyMbuJ7Drl3yOjzgPHxGY6GJq
 UlLdKxQ5PEtMCucMoxvgYdbjFHT+VsIM1nJYY9VSKvSUhiczMZvXnrPrUHNk1or8
 i/hs0MhgxLiPl/2h3eYKpKzodDp7XOy1+W3NPTralkixMA8ZOwLZRzAiKwAkZBk9
 KKIVaW5E6Yh6JEaAJ0KyiVibAuVkMKXnc7JAEDvwwYCu5j4fx/EdzeaYMFS8DUS/
 iMeksxP3TOyQ51Le+Z9nWrOAKLsUChZgLAB3b724GRNJqZ73+yprkV/O7A7Lb3T2
 joW3ge+JSu/n8RgvFGsZo0i/LLRXJrBGsIqihJtuunBm3wiUjQVGD83XIu2bToNO
 SEd42WHpuvAIGgKjKjQlXVyTlhnk5p8AbgI28IZ34FDLxTpG+t1lYErFRulPrScC
 g+OfW92wfm6sk9k8upNNTfzAjttHdzHHSAaKa1jxP25eB9T/g1Gu9TEu20QXvqJz
 cjUVNYi32q51B22PjvVy
 =xPJg
 -----END PGP SIGNATURE-----

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

Samsung defconfig update for v4.8:
1. Disable big.LITTLE switcher so the cpufreq-dt could be enabled.
2. Enable Samsung media platform drivers.
3. Enable some board-specific drivers for boards: Trats2, Universal C210.
4. Few more minor additions.

* tag 'samsung-defconfig-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: exynos_defconfig: Save defconfig on current linux-next
  ARM: multi_v7_defconfig: Enable s5p-secss driver
  ARM: multi_v7_defconfig: Enable drivers for Exynos4210 Universal C210 board
  ARM: multi_v7_defconfig: Enable Trats2 audio codec, touchscreen and sensors
  ARM: multi_v7_defconfig: Switch max77693 to module
  ARM: multi_v7_defconfig: Enable Exynos MFC driver as module
  ARM: exynos_defconfig: Enable MFC driver as module
  ARM: multi_v7_defconfig: Enable Samsung media platform drivers as modules
  ARM: exynos_defconfig: Enable Samsung media platform drivers as modules
  ARM: multi_v7_defconfig: Enable Exynos DRM Mixer driver
  ARM: exynos_defconfig: Disable big.LITTLE switcher

Signed-off-by: Olof Johansson <olof@lixom.net>
2016-06-13 14:54:20 -07:00
Alexandre Belloni 837f27a2c1 ARM: multi_v5_defconfig: enable Atmel platforms
Enable Atmel ARMv5 platforms in multi_v5

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-06-11 00:58:51 +02:00
Linus Torvalds ccf55f73a6 powerpc fixes for 4.7 #2
- ptrace: Fix out of bounds array access warning from Khem Raj
  - pseries: Fix PCI config address for DDW from Gavin Shan
  - pseries: Fix IBM_ARCH_VEC_NRCORES_OFFSET since POWER8NVL was added from Michael Ellerman
  - of: fix autoloading due to broken modalias with no 'compatible' from Wolfram Sang
  - radix: Fix always false comparison against MMU_NO_CONTEXT from Aneesh Kumar K.V
  - hash: Compute the segment size correctly for ISA 3.0 from Aneesh Kumar K.V
  - nohash: Fix build break with 64K pages from Michael Ellerman
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXWpyDAAoJEFHr6jzI4aWAxl8P/0m7sbx8yyExRrRlv0kXPSHX
 5LI69fPgU44Vq6KImndN7D0UWxCZeSG6ZJmdEzDonYlPrMtXTC6wkG+tk1l2ov2/
 nsatn1HeCqO7W9rniKuFXAnleTZlq3pxPk55JUPySjS+6oIlfkJfNIQpJednNe/b
 RFj6HAOJEwKDRguADxJFHPi1ATIF5ahFVkowV0p8aCT2kII+Ixe/4I2RDfQ4oxVg
 l3Iq7TLmbl7s2jxIaSA3Qf2FZRgXHqtULWI+sj7uTHaAB/3tfqLf7ITG8VGSM0uQ
 cuBEPG/hPuebo0C/kFw3x1hGed7jsmAq8QIHIHBKwJNU3A3NKOoftivfUBuO6FrF
 zkkS21GhMNJb+7DZeF+8QPmvG/ORG6YZeZndvFXRyimQHTHP0XGeq86RckQ6zcl6
 mh3bEuqIzGV11IIA8JC2FhnRPx+3mSKPfewVZTX0tse+ZzbJWUz3yYB9AQjyAXoY
 fbHz9V9HCk4hfwb8CWm0GjVzHitSSDyJouwp0oUz84R+1X4rnPeZLxHMe3bMRI4k
 t6R9DmGdoe1Lgefd5SoPEE/sBxq0BMuyIiG6ICK/MW2SCb5VLGGh8bDrSI9vIVvy
 2uwfyj1toJlNWB1M08376AWWru7l/VgYW7I+sXJSp86eQ/FmdGChfuo+sn2shQyj
 kRoWoakEGUO5f6Ed5qPA
 =5kLq
 -----END PGP SIGNATURE-----

Merge tag 'powerpc-4.7-3Michael Ellerman:' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from
 - ptrace: Fix out of bounds array access warning from Khem Raj
 - pseries: Fix PCI config address for DDW from Gavin Shan
 - pseries: Fix IBM_ARCH_VEC_NRCORES_OFFSET since POWER8NVL was added
   from Michael Ellerman
 - of: fix autoloading due to broken modalias with no 'compatible' from
   Wolfram Sang
 - radix: Fix always false comparison against MMU_NO_CONTEXT from Aneesh
   Kumar K.V
 - hash: Compute the segment size correctly for ISA 3.0 from Aneesh
   Kumar K.V
 - nohash: Fix build break with 64K pages from Michael Ellerman

* tag 'powerpc-4.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc/nohash: Fix build break with 64K pages
  powerpc/mm/hash: Compute the segment size correctly for ISA 3.0
  powerpc/mm/radix: Fix always false comparison against MMU_NO_CONTEXT
  of: fix autoloading due to broken modalias with no 'compatible'
  powerpc/pseries: Fix IBM_ARCH_VEC_NRCORES_OFFSET since POWER8NVL was added
  powerpc/pseries: Fix PCI config address for DDW
  powerpc/ptrace: Fix out of bounds array access warning
2016-06-10 12:23:49 -07:00
Linus Torvalds 33fc259a20 arm64 fix:
- Fix an issue where we fail to fault in old pages on a write when
   CONFIG_ARM64_HW_AFDBM is enabled
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJXWrCWAAoJELescNyEwWM08y8IAJH1gTSkohoD9v0ncZRZNbje
 WDYCC7RPulTewZvpjO7QqBS8gHH71NOS3OxayXIPCcwKd4r3Fyzh55+HoIzKt57O
 rbAxBPnUdOetw2cOwDjZntEk/N8HsMi1wqwc1Y8XPYsbNzRaL3LrdKy3PCayawJY
 i/NUOoUliFWNrmqIDRR5N4QMcSUH5P1gZrguodxipCQ9a3fUfwScu4vKYRz6u23O
 KhIliQJGJuSsIwFIAEYX5w1FaMIM/2Du7zO2ME/pMVt+ms73cwMTFcRHi/FdqqjV
 Klqaiawd4FAfaPtzCvE2r/7+RM6YBjf7ZTUd0R5JEioDYp0bm4w8hsTzx3l9m3A=
 =91UM
 -----END PGP SIGNATURE-----

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fix from Will Deacon:
 "A fix for an issue that Alex saw whilst swapping with hardware
  access/dirty bit support enabled in the kernel: Fix a failure to fault
  in old pages on a write when CONFIG_ARM64_HW_AFDBM is enabled"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: mm: always take dirty state from new pte in ptep_set_access_flags
2016-06-10 11:57:17 -07:00
Linus Torvalds 75d089d12a Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar:
 "Misc fixes from all around the map, plus a commit that introduces a
  new header of Intel model name symbols (unused) that will make the
  next merge window easier"

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/ioapic: Fix incorrect pointers in ioapic_setup_resources()
  x86/entry/traps: Don't force in_interrupt() to return true in IST handlers
  x86/cpu/AMD: Extend X86_FEATURE_TOPOEXT workaround to newer models
  x86/cpu/intel: Introduce macros for Intel family numbers
  x86, build: copy ldlinux.c32 to image.iso
  x86/msr: Use the proper trace point conditional for writes
2016-06-10 11:36:04 -07:00
Linus Torvalds 7fcbc230c6 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
 "A handful of tooling fixes, two PMU driver fixes and a cleanup of
  redundant code that addresses a security analyzer false positive"

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Remove a redundant check
  perf/x86/intel/uncore: Remove SBOX support for Broadwell server
  perf ctf: Convert invalid chars in a string before set value
  perf record: Fix crash when kptr is restricted
  perf symbols: Check kptr_restrict for root
  perf/x86/intel/rapl: Fix pmus free during cleanup
2016-06-10 11:15:41 -07:00
Rui Wang 9d98bcec73 x86/ioapic: Fix incorrect pointers in ioapic_setup_resources()
On a 4-socket Brickland system, hot-removing one ioapic is fine.
Hot-removing the 2nd one causes panic in mp_unregister_ioapic()
while calling release_resource().

It is because the iomem_res pointer has already been released
when removing the first ioapic.

To explain the use of &res[num] here: res is assigned to ioapic_resources,
and later in ioapic_insert_resources() we do:

	struct resource *r = ioapic_resources;

        for_each_ioapic(i) {
                insert_resource(&iomem_resource, r);
                r++;
        }

Here 'r' is treated as an arry of 'struct resource', and the r++ ensures
that each element of the array is inserted separately. Thus we should call
release_resouce() on each element at &res[num].

Fix it by assigning the correct pointers to ioapics[i].iomem_res in
ioapic_setup_resources().

Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: tony.luck@intel.com
Cc: linux-pci@vger.kernel.org
Cc: rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org
Cc: bhelgaas@google.com
Link: http://lkml.kernel.org/r/1465369193-4816-3-git-send-email-rui.y.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-10 14:45:54 +02:00
Andy Lutomirski aaee8c3c5c x86/entry/traps: Don't force in_interrupt() to return true in IST handlers
Forcing in_interrupt() to return true if we're not in a bona fide
interrupt confuses the softirq code.  This fixes warnings like:

  NOHZ: local_softirq_pending 282

... which can happen when running things like selftests/x86.

This will change perf's static percpu buffer usage in IST context.
I think this is okay, and it's changing the behavior to match
historical (pre-4.0) behavior.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Fixes: 9592747538 ("x86, traps: Track entry into and exit from IST context")
Link: http://lkml.kernel.org/r/cdc215f94d118d691d73df35275022331156fb45.1464130360.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-10 13:54:47 +02:00
Michael Ellerman 8017ea35d3 powerpc/nohash: Fix build break with 64K pages
Commit 74701d5947 "powerpc/mm: Rename function to indicate we are
allocating fragments" renamed page_table_free() to pte_fragment_free().
One occurrence was mistyped as pte_fragment_fre().

This only breaks the nohash 64K page build, which is not the default or
enabled in any defconfig.

Fixes: 74701d5947 ("powerpc/mm: Rename function to indicate we are allocating fragments")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-10 13:24:56 +10:00
Linus Torvalds 52e7d46c64 ARC updates for 4.7-rc3
- Revert of ll-sc backoff retry workaround in atomics/spinlocks as hardware
   is now proven to work just fine
 
 - Typo fixes (Thanks Andrea Gelmini)
 
 - Removal of obsolete DT property (Alexey)
 
 - Other minor fixes
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXWOz1AAoJEGnX8d3iisJe6H4QAKaXFUGr3WxTMbMGF8w9LYCx
 cYDMCKoJgSxpE2S4uT36O39swFDhA9CTH+T4pziZgTFtCduf9jqtTd6JwLmVsvZK
 vveDZnZMP+AtWqiwpNuBTrj4+P0FcvwSq+lrRYSWWQ3HjgTQk2q5kU5355yLpD38
 Q0BHuMwhVGohWDzi167kOnZcHtd+hxDhj21Uqh/+/4tzCHkiqkO9HjR9i+EYUjPK
 YAEBeqK2ayT3GdjQhOlRSIopNJ5rMQhvBboKRzUpXV0SjAxbTQBP+94sgxY0OdJ+
 C3qFFjeGHeJmVIM1BaojPcobJJoyjdTcIq3KBjO+Pz7GipwBgFQnlQDBcA7tsdS8
 x6devNjaDOLKS5ii3LPrkVplQxEinPJL/snMkpcfNQw8xbsUD2zxCPNruf4F6USD
 pFRs/Or9IbfpZu1BXVSNMmgVQ3sdpEcI6ZJnzHaZWI0LWSEhYMak4vn+sDgyzZs2
 bWXFjAtMpU3aXa/61GlXa3azs/wYbkPWyZD6biWswUwE7NiQDAe+bGHinyBT8BfK
 kyvAr5jcdCGY3zWDyVIs6C/4wS+c7ATBnqHLRWYnOJ3ZyAbeuP6Jqtg4Ofe5WZE+
 6OHFTI82hntp7geXaO61CS5SFyHXzLX0JcFBCGv/FSSkngwBOllBw91IRjpuVb3G
 t+wToBJ3DN6oosQlLFpo
 =VQXp
 -----END PGP SIGNATURE-----

Merge tag 'arc-4.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc

Pull ARC fixes from Vineet Gupta:

 - Revert of ll-sc backoff retry workaround in atomics/spinlocks as
   hardware is now proven to work just fine

 - Typo fixes (Thanks Andrea Gelmini)

 - Removal of obsolete DT property (Alexey)

 - Other minor fixes

* tag 'arc-4.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
  Revert "ARCv2: spinlock/rwlock/atomics: Delayed retry of failed SCOND with exponential backoff"
  Revert "ARCv2: spinlock/rwlock: Reset retry delay when starting a new spin-wait cycle"
  Revert "ARCv2: spinlock/rwlock/atomics: reduce 1 instruction in exponential backoff"
  ARC: don't enable DISCONTIGMEM unconditionally
  ARC: [intc-compact] simplify code for 2 priority levels
  arc: Get rid of root core-frequency property
  Fix typos
2016-06-09 14:28:39 -07:00
Franklin S Cooper Jr fd0c514815 ARM: keystone: Enable PINCTRL_SINGLE Config
Newer Keystone 2 devices utilize pinmuxing. Enable PINCTRL SINGLE
which is used to handle pinmuxing.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2016-06-08 16:07:21 -07:00
Lokesh Vutla 2689d180b7 ARM: keystone: Enable PINCTRL config
Some Keystone 2 devices utilize pinmuxing which requires PINCTRL
to be enabled. Therefore, enable PINCTRL for all Keystone 2 devices.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2016-06-08 16:07:06 -07:00
Borislav Petkov 96685a55a8 x86/cpu/AMD: Extend X86_FEATURE_TOPOEXT workaround to newer models
We need to reenable the topology extensions CPUID leafs on newer models
too, if BIOS has disabled them, as we rely on them to get proper compute
unit topology.

Make the printk a once thing, while at it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rui Huang <ray.huang@amd.com>
Cc: Sherry Hurwitz <sherry.hurwitz@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-hwmon@vger.kernel.org
Link: http://lkml.kernel.org/r/1464775468-23355-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-08 13:51:34 +02:00
Dave Hansen 970442c599 x86/cpu/intel: Introduce macros for Intel family numbers
Problem:

We have a boatload of open-coded family-6 model numbers.  Half of
them have these model numbers in hex and the other half in
decimal.  This makes grepping for them tons of fun, if you were
to try.

Solution:

Consolidate all the magic numbers.  Put all the definitions in
one header.

The names here are closely derived from the comments describing
the models from arch/x86/events/intel/core.c.  We could easily
make them shorter by doing things like s/SANDYBRIDGE/SNB/, but
they seemed fine even with the longer versions to me.

Do not take any of these names too literally, like "DESKTOP"
or "MOBILE".  These are all colloquial names and not precise
descriptions of everywhere a given model will show up.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Darren Hart <dvhart@infradead.org>
Cc: Dave Hansen <dave@sr71.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Cc: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Vishwanath Somayaji <vishwanath.somayaji@intel.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: jacob.jun.pan@intel.com
Cc: linux-acpi@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: platform-driver-x86@vger.kernel.org
Link: http://lkml.kernel.org/r/20160603001927.F2A7D828@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-08 11:59:09 +02:00
Will Deacon 0106d456c4 arm64: mm: always take dirty state from new pte in ptep_set_access_flags
Commit 66dbd6e61a ("arm64: Implement ptep_set_access_flags() for
hardware AF/DBM") ensured that pte flags are updated atomically in the
face of potential concurrent, hardware-assisted updates. However, Alex
reports that:

 | This patch breaks swapping for me.
 | In the broken case, you'll see either systemd cpu time spike (because
 | it's stuck in a page fault loop) or the system hang (because the
 | application owning the screen is stuck in a page fault loop).

It turns out that this is because the 'dirty' argument to
ptep_set_access_flags is always 0 for read faults, and so we can't use
it to set PTE_RDONLY. The failing sequence is:

  1. We put down a PTE_WRITE | PTE_DIRTY | PTE_AF pte
  2. Memory pressure -> pte_mkold(pte) -> clear PTE_AF
  3. A read faults due to the missing access flag
  4. ptep_set_access_flags is called with dirty = 0, due to the read fault
  5. pte is then made PTE_WRITE | PTE_DIRTY | PTE_AF | PTE_RDONLY (!)
  6. A write faults, but pte_write is true so we get stuck

The solution is to check the new page table entry (as would be done by
the generic, non-atomic definition of ptep_set_access_flags that just
calls set_pte_at) to establish the dirty state.

Cc: <stable@vger.kernel.org> # 4.3+
Fixes: 66dbd6e61a ("arm64: Implement ptep_set_access_flags() for hardware AF/DBM")
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Alexander Graf <agraf@suse.de>
Tested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-06-08 10:23:44 +01:00
Aneesh Kumar K.V 3b6d1eb7ea powerpc/mm/hash: Compute the segment size correctly for ISA 3.0
PowerISA 3.0 encodes the segment size in the second half of hash page
table entry. Update hpte_decode() accordingly.

Fixes: 50de596de8 ("powerpc/mm/hash: Add support for Power9 Hash")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-08 14:36:22 +10:00
Aneesh Kumar K.V 9690c15742 powerpc/mm/radix: Fix always false comparison against MMU_NO_CONTEXT
In some of the radix TLB flush routines, we use a local to store the
mm->context.id, AKA the PID.

Currently we use an int, but the PID is unsigned long, so large values
of PID will be truncated. In particular MMU_NO_CONTEXT is -1, which
means all our comparisons against that value can never be true.

This means we'll issue TLB flushes when we shouldn't on radix enabled
machines.

Fix it by using an unsigned long for the local. Discovered by Coverity.

Fixes: 1a472c9dba ("powerpc/mm/radix: Add tlbflush routines")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
[mpe: Write change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-08 13:56:53 +10:00
Linus Torvalds c8ae067f26 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro:
 "Fixes for crap of assorted ages: EOPENSTALE one is 4.2+, autofs one is
  4.6, d_walk - 3.2+.

  The atomic_open() and coredump ones are regressions from this window"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  coredump: fix dumping through pipes
  fix a regression in atomic_open()
  fix d_walk()/non-delayed __d_free() race
  autofs braino fix for do_last()
  fix EOPENSTALE bug in do_last()
2016-06-07 20:41:36 -07:00