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

aacraid: avoid calling pci_free_consistent on NULL pointer. #221

Closed
wants to merge 141 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
71f778c
DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd
Lyude Aug 21, 2015
197765d
drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pr…
ideak Jun 30, 2015
529c564
drm/i915: Check DP link status on long hpd too
vsyrjala Aug 20, 2015
14d98e4
drm/radeon/atom: Send out the full AUX address
vsyrjala Aug 27, 2015
b11b8de
drm/amdgpu/atom: Send out the full AUX address
alexdeucher Aug 31, 2015
9aaf235
drm/radeon/native: Send out the full AUX address
alexdeucher Aug 31, 2015
c5a3c45
drm/radeon: fix HDMI quantization_range for pre-DCE5 asics
alexdeucher Aug 27, 2015
b2a1098
drm/amdgpu: fix one warning message
Aug 7, 2015
a93dd14
drm/amdgpu: Don't link train DisplayPort on HPD until we get the dpcd
alexdeucher Aug 21, 2015
0abcb8a
drm/amdgpu: fix IH ring allocation for bus addresses (v2)
alexdeucher Aug 25, 2015
5ee5204
drm/amdgpu: fix typo in dce11 watermark setup
alexdeucher Sep 3, 2015
b175955
drm/amdgpu: fix typo in dce10 watermark setup
alexdeucher Sep 3, 2015
c476464
drm/i915: Preserve SSC earlier
l1k Jul 15, 2015
9648e7a
drm/qxl: validate monitors config modes
jonner Aug 20, 2015
2c5417a
drm/i915: Allow DSI dual link to be configured on any pipe
gksingh1 Aug 3, 2015
f962a1e
drm/i915: Always mark the object as dirty when used by the GPU
ickle Aug 31, 2015
f3bfd56
drm/i915: Limit the number of loops for reading a split 64bit register
ickle Sep 8, 2015
303b47e
drm/i915: Fix CSR MMIO address check
tiwai Sep 9, 2015
eb9edaa
s390/setup: fix novx parameter
Aug 14, 2015
8acfac8
iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
Jul 29, 2015
63fa3d2
iio: event: Remove negative error code from iio_event_poll
cristina2689 Aug 3, 2015
b424b19
iio: industrialio-buffer: Fix iio_buffer_poll return value
cristina2689 Aug 3, 2015
eb01c4a
iio: adis16400: Fix adis16448 gyroscope scale
larsclausen Aug 5, 2015
0d24649
iio: Add inverse unit conversion macros
larsclausen Aug 5, 2015
84ba7a7
iio: adis16480: Fix scale factors
larsclausen Aug 5, 2015
d409b07
iio:accel:mma8452: fix _get_hp_filter_index
Aug 2, 2015
0a3b19c
sched: Fix cpu_active_mask/cpu_online_mask race
schnhrr Aug 12, 2015
ef07b80
staging: rtl8192e: Fix log spamming in rtl8192_hard_data_xmit
hallor Aug 12, 2015
27f337e
staging: comedi: adl_pci7x3x: fix digital output on PCI-7230
ian-abbott Aug 11, 2015
2721d99
staging: comedi: usbduxsigma: don't clobber ai_timer in command test
ian-abbott Jul 23, 2015
77b7b8c
staging: comedi: usbduxsigma: don't clobber ao_timer in command test
ian-abbott Jul 23, 2015
0fc9f4d
staging: unisys: Allow visorbus to autoload
davidker Jul 9, 2015
342f068
PM / clk: don't return int on __pm_clk_enable()
Jun 29, 2015
87e980e
clk: rockchip: rk3288: add CLK_SET_RATE_PARENT to sclk_mac
mmind Jun 18, 2015
36dd7ab
clk: exynos4: Fix wrong clock for Exynos4x12 ADC
krzk Jun 12, 2015
cd26539
clk: s5pv210: add missing call to samsung_clk_of_add_provider()
mszyprow Aug 12, 2015
f96b6fd
clk: pistachio: Fix 32bit integer overflows
Aug 26, 2015
ac4c4c4
clk: pistachio: Fix override of clk-pll settings from boot loader
Aug 26, 2015
73cf8ca
clk: pistachio: Fix PLL rate calculation in integer mode
Aug 26, 2015
ba45728
clk: pistachio: correct critical clock list
Aug 26, 2015
42f61b5
clk: versatile: off by one in clk_sp810_timerclken_of_get()
Jul 29, 2015
b3ca66d
clk: pxa: fix core frequency reporting unit
rjarzmik Jul 12, 2015
4020a98
clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks
bebarino Jul 14, 2015
224739b
clk: qcom: Fix MSM8916 prng clock enable bit
Aug 25, 2015
2aeb485
PCI: Fix TI816X class code quirk
bjorn-helgaas Jun 19, 2015
dbabc22
PCI: Add dev_flags bit to access VPD through function 0
mdrustad Jul 13, 2015
a0ad574
PCI: Add VPD function 0 quirk for Intel Ethernet devices
mdrustad Jul 13, 2015
a7cec7d
PCI: Disable async suspend/resume for JMicron multi-function SATA/AHCI
zhang-rui Aug 24, 2015
5a101aa
serial: 8250_uniphier: call clk_disable_unprepare() on failure path
masahir0y Jul 24, 2015
5b80ec4
tty: serial: 8250_omap: do not use RX DMA if pause is not supported
Aug 14, 2015
75572c7
spi: bcm2835: set up spi-mode before asserting cs-gpio
msperl Jul 28, 2015
c05337f
spi: Fix regression in spi-bitbang-txrx.h
larperaxis Jul 29, 2015
2e69408
spi: orion: On a38x, implement "50MHZ SPI AC timing" Erratum No. FE-9…
Aug 11, 2015
7c19755
spi: sh-msiof: Fix FIFO size to 64 word from 256 word
KojiMatsuoka Jun 14, 2015
3d6cbc3
spi: img-spfi: check for timeout error before proceeding
Jul 27, 2015
5eddcb3
spi: img-spfi: fix multiple calls to request gpio
Jul 29, 2015
321eaa8
spi: img-spfi: fix kbuild test robot warning
Aug 6, 2015
28ed737
spi: omap2-mcspi: add runtime PM to set_cs()
sre Jul 22, 2015
87da90b
spi: dw: Allow interface drivers to limit data I/O to word sizes
Aug 18, 2015
aa57159
USB: symbolserial: Use usb_get_serial_port_data
hachti Aug 17, 2015
1ba4197
USB: qcserial: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module
dpward Aug 18, 2015
1ceb049
USB: ftdi_sio: Added custom PID for CustomWare products
matthijskooijman Aug 18, 2015
3ded945
USB: pl2303: fix baud-rate divisor calculations
Jul 26, 2015
95310b7
libxfs: readahead of dir3 data blocks should use the read verifier
djwong Aug 19, 2015
74960d2
xfs: Fix xfs_attr_leafblock definition
Aug 19, 2015
2937b78
xfs: Fix file type directory corruption for btree directories
Aug 25, 2015
94d718d
xfs: return errors from partial I/O failures to files
Aug 28, 2015
8e07a31
usb: gadget: m66592-udc: forever loop in set_feature()
Jul 29, 2015
b21aa64
doc: usb: gadget-testing: using the updated testusb.c
Jul 31, 2015
56bd58d
usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 …
kishon Jul 27, 2015
c25ec85
usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth
Jul 30, 2015
e611a71
usb: host: ehci-sys: delete useless bus_to_hcd conversion
Aug 17, 2015
f803126
tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()
Aug 6, 2015
33d4ee4
ASoC: rt5640: fix line out no sound issue
JohnLinRTK Aug 11, 2015
7ae811d
ASoC: rt5645: Add struct dmi_system_id "Google Celes" for chrome plat…
oder-chiou Aug 25, 2015
867b419
ASoC: samsung: Remove redundant arndale_audio_remove
v-thakkar Aug 20, 2015
fa3b747
ASoC: adav80x: Remove .read_flag_mask setting from adav80x_regmap_config
AxelLin Aug 14, 2015
00de7f9
ASoC: arizona: Fix gain settings of FLL in free-run mode
Aug 19, 2015
d96fc0a
ASoC: arizona: Poll for FLL clock OK rather than use interrupts
charleskeepax Aug 25, 2015
832810d
serial: 8250: don't bind to SMSC IrCC IR port
maciejsszmigiero Aug 2, 2015
ec561dc
serial: 8250: bind to ALi Fast Infrared Controller (ALI5123)
maciejsszmigiero Aug 2, 2015
79084e0
serial: 8250_pci: Add support for Pericom PI7C9X795[1248]
Aug 3, 2015
69d0fc7
serial: samsung: fix DMA mode enter condition for small FIFO sizes
mszyprow Jul 31, 2015
6748f4b
serial: samsung: fix DMA for FIFO smaller than cache line size
Jul 31, 2015
30c3a5f
crypto: vmx - Fixing AES-CTR counter bug
Aug 14, 2015
859fe08
crypto: vmx - Fixing GHASH Key issue on little endian
Aug 14, 2015
b6acf9c
crypto: ghash-clmulni: specify context size for ghash async algorithm
aryabinin Sep 3, 2015
cd3d479
HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error
dzickusrh Aug 10, 2015
6fafee2
HID: cp2112: fix byte order in SMBUS operations
squeakbat Jul 10, 2015
8c5117d
HID: cp2112: fix I2C_SMBUS_BYTE write
squeakbat Jul 13, 2015
a0a9322
KVM: MMU: fix validation of mmio page fault
Aug 5, 2015
4dd33bd
KVM: PPC: Book3S HV: Exit on H_DOORBELL if HOST_IPI is set
Aug 7, 2015
1e264da
KVM: PPC: Book3S HV: Fix race in reading change bit when removing HPTE
paulusmack Jun 24, 2015
0b07d2d
xtensa: fix threadptr reload on return to userspace
jcmvbkbc Jul 4, 2015
7affef4
xtensa: fix kernel register spilling
jcmvbkbc Jul 16, 2015
7688dfe
devres: fix devres_get()
masahir0y Jul 15, 2015
55d7857
Doc: ABI: testing: configfs-usb-gadget-loopback
Jul 31, 2015
aefbf55
Doc: ABI: testing: configfs-usb-gadget-sourcesink
Jul 31, 2015
ea69640
spi/spi-xilinx: Fix spurious IRQ ACK on irq mode
ribalda Aug 13, 2015
cbe1672
spi/spi-xilinx: Fix mixed poll/irq mode
ribalda Aug 12, 2015
65f9194
auxdisplay: ks0108: fix refcount
sudipm-mukherjee Jul 20, 2015
bebd1a8
regulator: pbias: Fix broken pbias disable functionality
kishon Jul 27, 2015
f9d75f0
x86/mce: Reenable CMCI banks when swiching back to interrupt mode
Aug 12, 2015
0d9357e
soc/tegra: pmc: Avoid usage of uninitialized variable
thierryreding Jul 9, 2015
f41846b
of/address: Don't loop forever in of_find_matching_node_by_address().
daviddaney Aug 19, 2015
72b6a4c
ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_s…
sudeep-holla Jul 10, 2015
2dd53a1
ARM: orion5x: fix legacy orion5x IRQ numbers
Jul 14, 2015
3d7bb5c
ARM: dts: fix clock-frequency of display timing0 for exynos3250-rinato
Jun 15, 2015
4b0b99d
ARM: OMAP2+: DRA7: clockdomain: change l4per2_7xx_clkdm to SW_WKUP
r-vignesh Jun 3, 2015
b82505c
ARM: rockchip: fix the CPU soft reset
Caesar-github Jun 9, 2015
8306598
ARM: dts: rockchip: fix rk3288 watchdog irq
mmind Jun 19, 2015
75fa68d
ACPI, PCI: Penalize legacy IRQ used by ACPI SCI
Aug 21, 2015
2d98420
drivercore: Fix unregistration path of platform devices
glikely Jun 7, 2015
8f019cb
dm stats: report precise_timestamps and histogram in @stats_list output
Aug 18, 2015
38c7d77
dm cache: fix leaking of deferred bio prison cells
jthornber Aug 31, 2015
5bd1456
fs: Set the size of empty dirs to 0.
ebiederm Aug 12, 2015
7548d27
hpfs: update ctime and mtime on directory modification
mikulas-patocka Sep 2, 2015
95125d5
ocfs2: direct write will call ocfs2_rw_unlock() twice when doing aio+dio
Sep 4, 2015
42c7443
memory-hotplug: add hot-added memory ranges to memblock before alloca…
tang-chen Sep 4, 2015
c529120
fs: create and use seq_show_option for escaping
kees Sep 4, 2015
896b4f1
ARM: rockchip: fix broken build
Caesar-github Jul 6, 2015
f4ca8c1
Linux 4.2.1
gregkh Sep 21, 2015
359e321
powerpc: Add openpower_defconfig
jk-ozlabs Dec 12, 2014
1f3e439
net/bnx2x: Add shutdown handler
jk-ozlabs Mar 7, 2014
a853835
xhci: do not halt the secondary HCD
Mar 10, 2014
179982a
xhci: Use xhci_pci_remove for xhci device shutdown
Mar 25, 2014
bea8928
drm/ast: Default to 8bpp on big endian
ozbenh Oct 31, 2014
2d2ab23
powerpc/kexec: Reset secondary cpu endianess before kexec
sammj Jun 29, 2015
b7d553c
powerpc/kexec: Reset HILE before kexec_sequence
sammj Jul 22, 2015
6e42392
Revert "powerpc: Reject binutils 2.24 when building little endian"
shenki Sep 11, 2015
317f2be
aacraid: Fix for LD name and UID not exposed to OS
Aug 28, 2015
b39c80f
aacraid: Add Power Management support
Aug 28, 2015
d9ba7aa
aacraid: Change interrupt mode to MSI for Series 6
Aug 28, 2015
3347b9a
aacraid: Tune response path if IsFastPath bit set
Aug 28, 2015
e778c7f
aacraid: Enable 64bit write to controller register
Aug 28, 2015
892fada
aacraid: IOCTL fix
Aug 28, 2015
81d42e7
aacraid: Reset irq affinity hints
Aug 28, 2015
e27d0ec
aacraid: Use pci_enable_msix_range()
Aug 28, 2015
f11a934
aacraid: Update driver version
Aug 28, 2015
d56cf12
Fix crash in ast fbcon on boot
stewartsmith Oct 3, 2015
185b564
Release 4.2.1-openpower2
stewartsmith Oct 3, 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
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/configfs-usb-gadget-loopback
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Description:
The attributes:

qlen - depth of loopback queue
bulk_buflen - buffer length
buflen - buffer length
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/configfs-usb-gadget-sourcesink
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Description:
isoc_maxpacket - 0 - 1023 (fs), 0 - 1024 (hs/ss)
isoc_mult - 0..2 (hs/ss only)
isoc_maxburst - 0..15 (ss only)
qlen - buffer length
buflen - buffer length
4 changes: 4 additions & 0 deletions Documentation/device-mapper/statistics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ Messages

Output format:
<region_id>: <start_sector>+<length> <step> <program_id> <aux_data>
precise_timestamps histogram:n1,n2,n3,...

The strings "precise_timestamps" and "histogram" are printed only
if they were specified when creating the region.

@stats_print <region_id> [<starting_line> <number_of_lines>]

Expand Down
7 changes: 2 additions & 5 deletions Documentation/usb/gadget-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,7 @@ Testing the LOOPBACK function
-----------------------------

device: run the gadget
host: test-usb

http://www.linux-usb.org/usbtest/testusb.c
host: test-usb (tools/usb/testusb.c)

8. MASS STORAGE function
========================
Expand Down Expand Up @@ -586,9 +584,8 @@ Testing the SOURCESINK function
-------------------------------

device: run the gadget
host: test-usb
host: test-usb (tools/usb/testusb.c)

http://www.linux-usb.org/usbtest/testusb.c

16. UAC1 function
=================
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 4
PATCHLEVEL = 2
SUBLEVEL = 0
EXTRAVERSION =
SUBLEVEL = 1
EXTRAVERSION = -openpower2
NAME = Hurr durr I'ma sheep

# *DOCUMENTATION*
Expand Down
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ config ARCH_ORION5X
select MVEBU_MBUS
select PCI
select PLAT_ORION_LEGACY
select MULTI_IRQ_HANDLER
help
Support for the following Marvell Orion 5x series SoCs:
Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos3250-rinato.dts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

display-timings {
timing-0 {
clock-frequency = <0>;
clock-frequency = <4600000>;
hactive = <320>;
vactive = <320>;
hfront-porch = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/rk3288.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@
compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
reg = <0xff800000 0x100>;
clocks = <&cru PCLK_WDT>;
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm/bcm63xx_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int bcm63138_smp_boot_secondary(unsigned int cpu,
}

/* Locate the secondary CPU node */
dn = of_get_cpu_node(cpu_logical_map(cpu), NULL);
dn = of_get_cpu_node(cpu, NULL);
if (!dn) {
pr_err("SMP: failed to locate secondary CPU%d node\n", cpu);
ret = -ENODEV;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/clockdomains7xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static struct clockdomain l4per2_7xx_clkdm = {
.dep_bit = DRA7XX_L4PER2_STATDEP_SHIFT,
.wkdep_srcs = l4per2_wkup_sleep_deps,
.sleepdep_srcs = l4per2_wkup_sleep_deps,
.flags = CLKDM_CAN_HWSUP_SWSUP,
.flags = CLKDM_CAN_SWSUP,
};

static struct clockdomain mpu0_7xx_clkdm = {
Expand Down
64 changes: 32 additions & 32 deletions arch/arm/mach-orion5x/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,42 @@
/*
* Orion Main Interrupt Controller
*/
#define IRQ_ORION5X_BRIDGE 0
#define IRQ_ORION5X_DOORBELL_H2C 1
#define IRQ_ORION5X_DOORBELL_C2H 2
#define IRQ_ORION5X_UART0 3
#define IRQ_ORION5X_UART1 4
#define IRQ_ORION5X_I2C 5
#define IRQ_ORION5X_GPIO_0_7 6
#define IRQ_ORION5X_GPIO_8_15 7
#define IRQ_ORION5X_GPIO_16_23 8
#define IRQ_ORION5X_GPIO_24_31 9
#define IRQ_ORION5X_PCIE0_ERR 10
#define IRQ_ORION5X_PCIE0_INT 11
#define IRQ_ORION5X_USB1_CTRL 12
#define IRQ_ORION5X_DEV_BUS_ERR 14
#define IRQ_ORION5X_PCI_ERR 15
#define IRQ_ORION5X_USB_BR_ERR 16
#define IRQ_ORION5X_USB0_CTRL 17
#define IRQ_ORION5X_ETH_RX 18
#define IRQ_ORION5X_ETH_TX 19
#define IRQ_ORION5X_ETH_MISC 20
#define IRQ_ORION5X_ETH_SUM 21
#define IRQ_ORION5X_ETH_ERR 22
#define IRQ_ORION5X_IDMA_ERR 23
#define IRQ_ORION5X_IDMA_0 24
#define IRQ_ORION5X_IDMA_1 25
#define IRQ_ORION5X_IDMA_2 26
#define IRQ_ORION5X_IDMA_3 27
#define IRQ_ORION5X_CESA 28
#define IRQ_ORION5X_SATA 29
#define IRQ_ORION5X_XOR0 30
#define IRQ_ORION5X_XOR1 31
#define IRQ_ORION5X_BRIDGE (1 + 0)
#define IRQ_ORION5X_DOORBELL_H2C (1 + 1)
#define IRQ_ORION5X_DOORBELL_C2H (1 + 2)
#define IRQ_ORION5X_UART0 (1 + 3)
#define IRQ_ORION5X_UART1 (1 + 4)
#define IRQ_ORION5X_I2C (1 + 5)
#define IRQ_ORION5X_GPIO_0_7 (1 + 6)
#define IRQ_ORION5X_GPIO_8_15 (1 + 7)
#define IRQ_ORION5X_GPIO_16_23 (1 + 8)
#define IRQ_ORION5X_GPIO_24_31 (1 + 9)
#define IRQ_ORION5X_PCIE0_ERR (1 + 10)
#define IRQ_ORION5X_PCIE0_INT (1 + 11)
#define IRQ_ORION5X_USB1_CTRL (1 + 12)
#define IRQ_ORION5X_DEV_BUS_ERR (1 + 14)
#define IRQ_ORION5X_PCI_ERR (1 + 15)
#define IRQ_ORION5X_USB_BR_ERR (1 + 16)
#define IRQ_ORION5X_USB0_CTRL (1 + 17)
#define IRQ_ORION5X_ETH_RX (1 + 18)
#define IRQ_ORION5X_ETH_TX (1 + 19)
#define IRQ_ORION5X_ETH_MISC (1 + 20)
#define IRQ_ORION5X_ETH_SUM (1 + 21)
#define IRQ_ORION5X_ETH_ERR (1 + 22)
#define IRQ_ORION5X_IDMA_ERR (1 + 23)
#define IRQ_ORION5X_IDMA_0 (1 + 24)
#define IRQ_ORION5X_IDMA_1 (1 + 25)
#define IRQ_ORION5X_IDMA_2 (1 + 26)
#define IRQ_ORION5X_IDMA_3 (1 + 27)
#define IRQ_ORION5X_CESA (1 + 28)
#define IRQ_ORION5X_SATA (1 + 29)
#define IRQ_ORION5X_XOR0 (1 + 30)
#define IRQ_ORION5X_XOR1 (1 + 31)

/*
* Orion General Purpose Pins
*/
#define IRQ_ORION5X_GPIO_START 32
#define IRQ_ORION5X_GPIO_START 33
#define NR_GPIO_IRQS 32

#define NR_IRQS (IRQ_ORION5X_GPIO_START + NR_GPIO_IRQS)
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-orion5x/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
stat = readl_relaxed(MAIN_IRQ_CAUSE);
stat &= readl_relaxed(MAIN_IRQ_MASK);
if (stat) {
unsigned int hwirq = __fls(stat);
unsigned int hwirq = 1 + __fls(stat);
handle_IRQ(hwirq, regs);
return;
}
Expand All @@ -51,7 +51,7 @@ __exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)

void __init orion5x_init_irq(void)
{
orion_irq_init(0, MAIN_IRQ_MASK);
orion_irq_init(1, MAIN_IRQ_MASK);

#ifdef CONFIG_MULTI_IRQ_HANDLER
set_handle_irq(orion5x_legacy_handle_irq);
Expand Down
37 changes: 20 additions & 17 deletions arch/arm/mach-rockchip/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,29 +72,22 @@ static struct reset_control *rockchip_get_core_reset(int cpu)
static int pmu_set_power_domain(int pd, bool on)
{
u32 val = (on) ? 0 : BIT(pd);
struct reset_control *rstc = rockchip_get_core_reset(pd);
int ret;

if (IS_ERR(rstc) && read_cpuid_part() != ARM_CPU_PART_CORTEX_A9) {
pr_err("%s: could not get reset control for core %d\n",
__func__, pd);
return PTR_ERR(rstc);
}

/*
* We need to soft reset the cpu when we turn off the cpu power domain,
* or else the active processors might be stalled when the individual
* processor is powered down.
*/
if (read_cpuid_part() != ARM_CPU_PART_CORTEX_A9) {
struct reset_control *rstc = rockchip_get_core_reset(pd);

if (IS_ERR(rstc)) {
pr_err("%s: could not get reset control for core %d\n",
__func__, pd);
return PTR_ERR(rstc);
}

if (on)
reset_control_deassert(rstc);
else
reset_control_assert(rstc);

reset_control_put(rstc);
}
if (!IS_ERR(rstc) && !on)
reset_control_assert(rstc);

ret = regmap_update_bits(pmu, PMU_PWRDN_CON, BIT(pd), val);
if (ret < 0) {
Expand All @@ -112,6 +105,12 @@ static int pmu_set_power_domain(int pd, bool on)
}
}

if (!IS_ERR(rstc)) {
if (on)
reset_control_deassert(rstc);
reset_control_put(rstc);
}

return 0;
}

Expand Down Expand Up @@ -146,8 +145,12 @@ static int rockchip_boot_secondary(unsigned int cpu, struct task_struct *idle)
* the mailbox:
* sram_base_addr + 4: 0xdeadbeaf
* sram_base_addr + 8: start address for pc
* The cpu0 need to wait the other cpus other than cpu0 entering
* the wfe state.The wait time is affected by many aspects.
* (e.g: cpu frequency, bootrom frequency, sram frequency, ...)
* */
udelay(10);
mdelay(1); /* ensure the cpus other than cpu0 to startup */

writel(virt_to_phys(secondary_startup), sram_base_addr + 8);
writel(0xDEADBEAF, sram_base_addr + 4);
dsb_sev();
Expand Down
8 changes: 0 additions & 8 deletions arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,6 @@ checkbin:
echo 'disable kernel modules' ; \
false ; \
fi
@if test "x${CONFIG_CPU_LITTLE_ENDIAN}" = "xy" \
&& $(LD) --version | head -1 | grep ' 2\.24$$' >/dev/null ; then \
echo -n '*** binutils 2.24 miscompiles weak symbols ' ; \
echo 'in some circumstances.' ; \
echo -n '*** Please use a different binutils version.' ; \
false ; \
fi


CLEAN_FILES += $(TOUT)

Loading