Skip to content

Commit e37ddf2

Browse files
author
Alex Shi
committed
Merge tag 'v4.4.10' into linux-linaro-lsk-v4.4
This is the 4.4.10 stable release
2 parents 9ba733e + 4c2795d commit e37ddf2

74 files changed

Lines changed: 451 additions & 174 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/ata/ahci-platform.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Optional properties:
3030
- target-supply : regulator for SATA target power
3131
- phys : reference to the SATA PHY node
3232
- phy-names : must be "sata-phy"
33+
- ports-implemented : Mask that indicates which ports that the HBA supports
34+
are available for software to use. Useful if PORTS_IMPL
35+
is not programmed by the BIOS, which is true with
36+
some embedded SOC's.
3337

3438
Required properties when using sub-nodes:
3539
- #address-cells : number of cells to encode an address

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,8 +4097,8 @@ F: Documentation/efi-stub.txt
40974097
F: arch/ia64/kernel/efi.c
40984098
F: arch/x86/boot/compressed/eboot.[ch]
40994099
F: arch/x86/include/asm/efi.h
4100-
F: arch/x86/platform/efi/*
4101-
F: drivers/firmware/efi/*
4100+
F: arch/x86/platform/efi/
4101+
F: drivers/firmware/efi/
41024102
F: include/linux/efi*.h
41034103

41044104
EFI VARIABLE FILESYSTEM

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 4
3-
SUBLEVEL = 9
3+
SUBLEVEL = 10
44
EXTRAVERSION =
55
NAME = Blurry Fish Butt
66

arch/arc/include/asm/io.h

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
#include <asm/byteorder.h>
1414
#include <asm/page.h>
1515

16+
#ifdef CONFIG_ISA_ARCV2
17+
#include <asm/barrier.h>
18+
#define __iormb() rmb()
19+
#define __iowmb() wmb()
20+
#else
21+
#define __iormb() do { } while (0)
22+
#define __iowmb() do { } while (0)
23+
#endif
24+
1625
extern void __iomem *ioremap(unsigned long physaddr, unsigned long size);
1726
extern void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size,
1827
unsigned long flags);
@@ -22,6 +31,15 @@ extern void iounmap(const void __iomem *addr);
2231
#define ioremap_wc(phy, sz) ioremap(phy, sz)
2332
#define ioremap_wt(phy, sz) ioremap(phy, sz)
2433

34+
/*
35+
* io{read,write}{16,32}be() macros
36+
*/
37+
#define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; })
38+
#define ioread32be(p) ({ u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; })
39+
40+
#define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force u16)cpu_to_be16(v), p); })
41+
#define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force u32)cpu_to_be32(v), p); })
42+
2543
/* Change struct page to physical address */
2644
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
2745

@@ -99,15 +117,6 @@ static inline void __raw_writel(u32 w, volatile void __iomem *addr)
99117

100118
}
101119

102-
#ifdef CONFIG_ISA_ARCV2
103-
#include <asm/barrier.h>
104-
#define __iormb() rmb()
105-
#define __iowmb() wmb()
106-
#else
107-
#define __iormb() do { } while (0)
108-
#define __iowmb() do { } while (0)
109-
#endif
110-
111120
/*
112121
* MMIO can also get buffered/optimized in micro-arch, so barriers needed
113122
* Based on ARM model for the typical use case

arch/arm/mach-cns3xxx/pcie.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ static void cns3xxx_write_config(struct cns3xxx_pcie *cnspci,
220220
u32 mask = (0x1ull << (size * 8)) - 1;
221221
int shift = (where % 4) * 8;
222222

223-
v = readl_relaxed(base + (where & 0xffc));
223+
v = readl_relaxed(base);
224224

225225
v &= ~(mask << shift);
226226
v |= (val & mask) << shift;
227227

228-
writel_relaxed(v, base + (where & 0xffc));
229-
readl_relaxed(base + (where & 0xffc));
228+
writel_relaxed(v, base);
229+
readl_relaxed(base);
230230
}
231231

232232
static void __init cns3xxx_pcie_hw_init(struct cns3xxx_pcie *cnspci)

arch/arm/mach-exynos/pm_domains.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on)
9292
if (IS_ERR(pd->clk[i]))
9393
break;
9494

95-
if (IS_ERR(pd->clk[i]))
95+
if (IS_ERR(pd->pclk[i]))
9696
continue; /* Skip on first power up */
9797
if (clk_set_parent(pd->clk[i], pd->pclk[i]))
9898
pr_err("%s: error setting parent to clock%d\n",

arch/arm/mach-socfpga/headsmp.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <asm/assembler.h>
1414

1515
.arch armv7-a
16+
.arm
1617

1718
ENTRY(secondary_trampoline)
1819
/* CPU1 will always fetch from 0x0 when it is brought out of reset.

arch/powerpc/include/asm/word-at-a-time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static inline unsigned long create_zero_mask(unsigned long bits)
8282
"andc %1,%1,%2\n\t"
8383
"popcntd %0,%1"
8484
: "=r" (leading_zero_bits), "=&r" (trailing_zero_bit_mask)
85-
: "r" (bits));
85+
: "b" (bits));
8686

8787
return leading_zero_bits;
8888
}

arch/powerpc/kernel/process.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -551,24 +551,6 @@ static void tm_reclaim_thread(struct thread_struct *thr,
551551
msr_diff &= MSR_FP | MSR_VEC | MSR_VSX | MSR_FE0 | MSR_FE1;
552552
}
553553

554-
/*
555-
* Use the current MSR TM suspended bit to track if we have
556-
* checkpointed state outstanding.
557-
* On signal delivery, we'd normally reclaim the checkpointed
558-
* state to obtain stack pointer (see:get_tm_stackpointer()).
559-
* This will then directly return to userspace without going
560-
* through __switch_to(). However, if the stack frame is bad,
561-
* we need to exit this thread which calls __switch_to() which
562-
* will again attempt to reclaim the already saved tm state.
563-
* Hence we need to check that we've not already reclaimed
564-
* this state.
565-
* We do this using the current MSR, rather tracking it in
566-
* some specific thread_struct bit, as it has the additional
567-
* benifit of checking for a potential TM bad thing exception.
568-
*/
569-
if (!MSR_TM_SUSPENDED(mfmsr()))
570-
return;
571-
572554
/*
573555
* Use the current MSR TM suspended bit to track if we have
574556
* checkpointed state outstanding.

arch/x86/kernel/cpu/mcheck/therm_throt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@ static void intel_thermal_interrupt(void)
385385
{
386386
__u64 msr_val;
387387

388+
if (static_cpu_has(X86_FEATURE_HWP))
389+
wrmsrl_safe(MSR_HWP_STATUS, 0);
390+
388391
rdmsrl(MSR_IA32_THERM_STATUS, msr_val);
389392

390393
/* Check for violation of core thermal thresholds*/

0 commit comments

Comments
 (0)