Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4dc77391 authored by derfelot's avatar derfelot
Browse files

Merge Linux 4.4.252 kernel

Changes in 4.4.252: (19 commits)
        target: add XCOPY target/segment desc sense codes
        target: bounds check XCOPY segment descriptor list
        target: simplify XCOPY wwn->se_dev lookup helper
        target: use XCOPY segment descriptor CSCD IDs
        xcopy: loop over devices using idr helper
        scsi: target: Fix XCOPY NAA identifier lookup
        powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at
        net: ip: always refragment ip defragmented packets
        net: fix pmtu check in nopmtudisc mode
        vmlinux.lds.h: Add PGO and AutoFDO input sections
        ubifs: wbuf: Don't leak kernel memory to flash
        spi: pxa2xx: Fix use-after-free on unbind
        cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
        wil6210: select CONFIG_CRC32
        block: rsxx: select CONFIG_CRC32
        iommu/intel: Fix memleak in intel_irq_remapping_alloc
        block: fix use-after-free in disk_part_iter_next
        net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
        Linux 4.4.252
parents a6c7f978 4328b0f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
VERSION = 4
PATCHLEVEL = 4
SUBLEVEL = 251
SUBLEVEL = 252
EXTRAVERSION =
NAME = Blurry Fish Butt

+2 −2
Original line number Diff line number Diff line
@@ -149,9 +149,9 @@ static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr,
		flush_hash_entry(mm, ptep, addr);
#endif
	__asm__ __volatile__("\
		stw%U0%X0 %2,%0\n\
		stw%X0 %2,%0\n\
		eieio\n\
		stw%U0%X0 %L2,%1"
		stw%X1 %L2,%1"
	: "=m" (*ptep), "=m" (*((unsigned char *)ptep+4))
	: "r" (pte) : "memory");

+6 −3
Original line number Diff line number Diff line
@@ -158,14 +158,17 @@ struct hd_struct *disk_part_iter_next(struct disk_part_iter *piter)
		part = rcu_dereference(ptbl->part[piter->idx]);
		if (!part)
			continue;
		get_device(part_to_dev(part));
		piter->part = part;
		if (!part_nr_sects_read(part) &&
		    !(piter->flags & DISK_PITER_INCL_EMPTY) &&
		    !(piter->flags & DISK_PITER_INCL_EMPTY_PART0 &&
		      piter->idx == 0))
		      piter->idx == 0)) {
			put_device(part_to_dev(part));
			piter->part = NULL;
			continue;
		}

		get_device(part_to_dev(part));
		piter->part = part;
		piter->idx += inc;
		break;
	}
+1 −0
Original line number Diff line number Diff line
@@ -540,6 +540,7 @@ config BLK_DEV_RBD
config BLK_DEV_RSXX
	tristate "IBM Flash Adapter 900GB Full Height PCIe Device Driver"
	depends on PCI
	select CRC32
	help
	  Device driver for IBM's high speed PCIe SSD
	  storage device: Flash Adapter 900GB Full Height.
+3 −6
Original line number Diff line number Diff line
@@ -887,9 +887,9 @@ static int get_transition_latency(struct powernow_k8_data *data)

/* Take a frequency, and issue the fid/vid transition command */
static int transition_frequency_fidvid(struct powernow_k8_data *data,
		unsigned int index)
		unsigned int index,
		struct cpufreq_policy *policy)
{
	struct cpufreq_policy *policy;
	u32 fid = 0;
	u32 vid = 0;
	int res;
@@ -921,9 +921,6 @@ static int transition_frequency_fidvid(struct powernow_k8_data *data,
	freqs.old = find_khz_freq_from_fid(data->currfid);
	freqs.new = find_khz_freq_from_fid(fid);

	policy = cpufreq_cpu_get(smp_processor_id());
	cpufreq_cpu_put(policy);

	cpufreq_freq_transition_begin(policy, &freqs);
	res = transition_fid_vid(data, fid, vid);
	cpufreq_freq_transition_end(policy, &freqs, res);
@@ -978,7 +975,7 @@ static long powernowk8_target_fn(void *arg)

	powernow_k8_acpi_pst_values(data, newstate);

	ret = transition_frequency_fidvid(data, newstate);
	ret = transition_frequency_fidvid(data, newstate, pol);

	if (ret) {
		pr_err("transition frequency failed\n");
Loading