4.8.7-300.pf7.hu.1
- Merge Fedora upstream changes: Merge branch 'f25' of ssh://pkgs.fedoraproject.org/kernel into f25-pf - Update pf https://pf.natalenko.name/news/?p=219 to v4.8-pf7.
This commit is contained in:
commit
af2b916f05
|
@ -1,49 +0,0 @@
|
|||
From 9f692cbe4a01dd9e3c3e954ec6b59662b68f9ce4 Mon Sep 17 00:00:00 2001
|
||||
From: Laura Abbott <labbott@redhat.com>
|
||||
Date: Fri, 9 Sep 2016 10:19:02 -0700
|
||||
Subject: [PATCH] cpupower: Correct return type of cpu_power_is_cpu_online in
|
||||
cpufreq
|
||||
To: Thomas Renninger <trenn@suse.com>
|
||||
Cc: linux-pm@vger.kernel.org
|
||||
Cc: linux-kernel@vger.kernel.org
|
||||
|
||||
When converting to a shared library in ac5a181d065d ("cpupower: Add
|
||||
cpuidle parts into library"), cpu_freq_cpu_exists was converted to
|
||||
cpupower_is_cpu_online. cpu_req_cpu_exists returned 0 on success and
|
||||
-ENOSYS on failure whereas cpupower_is_cpu_online returns 1 on success.
|
||||
Check for the correct return value in cpufreq-set.
|
||||
|
||||
See https://bugzilla.redhat.com/show_bug.cgi?id=1374212
|
||||
|
||||
Fixes: ac5a181d065d ("cpupower: Add cpuidle parts into library")
|
||||
Reported-by: Julian Seward <jseward@acm.org>
|
||||
Signed-off-by: Laura Abbott <labbott@redhat.com>
|
||||
---
|
||||
tools/power/cpupower/utils/cpufreq-set.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/power/cpupower/utils/cpufreq-set.c b/tools/power/cpupower/utils/cpufreq-set.c
|
||||
index b4bf769..8971d71 100644
|
||||
--- a/tools/power/cpupower/utils/cpufreq-set.c
|
||||
+++ b/tools/power/cpupower/utils/cpufreq-set.c
|
||||
@@ -296,7 +296,7 @@ int cmd_freq_set(int argc, char **argv)
|
||||
struct cpufreq_affected_cpus *cpus;
|
||||
|
||||
if (!bitmask_isbitset(cpus_chosen, cpu) ||
|
||||
- cpupower_is_cpu_online(cpu))
|
||||
+ cpupower_is_cpu_online(cpu) != 1)
|
||||
continue;
|
||||
|
||||
cpus = cpufreq_get_related_cpus(cpu);
|
||||
@@ -316,7 +316,7 @@ int cmd_freq_set(int argc, char **argv)
|
||||
cpu <= bitmask_last(cpus_chosen); cpu++) {
|
||||
|
||||
if (!bitmask_isbitset(cpus_chosen, cpu) ||
|
||||
- cpupower_is_cpu_online(cpu))
|
||||
+ cpupower_is_cpu_online(cpu) != 1)
|
||||
continue;
|
||||
|
||||
if (cpupower_is_cpu_online(cpu) != 1)
|
||||
--
|
||||
2.10.0
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
From 5c33677c87cbe44ae04df69c4a29c1750a9ec4e5 Mon Sep 17 00:00:00 2001
|
||||
From: Andy Whitcroft <apw@canonical.com>
|
||||
Date: Tue, 11 Oct 2016 15:16:57 +0100
|
||||
Subject: [PATCH] dm raid: fix compat_features validation
|
||||
|
||||
In ecbfb9f118bce4 ("dm raid: add raid level takeover support") a new
|
||||
compatible feature flag was added. Validation for these compat_features
|
||||
was added but this only passes for new raid mappings with this feature
|
||||
flag. This causes previously created raid mappings to be failed at
|
||||
import.
|
||||
|
||||
Check compat_features for the only valid combination.
|
||||
|
||||
Fixes: ecbfb9f118bce4 ("dm raid: add raid level takeover support")
|
||||
Cc: stable@vger.kernel.org # v4.8
|
||||
Signed-off-by: Andy Whitcroft <apw@canonical.com>
|
||||
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
|
||||
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|
||||
---
|
||||
drivers/md/dm-raid.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
|
||||
index 8abde6b..2a39700 100644
|
||||
--- a/drivers/md/dm-raid.c
|
||||
+++ b/drivers/md/dm-raid.c
|
||||
@@ -2258,7 +2258,8 @@ static int super_validate(struct raid_set *rs, struct md_rdev *rdev)
|
||||
if (!mddev->events && super_init_validation(rs, rdev))
|
||||
return -EINVAL;
|
||||
|
||||
- if (le32_to_cpu(sb->compat_features) != FEATURE_FLAG_SUPPORTS_V190) {
|
||||
+ if (le32_to_cpu(sb->compat_features) &&
|
||||
+ le32_to_cpu(sb->compat_features) != FEATURE_FLAG_SUPPORTS_V190) {
|
||||
rs->ti->error = "Unable to assemble array: Unknown flag(s) in compatible feature flags";
|
||||
return -EINVAL;
|
||||
}
|
||||
--
|
||||
2.7.4
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
From 1aab956c7b8872fb6976328316bfad62c6e67cf8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <ville.syrjala@linux.intel.com>
|
||||
Date: Fri, 21 Oct 2016 16:44:38 +0300
|
||||
Subject: [PATCH] drm/i915: Refresh that status of MST capable connectors in
|
||||
->detect()
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Once we've determined that the sink is MST capable we never end up
|
||||
running through the full detect cycle again, despite getting HPDs.
|
||||
Fix tht by ripping out the incorrect piece of code responsible.
|
||||
|
||||
This got broken when I moved the long HPD handling to the ->detect()
|
||||
hook, but failed to remove the leftover code.
|
||||
|
||||
Cc: Ander Conselvan de Oliveira <conselvan2@gmail.com>
|
||||
Cc: drm-intel-fixes@lists.freedesktop.org
|
||||
Cc: Rui Tiago Matos <tiagomatos@gmail.com>
|
||||
Tested-by: Rui Tiago Matos <tiagomatos@gmail.com>
|
||||
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98323
|
||||
Cc: Kirill A. Shutemov <kirill@shutemov.name>
|
||||
Tested-by: Kirill A. Shutemov <kirill@shutemov.name>
|
||||
References: https://bugs.freedesktop.org/show_bug.cgi?id=98306
|
||||
Fixes: 27d4efc5591a ("drm/i915: Move long hpd handling into the hotplug work")
|
||||
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
|
||||
Link: http://patchwork.freedesktop.org/patch/msgid/1477057478-29328-1-git-send-email-ville.syrjala@linux.intel.com
|
||||
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
|
||||
---
|
||||
drivers/gpu/drm/i915/intel_dp.c | 10 ----------
|
||||
1 file changed, 10 deletions(-)
|
||||
|
||||
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
|
||||
index f30db8f..80db8a3 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_dp.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_dp.c
|
||||
@@ -4492,21 +4492,11 @@ static enum drm_connector_status
|
||||
intel_dp_detect(struct drm_connector *connector, bool force)
|
||||
{
|
||||
struct intel_dp *intel_dp = intel_attached_dp(connector);
|
||||
- struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
|
||||
- struct intel_encoder *intel_encoder = &intel_dig_port->base;
|
||||
enum drm_connector_status status = connector->status;
|
||||
|
||||
DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n",
|
||||
connector->base.id, connector->name);
|
||||
|
||||
- if (intel_dp->is_mst) {
|
||||
- /* MST devices are disconnected from a monitor POV */
|
||||
- intel_dp_unset_edid(intel_dp);
|
||||
- if (intel_encoder->type != INTEL_OUTPUT_EDP)
|
||||
- intel_encoder->type = INTEL_OUTPUT_DP;
|
||||
- return connector_status_disconnected;
|
||||
- }
|
||||
-
|
||||
/* If full detect is not performed yet, do a full detect */
|
||||
if (!intel_dp->detect_done)
|
||||
status = intel_dp_long_pulse(intel_dp->attached_connector);
|
||||
--
|
||||
2.7.4
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
From 40c30bbf3377babc4d6bb16b699184236a8bfa27 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Masney <masneyb@onstation.org>
|
||||
Date: Tue, 11 Oct 2016 19:28:02 -0400
|
||||
Subject: [PATCH] platform/x86: ideapad-laptop: Add Lenovo Yoga 910-13IKB to
|
||||
no_hw_rfkill dmi list
|
||||
|
||||
The Lenovo Yoga 910-13IKB does not have a hw rfkill switch, and trying
|
||||
to read the hw rfkill switch through the ideapad module causes it to
|
||||
always report as blocked.
|
||||
|
||||
This commit adds the Lenovo Yoga 910-13IKB to the no_hw_rfkill dmi list,
|
||||
fixing the WiFI breakage.
|
||||
|
||||
Signed-off-by: Brian Masney <masneyb@onstation.org>
|
||||
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
||||
---
|
||||
drivers/platform/x86/ideapad-laptop.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
|
||||
index d1a091b..a232394 100644
|
||||
--- a/drivers/platform/x86/ideapad-laptop.c
|
||||
+++ b/drivers/platform/x86/ideapad-laptop.c
|
||||
@@ -933,6 +933,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
|
||||
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
|
||||
},
|
||||
},
|
||||
+ {
|
||||
+ .ident = "Lenovo YOGA 910-13IKB",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 910-13IKB"),
|
||||
+ },
|
||||
+ },
|
||||
{}
|
||||
};
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
|
@ -170,6 +170,7 @@ CONFIG_SERIAL_MVEBU_CONSOLE=y
|
|||
CONFIG_MVEBU_DEVBUS=y
|
||||
CONFIG_MVEBU_MBUS=y
|
||||
CONFIG_PCI_MVEBU=y
|
||||
CONFIG_PCI_AARDVARK=y
|
||||
CONFIG_PCIE_ARMADA_8K=y
|
||||
CONFIG_MV_XOR=y
|
||||
CONFIG_CRYPTO_DEV_MV_CESA=m
|
||||
|
@ -195,9 +196,9 @@ CONFIG_USB_MV_UDC=m
|
|||
CONFIG_USB_XHCI_MVEBU=m
|
||||
CONFIG_PHY_MVEBU_SATA=y
|
||||
CONFIG_AHCI_MVEBU=m
|
||||
CONFIG_I2C_PXA=m
|
||||
# CONFIG_CACHE_FEROCEON_L2 is not set
|
||||
# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
|
||||
# CONFIG_PCI_AARDVARK is not set
|
||||
|
||||
# Rockchips
|
||||
CONFIG_ARCH_ROCKCHIP=y
|
||||
|
|
|
@ -518,7 +518,6 @@ CONFIG_MACH_MMP2_DT=y
|
|||
CONFIG_SERIAL_PXA=y
|
||||
CONFIG_SERIAL_PXA_CONSOLE=y
|
||||
CONFIG_KEYBOARD_PXA27x=y
|
||||
CONFIG_I2C_PXA=m
|
||||
# CONFIG_I2C_PXA_SLAVE is not set
|
||||
CONFIG_SND_MMP_SOC=y
|
||||
CONFIG_SND_PXA910_SOC=m
|
||||
|
|
|
@ -330,6 +330,9 @@ CONFIG_SND_SOC_SAMSUNG_SMDK_SPDIF=m
|
|||
CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994=m
|
||||
CONFIG_SND_SOC_SMDK_WM8994_PCM=m
|
||||
CONFIG_SND_SOC_SNOW=m
|
||||
CONFIG_SND_SOC_MAX98090=m
|
||||
CONFIG_SND_SOC_MAX98095=m
|
||||
CONFIG_SND_SAMSUNG_I2S=m
|
||||
CONFIG_SND_SOC_ODROIDX2=m
|
||||
CONFIG_EXYNOS_AUDSS_CLK_CON=m
|
||||
# CONFIG_EXYNOS_IOMMU_DEBUG is not set
|
||||
|
@ -351,6 +354,8 @@ CONFIG_CHARGER_MAX8997=m
|
|||
CONFIG_LEDS_MAX8997=m
|
||||
CONFIG_RTC_DRV_MAX8997=m
|
||||
CONFIG_EXTCON_MAX8997=m
|
||||
CONFIG_SND_SOC_ARNDALE_RT5631_ALC5631=m
|
||||
CONFIG_SND_SOC_RT5631=m
|
||||
|
||||
# Tegra
|
||||
CONFIG_ARCH_TEGRA_114_SOC=y
|
||||
|
@ -401,9 +406,11 @@ CONFIG_USB_EHCI_HCD_ORION=m
|
|||
CONFIG_MVPP2=m
|
||||
CONFIG_COMMON_CLK_SI5351=m
|
||||
CONFIG_RTC_DRV_ARMADA38X=m
|
||||
CONFIG_I2C_PXA=m
|
||||
# CONFIG_CACHE_FEROCEON_L2 is not set
|
||||
# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
|
||||
CONFIG_LEDS_NS2=m
|
||||
CONFIG_LEDS_PCA963X=m
|
||||
# CONFIG_PCIE_ARMADA_8K is not set
|
||||
|
||||
# DRM panels
|
||||
|
|
48
kernel.spec
48
kernel.spec
|
@ -24,7 +24,7 @@ Summary: The Linux kernel
|
|||
%global zipsed -e 's/\.ko$/\.ko.xz/'
|
||||
%endif
|
||||
|
||||
%define buildid .pf6.hu.1
|
||||
%define buildid .pf7.hu.1
|
||||
|
||||
# baserelease defines which build revision of this kernel version we're
|
||||
# building. We used to call this fedora_build, but the magical name
|
||||
|
@ -42,7 +42,7 @@ Summary: The Linux kernel
|
|||
# For non-released -rc kernels, this will be appended after the rcX and
|
||||
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
|
||||
#
|
||||
%global baserelease 301
|
||||
%global baserelease 300
|
||||
%global fedora_build %{baserelease}
|
||||
|
||||
# base_sublevel is the kernel version we're starting with and patching
|
||||
|
@ -54,8 +54,8 @@ Summary: The Linux kernel
|
|||
%if 0%{?released_kernel}
|
||||
|
||||
# Do we have a -stable update to apply?
|
||||
#+Hu Pf against 4.8.6 v4.8-pf6: https://pf.natalenko.name/news/?p=217
|
||||
%define stable_update 6
|
||||
#+Hu Pf against 4.8.7 v4.8-pf6: https://pf.natalenko.name/news/?p=219
|
||||
%define stable_update 7
|
||||
# Set rpm version accordingly
|
||||
%if 0%{?stable_update}
|
||||
%define stablerev %{stable_update}
|
||||
|
@ -472,7 +472,7 @@ Source2001: cpupower.config
|
|||
%if 0%{?stable_update}
|
||||
%if 0%{?stable_base}
|
||||
#*Hu %%define stable_patch_00 patch-4.%%{base_sublevel}.%%{stable_base}.xz
|
||||
%global stable_patch_00 https://pf.natalenko.name/sources/4.8/patch-4.8-pf6.xz
|
||||
%global stable_patch_00 https://pf.natalenko.name/sources/4.8/patch-4.8-pf7.xz
|
||||
Source5000: %{stable_patch_00}
|
||||
%endif
|
||||
|
||||
|
@ -630,9 +630,6 @@ Patch846: security-selinux-overlayfs-support.patch
|
|||
#rhbz 1360688
|
||||
Patch847: rc-core-fix-repeat-events.patch
|
||||
|
||||
#rhbz 1374212
|
||||
Patch848: 0001-cpupower-Correct-return-type-of-cpu_power_is_cpu_onl.patch
|
||||
|
||||
#ongoing complaint, full discussion delayed until ksummit/plumbers
|
||||
Patch849: 0001-iio-Use-event-header-from-kernel-tree.patch
|
||||
|
||||
|
@ -642,8 +639,14 @@ Patch850: v3-vfio-pci-Fix-integer-overflows-bitmask-check.patch
|
|||
#rhbz 1325354
|
||||
Patch852: 0001-HID-input-ignore-System-Control-application-usages-i.patch
|
||||
|
||||
#rhbz 1391279
|
||||
Patch853: 0001-dm-raid-fix-compat_features-validation.patch
|
||||
#rhbz 1392885
|
||||
Patch853: 0001-drm-i915-Refresh-that-status-of-MST-capable-connecto.patch
|
||||
|
||||
#rhbz 1390308
|
||||
Patch854: nouveau-add-maxwell-to-backlight-init.patch
|
||||
|
||||
#rhbz 1385823
|
||||
Patch855: 0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch
|
||||
|
||||
# END OF PATCH DEFINITIONS
|
||||
|
||||
|
@ -2185,6 +2188,31 @@ fi
|
|||
#
|
||||
#
|
||||
%changelog
|
||||
* Mon Nov 21 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 4.8.7-300.pf7.hu.1
|
||||
- Merge Fedora upstream changes.
|
||||
- Update pf https://pf.natalenko.name/news/?p=219 to v4.8-pf7.
|
||||
|
||||
* Mon Nov 21 2016 Justin M. Forbes <jforbes@fedoraproject.org> - 4.8.10-300
|
||||
- Linux v4.8.10
|
||||
|
||||
* Sun Nov 20 2016 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||
- Minor ARM config tweaks
|
||||
|
||||
* Tue Nov 15 2016 Justin M. Forbes <jforbes@fedoraproject.org> - 4.8.8-300
|
||||
- Linux v4.8.8
|
||||
- Fix crash in tcp_collapse CVE-2016-8645 (rhbz 1393904 1393908)
|
||||
|
||||
* Mon Nov 14 2016 Laura Abbott <labbott@fedoraproject.org>
|
||||
- Fix for some Yoga laptop WIFI (rhbz 1385823)
|
||||
|
||||
* Fri Nov 11 2016 Justin M. Forbes <jforbes@fedoraproject.org>
|
||||
- Nouveau: Add Maxwell to backlight initialization (rhbz 1390308)
|
||||
|
||||
* Thu Nov 10 2016 Justin M. Forbes <jforbes@fedoraproject.org> - 4.8.7-300
|
||||
- Linux v4.8.7
|
||||
- Fixes cve-2016-8630 (rhbz 1393350 1393358)
|
||||
- Refresh status of MST capable connectors (rhbz 1392885)
|
||||
|
||||
* Wed Nov 09 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 4.8.6-301.pf6.hu.1
|
||||
- Rebase Fedora changes - kernel 4.8.6.
|
||||
- Update pf patch to v4.8-pf6 - https://pf.natalenko.name/news/?p=217
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
From bbe1f94a8b3f2e8622dd400a6827d3242005d951 Mon Sep 17 00:00:00 2001
|
||||
From: Faris Alsalama <farisbenbrahem@gmail.com>
|
||||
Date: Sat, 21 May 2016 14:41:43 -0400
|
||||
Subject: drm/nouveau/kms: add Maxwell to backlight initialization
|
||||
|
||||
Signed-off-by: Faris Alsalama <farisbenbrahem@gmail.com>
|
||||
Acked-by: Acked-by: Pierre Moreau <pierre.morrow@free.fr>
|
||||
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
||||
|
||||
diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
|
||||
index f5101be..5e2c568 100644
|
||||
--- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
|
||||
+++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
|
||||
@@ -232,6 +232,7 @@ nouveau_backlight_init(struct drm_device *dev)
|
||||
case NV_DEVICE_INFO_V0_TESLA:
|
||||
case NV_DEVICE_INFO_V0_FERMI:
|
||||
case NV_DEVICE_INFO_V0_KEPLER:
|
||||
+ case NV_DEVICE_INFO_V0_MAXWELL:
|
||||
return nv50_backlight_init(connector);
|
||||
default:
|
||||
break;
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
BIN
patch-4.8-pf6.xz
BIN
patch-4.8-pf6.xz
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue