]> www.infradead.org Git - users/jedix/linux-maple.git/log
users/jedix/linux-maple.git
8 years agool6-spec: update linux-firmware dependency to 20160616-44.git43e96a1e.0.10
Chuck Anderson [Tue, 2 Aug 2016 23:15:13 +0000 (16:15 -0700)]
ol6-spec: update linux-firmware dependency to 20160616-44.git43e96a1e.0.10

Orabug: 24378297

Update the linux-firmware dependency to 20160616-44.git43e96a1e.0.10

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Guru Anbalagane <guru.anbalagane@oracle.com>
8 years agool7-spec: update dracut version dependency to 033-360.0.3
Chuck Anderson [Tue, 2 Aug 2016 23:01:29 +0000 (16:01 -0700)]
ol7-spec: update dracut version dependency to 033-360.0.3

Orabug: 24378292

Update the dracut version dependency to 033-360.0.3

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Guru Anbalagane <guru.anbalagane@oracle.com>
9 years agoEnable CONFIG_CONNTRACK_ZONES for Ol6
Manjunath Govindashetty [Thu, 7 Jul 2016 21:05:57 +0000 (14:05 -0700)]
Enable CONFIG_CONNTRACK_ZONES for Ol6

To support secure networking O3L 3.0.beta1 require
conntrack zones enabled on all platforms Ol6 and Ol7
irequired for Oracle OpenStack/Oracle Linux"(O3L)
3.0.beta1.

Orabug: 23755115

9 years agool6-spec: remove require for ql23xx-firmware-3.03.27
Ethan Zhao [Thu, 30 Jun 2016 13:25:25 +0000 (22:25 +0900)]
ol6-spec: remove require for ql23xx-firmware-3.03.27

Orabug: 23724175

Remove requirement for specific ql23xx-firmware-3.03.27, linux-firmware package
already provides all files as ql23xx-firmware-3.03.27. there is no need to claim
that in spec again.

There is no special requirement for that old version firmware in fact from driver
HW view.

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
9 years agool7-spec: update version dependency for linux-firmware package
Ethan Zhao [Wed, 29 Jun 2016 08:39:17 +0000 (17:39 +0900)]
ol7-spec: update version dependency for linux-firmware package

Orabug: 23701430

Update linux-firmware package dependency to version >=
linux-firmware-20160604-44.git57b649d9.0.2.el7.noarch.rpm

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
9 years agool6-spec: update version dependency for linux-firmware package
Ethan Zhao [Wed, 29 Jun 2016 08:56:55 +0000 (17:56 +0900)]
ol6-spec: update version dependency for linux-firmware package

Orabug: 23701352

Update linux-firmware package version dependency to >=
linux-firmware-20160616-44.git43e96a1e.0.8.el6.noarch.rpm

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
9 years agobnxt: enable driver in x86_64 config files
Brian Maly [Fri, 17 Jun 2016 02:08:34 +0000 (22:08 -0400)]
bnxt: enable driver in x86_64 config files

Orabug: 23221795

Signed-off-by: Brian Maly <brian.maly@oracle.com>
9 years agosparc64/uek-rpm: Enable config for the Oracle Infiniband HCA (sif) on SPARC
Chuck Anderson [Wed, 1 Jun 2016 16:22:43 +0000 (09:22 -0700)]
sparc64/uek-rpm: Enable config for the Oracle Infiniband HCA (sif) on SPARC

Orabug: 22529577

Enable config for the Oracle Infiniband HCA (sif) as a module on UEK SPARC.

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Guru Anbalagane <guru.anbalagane@oracle.com>
9 years agouek-rpm: Enable config for the Oracle Infiniband HCA (sif)
Knut Omang [Thu, 12 May 2016 06:01:34 +0000 (08:01 +0200)]
uek-rpm: Enable config for the Oracle Infiniband HCA (sif)

Orabug: 22529577

Signed-off-by: Knut Omang <knut.omang@oracle.com>
9 years agosparc64/uek-rpm: enable sun4v_wdt watchdog driver as a module
Chuck Anderson [Wed, 25 May 2016 05:04:10 +0000 (22:04 -0700)]
sparc64/uek-rpm: enable sun4v_wdt watchdog driver as a module

Orabug: 23042472

Build the Sun4v watchdog timer as a module.

Reported-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
9 years agouek-rpm: ol6: revert DRM for experimental or OL6-incompatible drivers
Todd Vierling [Tue, 10 May 2016 22:50:57 +0000 (18:50 -0400)]
uek-rpm: ol6: revert DRM for experimental or OL6-incompatible drivers

Orabug: 22202036

Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
9 years agosparc64/uek-rpm: enable sunhv console driver polling support
Chuck Anderson [Sat, 2 Apr 2016 00:45:18 +0000 (17:45 -0700)]
sparc64/uek-rpm: enable sunhv console driver polling support

Orabug: 23026831

Commit 84266d9125a:
    Add support for polling to the sunhv serial driver.
    Oracle bug 21793591
added polling to the sunhv serial driver but did not enable
CONFIG_SERIAL_SUNHV_POLLING in the SPARC and UEK config files.

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
9 years agouek-rpm: configs: do not enable CONFIG_SCSI_MQ_DEFAULT and CONFIG_DM_MQ_DEFAULT by...
Chuck Anderson [Mon, 14 Mar 2016 20:59:25 +0000 (13:59 -0700)]
uek-rpm: configs: do not enable CONFIG_SCSI_MQ_DEFAULT and CONFIG_DM_MQ_DEFAULT by default

Orabug: 22742028

CONFIG_SCSI_MQ_DEFAULT and CONFIG_DM_MQ_DEFAULT are not stable.

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Guru Anbalagane <guru.anbalagane@oracle.com>
9 years agoconfig: Enable CONFIG_XEN_PCIDEV_BACKEND by to be built-in.
Konrad Rzeszutek Wilk [Wed, 9 Dec 2015 17:50:56 +0000 (12:50 -0500)]
config: Enable CONFIG_XEN_PCIDEV_BACKEND by to be built-in.

When doing PCI passthrough using the xen-pciback.hide=
parameters works great - except when the code is a module
- at which point you have to do a lot of 'unbind'.

OraBug: 22338679 - UEK4: CONFIG_XEN_PCIDEV_BACKEND should be set to y
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agouek-rpm: module signing key verification on sparc
Allen Pais [Tue, 8 Dec 2015 18:29:32 +0000 (23:59 +0530)]
uek-rpm: module signing key verification on sparc

 Orabug: 21900415

Config fixes for bug:
ORACLE LINUX KERNEL MODULE SIGNING KEY VERIFICATION FAILS ON SPARC

Signed-off-by: Allen Pais <allen.pais@oracle.com>
9 years agouek-rpm: rebuild module kabi list
Guru Anbalagane [Fri, 11 Dec 2015 16:54:38 +0000 (08:54 -0800)]
uek-rpm: rebuild module kabi list

Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
9 years agouek-rpm: builds: Enable kabi check
Manjunath Govindashetty [Fri, 20 Nov 2015 06:54:20 +0000 (22:54 -0800)]
uek-rpm: builds: Enable kabi check

Orabug: 21882206

Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: builds: generate module kabi files
Guru Anbalagane [Fri, 20 Nov 2015 06:15:32 +0000 (22:15 -0800)]
uek-rpm: builds: generate module kabi files

Orabug: 17437969

Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: builds: add kabi whitelist debug version
Santosh Shilimkar [Fri, 20 Nov 2015 09:30:23 +0000 (01:30 -0800)]
uek-rpm: builds: add kabi whitelist debug version

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: builds: add kabi name tags
Guru Anbalagane [Fri, 20 Nov 2015 04:23:35 +0000 (20:23 -0800)]
uek-rpm: builds: add kabi name tags

Orabug: 17437969

Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
9 years agouek-rpm: builds: Add kabi whitelist
Guru Anbalagane [Fri, 20 Nov 2015 03:42:54 +0000 (19:42 -0800)]
uek-rpm: builds: Add kabi whitelist

Orabug: 17437969

Signed-off-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
9 years agouek-rpm: configs: change the x86_64 default governor to ondemand
Todd Vierling [Wed, 7 Oct 2015 18:23:26 +0000 (14:23 -0400)]
uek-rpm: configs: change the x86_64 default governor to ondemand

Orabug: 21910845

Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
9 years agouek-rpm: configs: sync up the EFIVAR_FS between ol6 and ol7
Santosh Shilimkar [Thu, 19 Nov 2015 21:53:59 +0000 (13:53 -0800)]
uek-rpm: configs: sync up the EFIVAR_FS between ol6 and ol7

Orabug: 21806900

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: use the latest 0.5 version of linux-firmware
Santosh Shilimkar [Tue, 17 Nov 2015 19:49:31 +0000 (11:49 -0800)]
uek-rpm: use the latest 0.5 version of linux-firmware

Orabug: 22227047

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: Sparc64: enable RDS modules
Allen Pais [Fri, 13 Nov 2015 16:48:02 +0000 (08:48 -0800)]
uek-rpm: configs: Sparc64: enable RDS modules

 This patch enables rds rdman and tcp mdoules.

 Orabug: 22194248

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: ol7: update linux-firmware dependency to 20140911-0.1.git365e80c.0.4
Dan Duval [Thu, 5 Nov 2015 15:42:49 +0000 (10:42 -0500)]
uek-rpm: ol7: update linux-firmware dependency to 20140911-0.1.git365e80c.0.4

Orabug: 22146380

Version 20140911-0.1.git365e80c.0.3 of the linux-firmware package did
not have the latest firmware for the bnx2x NICs.  Since the bnx2x driver
requests a specific version of the firmware, the result was that probing
of bnx2x devices would fail.

linux-firmware version 20140911-0.1.git365e80c.0.4 contains the updated
firmware.

Signed-off-by: Dan Duval <dan.duval@oracle.com>
9 years agouek-rpm: configs: disable PS2_VMMOUSE to avoid vmware platform breakage
Santosh Shilimkar [Mon, 9 Nov 2015 18:14:16 +0000 (10:14 -0800)]
uek-rpm: configs: disable PS2_VMMOUSE to avoid vmware platform breakage

While at it sync up the configs

Orabug: 22166599

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: ol7: don't set EFI_VARS_PSTORE_DEFAULT_DISABLE
Santosh Shilimkar [Mon, 9 Nov 2015 22:58:54 +0000 (14:58 -0800)]
uek-rpm: configs: ol7: don't set EFI_VARS_PSTORE_DEFAULT_DISABLE

To keep OL7 and OL6 build in sync and also follow the Arch Linux
recommondation on EFI_VARS.

https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Inconsistency_between_efivarfs_and_sysfs-efivars

Orabug: 21806900

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: builds: add dependency on latest linux-firmware package
Dan Duval [Fri, 23 Oct 2015 18:51:22 +0000 (14:51 -0400)]
uek-rpm: builds: add dependency on latest linux-firmware package

Orabug: 22084583

Signed-off-by: Dan Duval <dan.duval@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 12 with stable v4.1.12
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 12 with stable v4.1.12

Stable v4.1.12 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sparc64: enable rds module
Allen Pais [Tue, 20 Oct 2015 18:19:27 +0000 (23:49 +0530)]
uek-rpm: configs: sparc64: enable rds module

 Orabug:  22068201

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sparc64: enable dtrace support
Allen Pais [Tue, 20 Oct 2015 18:16:31 +0000 (23:46 +0530)]
uek-rpm: configs: sparc64: enable dtrace support

DTrace needs enabling in the default configs, not just in the specfile.
Turn it on (and all its dependencies too, though they should largely be
filled in automatically in any case).

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
9 years agouek-rpm: unset CONFIG_NFS_USE_LEGACY_DNS for OL7 debug kernel too
Todd Vierling [Mon, 19 Oct 2015 18:15:11 +0000 (14:15 -0400)]
uek-rpm: unset CONFIG_NFS_USE_LEGACY_DNS for OL7 debug kernel too

This was missed in the original bugfix and needs to be made equivalent
for kernel-uek-debug as well.

Orabug: 21483381

Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 9 with stable v4.1.10
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 9 with stable v4.1.10

Stable v4.1.10 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sparc: Enable VCC as a module
Santosh Shilimkar [Thu, 15 Oct 2015 17:00:10 +0000 (10:00 -0700)]
uek-rpm: configs: sparc: Enable VCC as a module

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sparc64: enable i40e modules
Allen Pais [Thu, 15 Oct 2015 16:28:06 +0000 (21:58 +0530)]
uek-rpm: configs: sparc64: enable i40e modules

Signed-of-by: Allen Pais <allen.pais@oracle.com>
9 years agouek-rpm: configs: sparc64: synced config files
Allen Pais [Thu, 15 Oct 2015 16:25:01 +0000 (21:55 +0530)]
uek-rpm: configs: sparc64: synced config files

Signed-of-by: Allen Pais <allen.pais@oracle.com>
9 years agouek-rpm: build: update ol7 specs with linux-firmware deps
Santosh Shilimkar [Tue, 13 Oct 2015 16:05:32 +0000 (09:05 -0700)]
uek-rpm: build: update ol7 specs with linux-firmware deps

Orabug: 21983616

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sync up configs with v4.1.9
Santosh Shilimkar [Thu, 8 Oct 2015 13:13:26 +0000 (06:13 -0700)]
uek-rpm: configs: sync up configs with v4.1.9

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 9 with stable v4.1.9
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 9 with stable v4.1.9

Stable v4.1.9 and v4.1.8 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: Rationalise CRYPTO config for OL6
John Haxby [Tue, 29 Sep 2015 15:34:39 +0000 (08:34 -0700)]
uek-rpm: configs: Rationalise CRYPTO config for OL6

Reviewed-By: Todd Vierling <todd.vierling@oracle.com>
Signed-off-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sparc64: enable dtrace support
Nick Alcock [Thu, 24 Sep 2015 16:03:40 +0000 (09:03 -0700)]
uek-rpm: configs: sparc64: enable dtrace support

DTrace needs enabling in the default configs, not just in the specfile.
Turn it on (and all its dependencies too, though they should largely be
filled in automatically in any case).

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 8 with stable v4.1.8
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 8 with stable v4.1.8

Stable v4.1.7 and v4.1.8 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: config: sxge/sxgevf: enable driver
Brian Maly [Mon, 21 Sep 2015 18:40:28 +0000 (14:40 -0400)]
uek-rpm: config: sxge/sxgevf: enable driver

Orabug: 20509061

Enable new driver in kernel config files.

Signed-off-by: Brian Maly <brian.maly@oracle.com>
9 years agouek-rpm: build: sparc: Build sparc headers
Natalya Naumova [Thu, 17 Sep 2015 15:31:30 +0000 (08:31 -0700)]
uek-rpm: build: sparc: Build sparc headers

Also drop accidental x86 firmware build which sparc carried
forward from previous port

Signed-off-by: Natalya Naumova <natalya.naumova@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: Adjust config for new rpcrdma.ko module
Chuck Lever [Mon, 31 Aug 2015 21:54:04 +0000 (15:54 -0600)]
uek-rpm: configs: Adjust config for new rpcrdma.ko module

Upstream merged svcrdma.ko and xprtrdma.ko into a single module,
rpcrdma.ko, in order to support bi-directional RPC/RDMA. The
old modules were controlled by separate Kconfig options, which
have been replaced by a single config option controlling both.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: builds: sparc64: enable dtrace support
Allen Pais [Tue, 15 Sep 2015 12:15:13 +0000 (17:45 +0530)]
uek-rpm: builds: sparc64: enable dtrace support

  Enables dtrace support for sparc64 and also
  enables building with headers.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: enable firmware build in kernel spec
Allen Pais [Thu, 10 Sep 2015 15:10:37 +0000 (20:40 +0530)]
sparc64: enable firmware build in kernel spec

(cherry picked from commit 7d7e426ca7af65f21e91aacf6eceaff4ccb946bb)

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: enable usb xhci/ehci pci configs
Allen Pais [Thu, 6 Aug 2015 13:30:42 +0000 (19:00 +0530)]
sparc64: enable usb xhci/ehci pci configs

(cherry picked from commit 180ab995c09a50782ae41969b4af22adadf3687d)

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: enable a few configs required for proxyt
Allen Pais [Thu, 6 Aug 2015 12:27:33 +0000 (17:57 +0530)]
sparc64: enable a few configs required for proxyt

Enabled the following:
(cherry picked from commit 7196e2382fb95198803de686bb04bc25f2ce9075)

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64:perf: fix perf build crash
Allen Pais [Mon, 18 May 2015 13:36:51 +0000 (19:06 +0530)]
sparc64:perf: fix perf build crash

fix "the `-j' option requires a positive integral argument"
crash for sparc build.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit c96761cf53294b05c6c8e855e2ec7be6afed0f86)

Conflicts:
tools/perf/Makefile
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: enable dtrace support for sparc64 in the spec file
Allen Pais [Thu, 14 May 2015 17:30:21 +0000 (23:00 +0530)]
sparc64: enable dtrace support for sparc64 in the spec file

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit 701b65eba862955a458ab6b1ebb4f82125d12d44)
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: kernel-uek.spec update to support sparc.
Allen Pais [Wed, 6 May 2015 14:32:43 +0000 (20:02 +0530)]
sparc64: kernel-uek.spec update to support sparc.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit 4ef9d973f49d3e451c56b32f2c7bdf1473d77d84)
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: uek4 debug config for sparc64
Allen Pais [Fri, 8 May 2015 13:32:58 +0000 (19:02 +0530)]
sparc64: uek4 debug config for sparc64

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit 3a9940a9ebadb5e3c0e9722658a47ac8438acdb5)
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agosparc64: uek4 config for sparc64
Allen Pais [Wed, 6 May 2015 14:29:24 +0000 (19:59 +0530)]
sparc64: uek4 config for sparc64

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit 025a9097b06f5ef7a3a0a9333699c2623496dbce)
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: config: add turbostat into kernel pakackage for OL6 and OL7
Ethan Zhao [Fri, 11 Sep 2015 15:51:49 +0000 (08:51 -0700)]
uek-rpm: config: add turbostat into kernel pakackage for OL6 and OL7

Orabug: 21613769

Create shell wrapper for turbostat and add turbosat tool into kernel
package.

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rom: config: Unset CONFIG_NFS_USE_LEGACY_DNS for OL7
Todd Vierling [Thu, 10 Sep 2015 20:36:14 +0000 (16:36 -0400)]
uek-rom: config: Unset CONFIG_NFS_USE_LEGACY_DNS for OL7

The userland nfs-utils needs the kernel to do resolver queries.
In order to enable this functionality, this config option needs to
match what RHCK uses (which is enabled on OL6, disabled on OL7).

Orabug: 21483381

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: Enbale X86_SYSFB on OL7 too
Santosh Shilimkar [Tue, 8 Sep 2015 15:14:45 +0000 (08:14 -0700)]
uek-rpm: configs: Enbale X86_SYSFB on OL7 too

Orabug: 21802188

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: Enable Chelsio T4 and T5 NIC on OL6
Santosh Shilimkar [Fri, 28 Aug 2015 15:05:12 +0000 (08:05 -0700)]
uek-rpm: configs: Enable Chelsio T4 and T5 NIC on OL6

Orabug: 21754829

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sync up config with v4.1.6 stable tag
Santosh Shilimkar [Wed, 26 Aug 2015 16:28:01 +0000 (09:28 -0700)]
uek-rpm: configs: sync up config with v4.1.6 stable tag

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 6 with stable v4.1.6
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 6 with stable v4.1.6

Stable v4.1.6 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: enable SNIC driver in kernel configs
Brian Maly [Fri, 21 Aug 2015 22:59:57 +0000 (18:59 -0400)]
uek-rpm: configs: enable SNIC driver in kernel configs

Enable SNIC in OL6/OL7 kernel configs.

Orabug: 21674432

Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agomodsign: Add key for moodule signing
Alexey Petrenko [Wed, 17 Jun 2015 23:31:53 +0000 (16:31 -0700)]
modsign: Add key for moodule signing

Orabug: 21659739

Signed-off-by: Alexey Petrenko <alexey.petrenko@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: extrakeys.pub is not needed for the build
Alexey Petrenko [Tue, 16 Jun 2015 01:01:22 +0000 (18:01 -0700)]
uek-rpm: extrakeys.pub is not needed for the build

Orabug: 21249387

Signed-off-by: Alexey Petrenko <alexey.petrenko@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Fix the new-kernel-pkg path for ol7
Santosh Shilimkar [Wed, 19 Aug 2015 16:55:53 +0000 (09:55 -0700)]
uek-rpm: build: Fix the new-kernel-pkg path for ol7

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: config: sync up the configs with 4.1.5 stable
Santosh Shilimkar [Mon, 17 Aug 2015 17:08:20 +0000 (10:08 -0700)]
uek-rpm: config: sync up the configs with 4.1.5 stable

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: config: Enable OVM API
Zhigang Wang [Mon, 17 Aug 2015 17:02:08 +0000 (10:02 -0700)]
uek-rpm: config: Enable OVM API

Orabug: 20426111

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Reviewed-by: Adnan Misherfi <adnan.misherfi@oracle.com>
Reviewed-by: Guru Anbalagane <guru.anbalagane@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: config: enable some DRM options
Zhigang Wang [Mon, 17 Aug 2015 17:02:08 +0000 (10:02 -0700)]
uek-rpm: config: enable some DRM options

Xen qemu-dm emulates cirrus VGA by default and supports other VGA types.
Compile them as module and make it consistent with ol7.

Orabug: 21615719

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 5 with stable v4.1.45
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 5 with stable v4.1.45

Stable v4.1.5 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: onfig: enable some secure boot features
Guangyu Sun [Thu, 2 Apr 2015 17:27:37 +0000 (10:27 -0700)]
uek-rpm: onfig: enable some secure boot features

Orabug: 21539498

Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: configs: sync up configs with latest tag
Santosh Shilimkar [Thu, 6 Aug 2015 20:29:13 +0000 (13:29 -0700)]
uek-rpm: configs: sync up configs with latest tag

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 4 with stable v4.1.4
Santosh Shilimkar [Tue, 4 Aug 2015 17:20:25 +0000 (10:20 -0700)]
uek-rpm: build: Update the base release to 4 with stable v4.1.4

Stable v4.1.4 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9 years agouek-rpm: build: Update the base release to 3 with stable v4.1.3
Santosh Shilimkar [Wed, 29 Jul 2015 23:55:39 +0000 (16:55 -0700)]
uek-rpm: build: Update the base release to 3 with stable v4.1.3

Stable v4.1.3 is available so lets get that in. Update the
spec file accordingly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10 years agouek-rpm: configs: Enabel Oracle HXGE and ASM driver v4.1test1
Santosh Shilimkar [Sun, 28 Jun 2015 08:17:09 +0000 (01:17 -0700)]
uek-rpm: configs: Enabel Oracle HXGE and ASM driver

While doing that just sync up the config

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10 years agouek-rpm: build: Add rpm build environment for ol6/ol7
Santosh Shilimkar [Wed, 3 Dec 2014 22:44:26 +0000 (14:44 -0800)]
uek-rpm: build: Add rpm build environment for ol6/ol7

Mostly imported from UEK3 uek-rpm environment with UEK4 related updates
and bug fixes.

Orabug: 20892775
Orabug: 21102340
Orabug: 20687425

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10 years agouek-rpm: configs: Create baseline config for uek4[ol6/ol7]
Santosh Shilimkar [Wed, 3 Dec 2014 22:44:26 +0000 (14:44 -0800)]
uek-rpm: configs: Create baseline config for uek4[ol6/ol7]

The UEK4 kernel is based on kernel.org v4.1. Brief summary about
UEK4(4.1) new/added relevant Kernel Features w.r.t UEK3(v3.8)
For more details please refer the attachment associated with bugs
and the config files from UEK git tree.

- Block Multi-Queue support
- Low Latency Socket Poll
- Full Dynamic Tick
- SLUB Memory Allocator as a default
- Networking performance Improvements [Bulk network packet transmission]
- XEN Related updates: (PV Ticket locks, pvSCSI, Xen PVH guest and Xen-netback)
- SPARC architecture updates
- Automatic NUMA balancing turned ON default.
- CGROUP improvements
- CONFIG_SCHED_STATS is turned OFF from production kernels
- TRANSPARENT_HUGEPAGE enabled with IO problem being addressed in v3.18
- CMA allows to allocate big physically-contiguous blocks of memory.
- Data Center TCP (DCTCP)though it needs support of RFC3168(ECN)
- Open vSwitch support with GRE, VXLAN and GENEVE tunneling support
- nftables, the successor of iptables
- NFSv4.2 client support, NFSv4.1 client support for migration and Ceph client caching support.
- FOO over UDP and Virtual (secure) IPv6: tunneling
- Zswap and Bcache support.
- BTRFS improvements
- X86_INTEL_MPX
- X86_VSYSCALL_EMULATION
- NET_DSA_HWMON
- NET_FOU_IP_TUNNELS
- NET_SWITCHDEV
- IPVLAN
- BLK_DEV_RAM_DAX and FS_DAX
- I40E_FCOE
- NDSD_PNFS
- DM Multipath and MQ conversions
- Very basic support for PMEM

Config related bugs with fixes part of base config
Orabug: 20064118
Orabug: 20343801
Orabug: 20343138
Orabug: 20064118
Orabug: 20064118
Orabug: 20064118
Orabug: 20064118
Orabug: 20473608
Orabug: 20516347
Orabug: 20611390
Orabug: 21233074
Orabug: 20687425

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10 years agoLinux 4.1 v4.1 v4.1test
Linus Torvalds [Mon, 22 Jun 2015 05:05:43 +0000 (22:05 -0700)]
Linux 4.1

10 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
Linus Torvalds [Sun, 21 Jun 2015 00:26:01 +0000 (17:26 -0700)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending

Pull scsi target fixes from Nicholas Bellinger:
 "Apologies for the late pull request.

  Here are the outstanding target-pending fixes for v4.1 code.

  The series contains three patches from Sagi + Co that address a few
  iser-target issues that have been uncovered during recent testing at
  Mellanox.

  Patch #1 has a v3.16+ stable tag, and #2-3 have v3.10+ stable tags"

* git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
  iser-target: Fix possible use-after-free
  iser-target: release stale iser connections
  iser-target: Fix variable-length response error completion

10 years agoMerge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
Linus Torvalds [Sat, 20 Jun 2015 20:54:22 +0000 (13:54 -0700)]
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

Pull drm fixes from Dave Airlie:
 "A smattering of fixes,

  mgag200:
      don't accept modes that aren't aligned properly as hw can't do it

  i915:
      two regression fixes

  radeon:
      one query to allow userspace fixes
      one oops fixer for older hw with new options enabled"

* 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
  drm/radeon: don't probe MST on hw we don't support it on
  drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query
  drm/mgag200: Reject non-character-cell-aligned mode widths
  Revert "drm/i915: Don't skip request retirement if the active list is empty"
  drm/i915: Always reset vma->ggtt_view.pages cache on unbinding

10 years agoMerge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Fri, 19 Jun 2015 17:36:50 +0000 (07:36 -1000)]
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux

Pull clk fixes from Michael Turquette:
 "Very late clk regression fixes for the ARM-based AT91 platform.

  These went unnoticed by me until recently, hence the late pull
  request"

* tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
  clk: at91: fix h32mx prototype inclusion in pmc header
  clk: at91: trivial: typo in peripheral clock description
  clk: at91: fix PERIPHERAL_MAX_SHIFT definition
  clk: at91: pll: fix input range validity check

10 years agoMerge tag 'sound-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Linus Torvalds [Fri, 19 Jun 2015 17:34:14 +0000 (07:34 -1000)]
Merge tag 'sound-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "Nothing looks scary, just a few usual HD-audio regression fixes and
  fixup, in addition to a minor Kconfig dependency fix for the old MIPS
  drivers"

* tag 'sound-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: hda - Fix unused label skip_i915
  ALSA: hda - Fix noisy outputs on Dell XPS13 (2015 model)
  ALSA: mips: let SND_SGI_O2 select SND_PCM
  ALSA: hda - Fix audio crackles on Dell Latitude E7x40
  ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine

10 years agoMerge branch 'ccf/atmel-fixes-for-4.1' of https://github.com/bbrezillon/linux-at91...
Michael Turquette [Fri, 19 Jun 2015 14:37:14 +0000 (07:37 -0700)]
Merge branch 'ccf/atmel-fixes-for-4.1' of https://github.com/bbrezillon/linux-at91 into clk-fixes

10 years agoclk: at91: fix h32mx prototype inclusion in pmc header
Nicolas Ferre [Thu, 28 May 2015 13:07:21 +0000 (15:07 +0200)]
clk: at91: fix h32mx prototype inclusion in pmc header

Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
present but smd clock isn't.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
Cc: <stable@vger.kernel.org> # 3.18+
10 years agoclk: at91: trivial: typo in peripheral clock description
Nicolas Ferre [Wed, 17 Jun 2015 13:22:51 +0000 (15:22 +0200)]
clk: at91: trivial: typo in peripheral clock description

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
10 years agoclk: at91: fix PERIPHERAL_MAX_SHIFT definition
Boris Brezillon [Thu, 28 May 2015 12:01:08 +0000 (14:01 +0200)]
clk: at91: fix PERIPHERAL_MAX_SHIFT definition

Fix the PERIPHERAL_MAX_SHIFT definition (3 instead of 4) and adapt the
round_rate and set_rate logic accordingly.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: "Wu, Songjun" <Songjun.Wu@atmel.com>
10 years agoclk: at91: pll: fix input range validity check
Boris Brezillon [Fri, 27 Mar 2015 22:53:15 +0000 (23:53 +0100)]
clk: at91: pll: fix input range validity check

The PLL impose a certain input range to work correctly, but it appears that
this input range does not apply on the input clock (or parent clock) but
on the input clock after it has passed the PLL divisor.
Fix the implementation accordingly.

Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Jonas Andersson <jonas@microbit.se>
10 years agoMerge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
Linus Torvalds [Fri, 19 Jun 2015 03:02:27 +0000 (17:02 -1000)]
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c documentation fix from Wolfram Sang:
 "Here is a small documentation fix for I2C.

  We already had a user who unsuccessfully tried to get the new slave
  framework running with the currently broken example.  So, before this
  happens again, I'd like to have this how-to-use section fixed for 4.1
  already.  So that no more hacking time is wasted"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
  i2c: slave: fix the example how to instantiate from userspace

10 years agorevert "cpumask: don't perform while loop in cpumask_next_and()"
Andrew Morton [Thu, 18 Jun 2015 18:01:11 +0000 (11:01 -0700)]
revert "cpumask: don't perform while loop in cpumask_next_and()"

Revert commit 534b483a86e6 ("cpumask: don't perform while loop in
cpumask_next_and()").

This was a minor optimization, but it puts a `struct cpumask' on the
stack, which consumes too much stack space.

Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 years agoMerge tag 'drm-intel-fixes-2015-06-18' of git://anongit.freedesktop.org/drm-intel...
Dave Airlie [Fri, 19 Jun 2015 01:58:39 +0000 (11:58 +1000)]
Merge tag 'drm-intel-fixes-2015-06-18' of git://anongit.freedesktop.org/drm-intel into drm-fixes

one fix, one revert
* tag 'drm-intel-fixes-2015-06-18' of git://anongit.freedesktop.org/drm-intel:
  Revert "drm/i915: Don't skip request retirement if the active list is empty"
  drm/i915: Always reset vma->ggtt_view.pages cache on unbinding

10 years agoMerge branch 'drm-fixes-4.1' of git://people.freedesktop.org/~deathsimple/linux into...
Dave Airlie [Fri, 19 Jun 2015 01:55:29 +0000 (11:55 +1000)]
Merge branch 'drm-fixes-4.1' of git://people.freedesktop.org/~deathsimple/linux into drm-fixes

two radeon fixes
one MST fix,
one query addition, destined for stable, and to fix a regression
* 'drm-fixes-4.1' of git://people.freedesktop.org/~deathsimple/linux:
  drm/radeon: don't probe MST on hw we don't support it on
  drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query

10 years agodrm/radeon: don't probe MST on hw we don't support it on
Dave Airlie [Thu, 18 Jun 2015 04:29:18 +0000 (14:29 +1000)]
drm/radeon: don't probe MST on hw we don't support it on

If you do radeon.mst=1 on a gpu without mst hw, and then
plug some mst hw it will oops instead of falling back.

So check we have DCE5 at least before proceeding.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
10 years agodrm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query
Michel Dänzer [Tue, 16 Jun 2015 08:28:16 +0000 (17:28 +0900)]
drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query

This tells userspace that it's safe to use the RADEON_VA_UNMAP operation
of the DRM_RADEON_GEM_VA ioctl.

Cc: stable@vger.kernel.org
(NOTE: Backporting this commit requires at least backports of commits
26d4d129b6042197b4cbc8341c0618f99231af2f,
48afbd70ac7b6aa62e8d452091023941d8085f8a and
c29c0876ec05d51a93508a39b90b92c29ba6423d as well, otherwise using
RADEON_VA_UNMAP runs into trouble)

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
10 years agoMerge tag 'trace-fix-filter-4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Thu, 18 Jun 2015 06:56:57 +0000 (20:56 -1000)]
Merge tag 'trace-fix-filter-4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing filter fix from Steven Rostedt:
 "Vince Weaver reported a warning when he added perf event filters into
  his fuzzer tests.  There's a missing check of balanced operations when
  parenthesis are used, and this triggers a WARN_ON() and when reading
  the failure, the filter reports no failure occurred.

  The operands were not being checked if they match, this adds that"

* tag 'trace-fix-filter-4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  tracing: Have filter check for balanced ops

10 years agoMerge git://git.kernel.org/pub/scm/virt/kvm/kvm
Linus Torvalds [Thu, 18 Jun 2015 06:54:47 +0000 (20:54 -1000)]
Merge git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm bugfix from Marcelo Tosatti:
 "Rrestore APIC migration functionality"

* git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: x86: fix lapic.timer_mode on restore

10 years agoKconfig: disable Media Controller for DVB
Mauro Carvalho Chehab [Tue, 16 Jun 2015 09:26:59 +0000 (06:26 -0300)]
Kconfig: disable Media Controller for DVB

Since when we start discussions about the usage Media Controller for
complex hardware, one thing become clear: the way it is, MC fails to
map anything different than capture/output/m2m video-only streaming.

The point is that MC has entities named as devnodes, but the only
devnode used (before the DVB patches) is MEDIA_ENT_T_DEVNODE_V4L.
Due to the way MC got implemented, however, this entity actually
doesn't represent the devnode, but the hardware I/O engine that
receives data via DMA.

By coincidence, such DMA is associated with the V4L device node
on webcam hardware, but this is not true even for other V4L2
devices. For example, on USB hardware, the DMA is done via the
USB controller. The data passes though a in-kernel filter that
strips off the URB headers. Other V4L2 devices like radio may not
even have DMA. When it have, the DMA is done via ALSA, and not
via the V4L devnode.

In other words, MC is broken as a whole, but tagging it as BROKEN
right now would do more harm than good.

So, instead, let's mark, for now, the DVB part as broken and
block all new changes to MC while we fix this mess, whith
we hopefully will do for the next Kernel version.

Requested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Linus Torvalds [Thu, 18 Jun 2015 06:49:26 +0000 (20:49 -1000)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fixes from Herbert Xu:
 "This fixes the following issues:

   - Crash in caam hash due to uninitialised buffer lengths.

   - Alignment issue in caam RNG that may lead to non-random output"

* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  crypto: caam - fix RNG buffer cache alignment
  crypto: caam - improve initalization for context state saves

10 years agomm: shmem_zero_setup skip security check and lockdep conflict with XFS
Hugh Dickins [Sun, 14 Jun 2015 16:48:09 +0000 (09:48 -0700)]
mm: shmem_zero_setup skip security check and lockdep conflict with XFS

It appears that, at some point last year, XFS made directory handling
changes which bring it into lockdep conflict with shmem_zero_setup():
it is surprising that mmap() can clone an inode while holding mmap_sem,
but that has been so for many years.

Since those few lockdep traces that I've seen all implicated selinux,
I'm hoping that we can use the __shmem_file_setup(,,,S_PRIVATE) which
v3.13's commit c7277090927a ("security: shmem: implement kernel private
shmem inodes") introduced to avoid LSM checks on kernel-internal inodes:
the mmap("/dev/zero") cloned inode is indeed a kernel-internal detail.

This also covers the !CONFIG_SHMEM use of ramfs to support /dev/zero
(and MAP_SHARED|MAP_ANONYMOUS).  I thought there were also drivers
which cloned inode in mmap(), but if so, I cannot locate them now.

Reported-and-tested-by: Prarit Bhargava <prarit@redhat.com>
Reported-and-tested-by: Daniel Wagner <wagi@monom.org>
Reported-and-tested-by: Morten Stevens <mstevens@fedoraproject.org>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 years agoi2c: slave: fix the example how to instantiate from userspace
Wolfram Sang [Mon, 15 Jun 2015 17:51:46 +0000 (19:51 +0200)]
i2c: slave: fix the example how to instantiate from userspace

I copied the wrong shell code into the documentation. Sorry to all who
tried to get sense out of this current example :/ Slight rewording while
we are here.

Reported-by: Tim Bakker <bakkert@mymail.vcu.edu>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
10 years agotracing: Have filter check for balanced ops
Steven Rostedt [Mon, 15 Jun 2015 21:50:25 +0000 (17:50 -0400)]
tracing: Have filter check for balanced ops

When the following filter is used it causes a warning to trigger:

 # cd /sys/kernel/debug/tracing
 # echo "((dev==1)blocks==2)" > events/ext4/ext4_truncate_exit/filter
-bash: echo: write error: Invalid argument
 # cat events/ext4/ext4_truncate_exit/filter
((dev==1)blocks==2)
^
parse_error: No error

 ------------[ cut here ]------------
 WARNING: CPU: 2 PID: 1223 at kernel/trace/trace_events_filter.c:1640 replace_preds+0x3c5/0x990()
 Modules linked in: bnep lockd grace bluetooth  ...
 CPU: 3 PID: 1223 Comm: bash Tainted: G        W       4.1.0-rc3-test+ #450
 Hardware name: Hewlett-Packard HP Compaq Pro 6300 SFF/339A, BIOS K01 v02.05 05/07/2012
  0000000000000668 ffff8800c106bc98 ffffffff816ed4f9 ffff88011ead0cf0
  0000000000000000 ffff8800c106bcd8 ffffffff8107fb07 ffffffff8136b46c
  ffff8800c7d81d48 ffff8800d4c2bc00 ffff8800d4d4f920 00000000ffffffea
 Call Trace:
  [<ffffffff816ed4f9>] dump_stack+0x4c/0x6e
  [<ffffffff8107fb07>] warn_slowpath_common+0x97/0xe0
  [<ffffffff8136b46c>] ? _kstrtoull+0x2c/0x80
  [<ffffffff8107fb6a>] warn_slowpath_null+0x1a/0x20
  [<ffffffff81159065>] replace_preds+0x3c5/0x990
  [<ffffffff811596b2>] create_filter+0x82/0xb0
  [<ffffffff81159944>] apply_event_filter+0xd4/0x180
  [<ffffffff81152bbf>] event_filter_write+0x8f/0x120
  [<ffffffff811db2a8>] __vfs_write+0x28/0xe0
  [<ffffffff811dda43>] ? __sb_start_write+0x53/0xf0
  [<ffffffff812e51e0>] ? security_file_permission+0x30/0xc0
  [<ffffffff811dc408>] vfs_write+0xb8/0x1b0
  [<ffffffff811dc72f>] SyS_write+0x4f/0xb0
  [<ffffffff816f5217>] system_call_fastpath+0x12/0x6a
 ---[ end trace e11028bd95818dcd ]---

Worse yet, reading the error message (the filter again) it says that
there was no error, when there clearly was. The issue is that the
code that checks the input does not check for balanced ops. That is,
having an op between a closed parenthesis and the next token.

This would only cause a warning, and fail out before doing any real
harm, but it should still not caues a warning, and the error reported
should work:

 # cd /sys/kernel/debug/tracing
 # echo "((dev==1)blocks==2)" > events/ext4/ext4_truncate_exit/filter
-bash: echo: write error: Invalid argument
 # cat events/ext4/ext4_truncate_exit/filter
((dev==1)blocks==2)
^
parse_error: Meaningless filter expression

And give no kernel warning.

Link: http://lkml.kernel.org/r/20150615175025.7e809215@gandalf.local.home
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: stable@vger.kernel.org # 2.6.31+
Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Tested-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10 years agoALSA: hda - Fix unused label skip_i915
Takashi Iwai [Tue, 16 Jun 2015 10:23:36 +0000 (12:23 +0200)]
ALSA: hda - Fix unused label skip_i915

When CONFIG_SND_HDA_I915=n, we get a compile warning:
  sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’:
  sound/pci/hda/hda_intel.c:1882:2: warning: label ‘skip_i915’ defined but not used [-Wunused-label]

Fix it by putting again ifdef to it.  Sigh.

Fixes: bf06848bdbe5 ('ALSA: hda - Continue probing even if i915 binding fails')
Reported-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>