Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with Linus #25

Merged
merged 83 commits into from
Jan 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
8c38d28
clocksource: exynos_mct: Fix bitmask regression for exynos4_mct_write
tobiasjakobi Oct 22, 2014
ff4bcc8
clocksource: kona: fix __iomem annotation
olofj Dec 8, 2014
f2a5473
clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast
Dec 16, 2014
596c405
irqchip: mtk-sysirq: Use IS_ERR() instead of NULL pointer check
yingjoe Dec 10, 2014
03d3d45
irqchip: hip04: Initialize hip04_cpu_map to 0xffff
datawolf Dec 11, 2014
96555c4
irqchip: gic-v3-its: Fix use of max with decimal constant
wildea01 Dec 17, 2014
4b149e4
irqchip: omap-intc: Fix legacy DMA regression
Jan 6, 2015
91d1179
irqchip: atmel-aic-common: Prevent clobbering of priority when changi…
Jan 7, 2015
6ada1fc
time: settimeofday: Validate the values of tv from user
sashalevin Dec 4, 2014
5e5aeb4
time: adjtimex: Validate the ADJ_FREQUENCY values
sashalevin Dec 4, 2014
2f5eaf6
Merge tag 'irqchip-urgent-3.19' of git://git.infradead.org/users/jcoo…
KAGA-KOKO Jan 12, 2015
8c60673
arm: boot: dts: dra7: enable dwc3 suspend PHY quirk
Jan 15, 2015
6222d17
NVMe: cq_vector should be signed
axboe Jan 15, 2015
1fbbc3f
ARM: shmobile: r8a7778: Instantiate GIC from C board code in legacy b…
Jan 16, 2015
f469cde
ARM: shmobile: r8a7779: Instantiate GIC from C board code in legacy b…
Jan 16, 2015
0fb22a8
ARM: OMAP: Work around hardcoded interrupts
Jan 17, 2015
8f1e8ee
ARM: mvebu: completely disable hardware I/O coherency
tpetazzoni Jan 16, 2015
f2c3c67
Merge tag 'mvebu-fixes-3.19-3' of git://git.infradead.org/linux-mvebu…
olofj Jan 19, 2015
378ff1a
fix deadlock in cifs_ioctl_clone()
Jan 19, 2015
6cdb081
ipr: wait for aborted command responses
bjking1 Oct 30, 2014
38bdf45
bus: mvebu-mbus: fix support of MBus window 13
lunn Jan 18, 2015
07bf328
Merge tag 'omap-for-v3.19/gic-regression-v2' of git://git.kernel.org/…
olofj Jan 20, 2015
7ecd0bd
ARM: dts: imx25: Fix PWM "per" clocks
Jan 14, 2015
99531e6
scsi_debug: use atomic allocation in resp_rsup_opcodes
sashalevin Jan 17, 2015
91724c2
scsi: Avoid crashing if device uses DIX but adapter does not support it
Jan 15, 2015
fb32c76
VFS: Convert file->f_dentry->d_inode to file_inode()
dhowells Jan 13, 2015
b568b86
x86/xen: Treat SCI interrupt as normal GSI interrupt
Jan 20, 2015
9889eae
ACPI: pci: Do not clear pci_dev->irq in acpi_pci_irq_disable()
Jan 20, 2015
8abb850
x86/xen: Override ACPI IRQ management callback __acpi_unregister_gsi
Jan 20, 2015
f285f4a
x86, boot: Skip relocs when load address unchanged
kees Jan 16, 2015
4a0d310
x86, irq: Properly tag virtualization entry in /proc/interrupts
jbeulich Jan 16, 2015
9d34cfd
x86: Don't rely on VMWare emulating PAT MSR correctly
jgross1 Jan 12, 2015
32c6590
x86, hyperv: Mark the Hyper-V clocksource as being continuous
kattisrinivasan Jan 13, 2015
76d697d
blk-mq: fix hctx/ctx kobject use-after-free
Jan 20, 2015
bbd5900
watchdog: imx2_wdt: Improve power management support.
Oct 16, 2014
5fe65ce
watchdog: imx2_wdt: Disable power down counter on boot
Sep 8, 2014
7a32757
watchdog: drop owner assignment from platform_drivers
Dec 21, 2014
3cb99af
[media] tlg2300: Fix media dependencies
mchehab Dec 23, 2014
721f322
[media] cx23885: Split Hauppauge WinTV Starburst from HVR4400 card entry
zzam Dec 22, 2014
d0bb12c
[media] Fix Mygica T230 support
u1f35c Jan 2, 2015
7d96c3e
[media] soc-camera: fix device capabilities in multiple camera host d…
lyakh Jan 18, 2015
42d74e4
[media] rcar_vin: Update device_caps and capabilities in querycap
Jan 14, 2015
6cf11ee
[media] vb2: fix vb2_thread_stop race conditions
Jan 19, 2015
42639f6
[media] pvrusb2: fix missing device_caps in querycap
Jan 19, 2015
8d4d932
[media] cx23885: fix free interrupt bug
Jan 19, 2015
2c0108e
[media] omap3isp: Correctly set QUERYCAP capabilities
Jan 1, 2015
604beee
Merge tag 'renesas-soc-fixes2-for-v3.19' of git://git.kernel.org/pub/…
olofj Jan 22, 2015
5fbaba8
Merge branch 'fortglx/3.19-stable/time' of https://git.linaro.org/peo…
KAGA-KOKO Jan 22, 2015
6d310df
scsi_debug: test always evaluates to false, || should be used instead
Jan 22, 2015
2a5a69d
MAINTAINERS: Remove self as isci maintainer
davejiang Jan 21, 2015
44b4dad
MAINTAINERS: ibmvfc driver maintainer change
Jan 13, 2015
bcbde52
MAINTAINERS: ibmvscsi driver maintainer change
Jan 13, 2015
814564a
x86, mpx: Explicitly disable 32-bit MPX support on 64-bit kernels
hansendc Jan 8, 2015
c922228
x86, mpx: Fix potential performance issue on unmaps
hansendc Jan 8, 2015
e9d1b4f
x86, mpx: Strictly enforce empty prctl() args
hansendc Jan 8, 2015
e30ab18
x86, tls, ldt: Stop checking lm in LDT_empty
amluto Jan 22, 2015
3669ef9
x86, tls: Interpret an all-zero struct user_desc as "no segment"
amluto Jan 22, 2015
31bb772
x86, mm: Change cachemode exports to non-gpl
jgross1 Jan 22, 2015
38a1dfd
x86/apic: Re-enable PCI_MSI support for non-SMP X86_32
0xB0D Jan 22, 2015
5204521
x86/tsc: Change Fast TSC calibration failed from error to info
Oxalin Dec 9, 2014
9b1cc9f
dm cache: share cache-metadata object across inactive and active DM t…
jthornber Jan 23, 2015
a59db67
dm cache: fix problematic dual use of a single migration count variable
jthornber Jan 23, 2015
5cf9206
Merge tag 'mvebu-fixes-3.19-4' of git://git.infradead.org/linux-mvebu…
olofj Jan 23, 2015
e0b2180
arm64: dts: add baud rate to Juno stdout-path
rmurphy-arm Jan 22, 2015
4b3415c
Merge tag 'imx-fixes-3.19-2' of git://git.kernel.org/pub/scm/linux/ke…
olofj Jan 23, 2015
ada0728
hwmon: (i5500_temp) New driver for the Intel 5500/5520/X58 chipsets
jdelvare Jan 24, 2015
b8d48ce
hwmon: (i5500_temp) Convert to devm_hwmon_device_register_with_groups
jdelvare Jan 24, 2015
e3d9820
hwmon: (i5500_temp) Don't bind to disabled sensors
jdelvare Jan 24, 2015
aef64d0
hwmon: (i5500_temp) Convert to module_pci_driver
AxelLin Jan 24, 2015
86c725e
hwmon: (i5500_temp) Convert to use ATTRIBUTE_GROUPS macro
AxelLin Jan 24, 2015
96b26c8
dm: fix handling of multiple internal suspends
Jan 8, 2015
af469b3
Merge tag 'media/v3.19-4' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jan 24, 2015
0012125
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/…
torvalds Jan 24, 2015
f828d5e
Merge git://www.linux-watchdog.org/linux-watchdog
torvalds Jan 24, 2015
440e996
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Jan 24, 2015
8e908e9
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Jan 26, 2015
bfc835b
Merge tag 'dm-3.19-fixes-2' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jan 26, 2015
80a7555
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 26, 2015
71a59b1
Merge tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jan 26, 2015
b73f0c8
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/sc…
torvalds Jan 26, 2015
4d2f0ef
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 26, 2015
1474630
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 26, 2015
26bc420
Linux 3.19-rc6
torvalds Jan 26, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4750,14 +4750,14 @@ S: Supported
F: drivers/net/ethernet/ibm/ibmveth.*

IBM Power Virtual SCSI Device Drivers
M: Nathan Fontenot <nfont@linux.vnet.ibm.com>
M: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
L: linux-scsi@vger.kernel.org
S: Supported
F: drivers/scsi/ibmvscsi/ibmvscsi*
F: drivers/scsi/ibmvscsi/viosrp.h

IBM Power Virtual FC Device Drivers
M: Brian King <brking@linux.vnet.ibm.com>
M: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
L: linux-scsi@vger.kernel.org
S: Supported
F: drivers/scsi/ibmvscsi/ibmvfc*
Expand Down Expand Up @@ -4946,7 +4946,6 @@ K: \b(ABS|SYN)_MT_
INTEL C600 SERIES SAS CONTROLLER DRIVER
M: Intel SCU Linux support <intel-linux-scu@intel.com>
M: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
M: Dave Jiang <dave.jiang@intel.com>
L: linux-scsi@vger.kernel.org
T: git git://git.code.sf.net/p/intel-sas/isci
S: Supported
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 3
PATCHLEVEL = 19
SUBLEVEL = 0
EXTRAVERSION = -rc5
EXTRAVERSION = -rc6
NAME = Diseased Newt

# *DOCUMENTATION*
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/dra7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,8 @@
tx-fifo-resize;
maximum-speed = "super-speed";
dr_mode = "otg";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
};
};

Expand All @@ -1278,6 +1280,8 @@
tx-fifo-resize;
maximum-speed = "high-speed";
dr_mode = "otg";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
};
};

Expand All @@ -1299,6 +1303,8 @@
tx-fifo-resize;
maximum-speed = "high-speed";
dr_mode = "otg";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
};
};

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx25.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>;
reg = <0x53fa0000 0x4000>;
clocks = <&clks 106>, <&clks 36>;
clocks = <&clks 106>, <&clks 52>;
clock-names = "ipg", "per";
interrupts = <36>;
};
Expand All @@ -388,7 +388,7 @@
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>;
reg = <0x53fa8000 0x4000>;
clocks = <&clks 107>, <&clks 36>;
clocks = <&clks 107>, <&clks 52>;
clock-names = "ipg", "per";
interrupts = <41>;
};
Expand Down Expand Up @@ -429,7 +429,7 @@
pwm4: pwm@53fc8000 {
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
reg = <0x53fc8000 0x4000>;
clocks = <&clks 108>, <&clks 36>;
clocks = <&clks 108>, <&clks 52>;
clock-names = "ipg", "per";
interrupts = <42>;
};
Expand Down Expand Up @@ -476,7 +476,7 @@
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>;
reg = <0x53fe0000 0x4000>;
clocks = <&clks 105>, <&clks 36>;
clocks = <&clks 105>, <&clks 52>;
clock-names = "ipg", "per";
interrupts = <26>;
};
Expand Down
7 changes: 6 additions & 1 deletion arch/arm/mach-mvebu/coherency.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,14 @@ static int coherency_type(void)
return type;
}

/*
* As a precaution, we currently completely disable hardware I/O
* coherency, until enough testing is done with automatic I/O
* synchronization barriers to validate that it is a proper solution.
*/
int coherency_available(void)
{
return coherency_type() != COHERENCY_FABRIC_TYPE_NONE;
return false;
}

int __init coherency_init(void)
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ extern struct device *omap2_get_iva_device(void);
extern struct device *omap2_get_l3_device(void);
extern struct device *omap4_get_dsp_device(void);

unsigned int omap4_xlate_irq(unsigned int hwirq);
void omap_gic_of_init(void);

#ifdef CONFIG_CACHE_L2X0
Expand Down
32 changes: 32 additions & 0 deletions arch/arm/mach-omap2/omap4-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,38 @@ static int __init omap4_sar_ram_init(void)
}
omap_early_initcall(omap4_sar_ram_init);

static struct of_device_id gic_match[] = {
{ .compatible = "arm,cortex-a9-gic", },
{ .compatible = "arm,cortex-a15-gic", },
{ },
};

static struct device_node *gic_node;

unsigned int omap4_xlate_irq(unsigned int hwirq)
{
struct of_phandle_args irq_data;
unsigned int irq;

if (!gic_node)
gic_node = of_find_matching_node(NULL, gic_match);

if (WARN_ON(!gic_node))
return hwirq;

irq_data.np = gic_node;
irq_data.args_count = 3;
irq_data.args[0] = 0;
irq_data.args[1] = hwirq - OMAP44XX_IRQ_GIC_START;
irq_data.args[2] = IRQ_TYPE_LEVEL_HIGH;

irq = irq_create_of_mapping(&irq_data);
if (WARN_ON(!irq))
irq = hwirq;

return irq;
}

void __init omap_gic_of_init(void)
{
struct device_node *np;
Expand Down
10 changes: 8 additions & 2 deletions arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -3534,9 +3534,15 @@ int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res)

mpu_irqs_cnt = _count_mpu_irqs(oh);
for (i = 0; i < mpu_irqs_cnt; i++) {
unsigned int irq;

if (oh->xlate_irq)
irq = oh->xlate_irq((oh->mpu_irqs + i)->irq);
else
irq = (oh->mpu_irqs + i)->irq;
(res + r)->name = (oh->mpu_irqs + i)->name;
(res + r)->start = (oh->mpu_irqs + i)->irq;
(res + r)->end = (oh->mpu_irqs + i)->irq;
(res + r)->start = irq;
(res + r)->end = irq;
(res + r)->flags = IORESOURCE_IRQ;
r++;
}
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/omap_hwmod.h
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ struct omap_hwmod {
spinlock_t _lock;
struct list_head node;
struct omap_hwmod_ocp_if *_mpu_port;
unsigned int (*xlate_irq)(unsigned int);
u16 flags;
u8 mpu_rt_idx;
u8 response_lat;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/mach-omap2/omap_hwmod_44xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ static struct omap_hwmod omap44xx_dma_system_hwmod = {
.class = &omap44xx_dma_hwmod_class,
.clkdm_name = "l3_dma_clkdm",
.mpu_irqs = omap44xx_dma_system_irqs,
.xlate_irq = omap4_xlate_irq,
.main_clk = "l3_div_ck",
.prcm = {
.omap4 = {
Expand Down Expand Up @@ -640,6 +641,7 @@ static struct omap_hwmod omap44xx_dss_dispc_hwmod = {
.class = &omap44xx_dispc_hwmod_class,
.clkdm_name = "l3_dss_clkdm",
.mpu_irqs = omap44xx_dss_dispc_irqs,
.xlate_irq = omap4_xlate_irq,
.sdma_reqs = omap44xx_dss_dispc_sdma_reqs,
.main_clk = "dss_dss_clk",
.prcm = {
Expand Down Expand Up @@ -693,6 +695,7 @@ static struct omap_hwmod omap44xx_dss_dsi1_hwmod = {
.class = &omap44xx_dsi_hwmod_class,
.clkdm_name = "l3_dss_clkdm",
.mpu_irqs = omap44xx_dss_dsi1_irqs,
.xlate_irq = omap4_xlate_irq,
.sdma_reqs = omap44xx_dss_dsi1_sdma_reqs,
.main_clk = "dss_dss_clk",
.prcm = {
Expand Down Expand Up @@ -726,6 +729,7 @@ static struct omap_hwmod omap44xx_dss_dsi2_hwmod = {
.class = &omap44xx_dsi_hwmod_class,
.clkdm_name = "l3_dss_clkdm",
.mpu_irqs = omap44xx_dss_dsi2_irqs,
.xlate_irq = omap4_xlate_irq,
.sdma_reqs = omap44xx_dss_dsi2_sdma_reqs,
.main_clk = "dss_dss_clk",
.prcm = {
Expand Down Expand Up @@ -784,6 +788,7 @@ static struct omap_hwmod omap44xx_dss_hdmi_hwmod = {
*/
.flags = HWMOD_SWSUP_SIDLE,
.mpu_irqs = omap44xx_dss_hdmi_irqs,
.xlate_irq = omap4_xlate_irq,
.sdma_reqs = omap44xx_dss_hdmi_sdma_reqs,
.main_clk = "dss_48mhz_clk",
.prcm = {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/omap_hwmod_54xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ static struct omap_hwmod omap54xx_dma_system_hwmod = {
.class = &omap54xx_dma_hwmod_class,
.clkdm_name = "dma_clkdm",
.mpu_irqs = omap54xx_dma_system_irqs,
.xlate_irq = omap4_xlate_irq,
.main_clk = "l3_iclk_div",
.prcm = {
.omap4 = {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/prcm-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ struct omap_prcm_irq_setup {
u8 nr_irqs;
const struct omap_prcm_irq *irqs;
int irq;
unsigned int (*xlate_irq)(unsigned int);
void (*read_pending_irqs)(unsigned long *events);
void (*ocp_barrier)(void);
void (*save_and_clear_irqen)(u32 *saved_mask);
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/mach-omap2/prm44xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ static struct omap_prcm_irq_setup omap4_prcm_irq_setup = {
.irqs = omap4_prcm_irqs,
.nr_irqs = ARRAY_SIZE(omap4_prcm_irqs),
.irq = 11 + OMAP44XX_IRQ_GIC_START,
.xlate_irq = omap4_xlate_irq,
.read_pending_irqs = &omap44xx_prm_read_pending_irqs,
.ocp_barrier = &omap44xx_prm_ocp_barrier,
.save_and_clear_irqen = &omap44xx_prm_save_and_clear_irqen,
Expand Down Expand Up @@ -751,8 +752,10 @@ static int omap44xx_prm_late_init(void)
}

/* Once OMAP4 DT is filled as well */
if (irq_num >= 0)
if (irq_num >= 0) {
omap4_prcm_irq_setup.irq = irq_num;
omap4_prcm_irq_setup.xlate_irq = NULL;
}
}

omap44xx_prm_enable_io_wakeup();
Expand Down
14 changes: 12 additions & 2 deletions arch/arm/mach-omap2/prm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ int omap_prcm_event_to_irq(const char *name)
*/
void omap_prcm_irq_cleanup(void)
{
unsigned int irq;
int i;

if (!prcm_irq_setup) {
Expand All @@ -211,7 +212,11 @@ void omap_prcm_irq_cleanup(void)
kfree(prcm_irq_setup->priority_mask);
prcm_irq_setup->priority_mask = NULL;

irq_set_chained_handler(prcm_irq_setup->irq, NULL);
if (prcm_irq_setup->xlate_irq)
irq = prcm_irq_setup->xlate_irq(prcm_irq_setup->irq);
else
irq = prcm_irq_setup->irq;
irq_set_chained_handler(irq, NULL);

if (prcm_irq_setup->base_irq > 0)
irq_free_descs(prcm_irq_setup->base_irq,
Expand Down Expand Up @@ -259,6 +264,7 @@ int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup)
int offset, i;
struct irq_chip_generic *gc;
struct irq_chip_type *ct;
unsigned int irq;

if (!irq_setup)
return -EINVAL;
Expand Down Expand Up @@ -298,7 +304,11 @@ int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup)
1 << (offset & 0x1f);
}

irq_set_chained_handler(irq_setup->irq, omap_prcm_irq_handler);
if (irq_setup->xlate_irq)
irq = irq_setup->xlate_irq(irq_setup->irq);
else
irq = irq_setup->irq;
irq_set_chained_handler(irq, omap_prcm_irq_handler);

irq_setup->base_irq = irq_alloc_descs(-1, 0, irq_setup->nr_regs * 32,
0);
Expand Down
7 changes: 6 additions & 1 deletion arch/arm/mach-omap2/twl-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,24 @@ void __init omap_pmic_init(int bus, u32 clkrate,
omap_register_i2c_bus(bus, clkrate, &pmic_i2c_board_info, 1);
}

#ifdef CONFIG_ARCH_OMAP4
void __init omap4_pmic_init(const char *pmic_type,
struct twl4030_platform_data *pmic_data,
struct i2c_board_info *devices, int nr_devices)
{
/* PMIC part*/
unsigned int irq;

omap_mux_init_signal("sys_nirq1", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
omap_mux_init_signal("fref_clk0_out.sys_drm_msecure", OMAP_PIN_OUTPUT);
omap_pmic_init(1, 400, pmic_type, 7 + OMAP44XX_IRQ_GIC_START, pmic_data);
irq = omap4_xlate_irq(7 + OMAP44XX_IRQ_GIC_START);
omap_pmic_init(1, 400, pmic_type, irq, pmic_data);

/* Register additional devices on i2c1 bus if needed */
if (devices)
i2c_register_board_info(1, devices, nr_devices);
}
#endif

void __init omap_pmic_late_init(void)
{
Expand Down
9 changes: 8 additions & 1 deletion arch/arm/mach-shmobile/setup-r8a7778.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,18 @@ void __init r8a7778_init_irq_extpin(int irlm)
void __init r8a7778_init_irq_dt(void)
{
void __iomem *base = ioremap_nocache(0xfe700000, 0x00100000);
#ifdef CONFIG_ARCH_SHMOBILE_LEGACY
void __iomem *gic_dist_base = ioremap_nocache(0xfe438000, 0x1000);
void __iomem *gic_cpu_base = ioremap_nocache(0xfe430000, 0x1000);
#endif

BUG_ON(!base);

#ifdef CONFIG_ARCH_SHMOBILE_LEGACY
gic_init(0, 29, gic_dist_base, gic_cpu_base);
#else
irqchip_init();

#endif
/* route all interrupts to ARM */
__raw_writel(0x73ffffff, base + INT2NTSR0);
__raw_writel(0xffffffff, base + INT2NTSR1);
Expand Down
9 changes: 8 additions & 1 deletion arch/arm/mach-shmobile/setup-r8a7779.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,10 +720,17 @@ static int r8a7779_set_wake(struct irq_data *data, unsigned int on)

void __init r8a7779_init_irq_dt(void)
{
#ifdef CONFIG_ARCH_SHMOBILE_LEGACY
void __iomem *gic_dist_base = ioremap_nocache(0xf0001000, 0x1000);
void __iomem *gic_cpu_base = ioremap_nocache(0xf0000100, 0x1000);
#endif
gic_arch_extn.irq_set_wake = r8a7779_set_wake;

#ifdef CONFIG_ARCH_SHMOBILE_LEGACY
gic_init(0, 29, gic_dist_base, gic_cpu_base);
#else
irqchip_init();

#endif
/* route all interrupts to ARM */
__raw_writel(0xffffffff, INT2NTSR0);
__raw_writel(0x3fffffff, INT2NTSR1);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/arm/juno.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
};

chosen {
stdout-path = &soc_uart0;
stdout-path = "serial0:115200n8";
};

psci {
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/arch-v32/drivers/sync_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ static ssize_t __sync_serial_read(struct file *file,
struct timespec *ts)
{
unsigned long flags;
int dev = MINOR(file->f_dentry->d_inode->i_rdev);
int dev = MINOR(file_inode(file)->i_rdev);
int avail;
struct sync_port *port;
unsigned char *start;
Expand Down
Loading