Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
c276020
PCI: mvebu: Remove ARCH_KIRKWOOD dependency
lunn Jul 10, 2014
2cb989f
PCI: tegra: Add debugfs support
thierryreding Jul 22, 2014
4dd964d
PCI: designware: Look for configuration space in 'reg', not 'ranges'
kishon Jul 17, 2014
f4c55c5
PCI: designware: Program ATU with untranslated address
kishon Jul 17, 2014
47ff3de
PCI: dra7xx: Add TI DRA7xx PCIe driver
kishon Jul 22, 2014
a1c0ae9
PCI: designware: Add config access-related pcie_host_ops for v3.65 ha…
Jul 21, 2014
2f37c5a
PCI: designware: Add MSI-related pcie_host_ops for v3.65 hardware
Jul 21, 2014
981c191
Merge branches 'pci/host-designware', 'pci/host-mvebu' and 'pci/host-…
bjorn-helgaas Jul 22, 2014
9b11eb4
ASoC: Intel: Update Baytrail ADSP firmware name
jhnikula Aug 6, 2014
dc85950
MAINTAINERS: Add i.MX maintainers and paths to Freescale ASoC entry
broonie Aug 7, 2014
e91259f
cifs: remove unused function cifs_oplock_break_wait
vstehle Jul 21, 2014
27d3f02
ASoC: Intel: Merge Baytrail ADSP suspend_noirq into suspend_late
jhnikula Aug 11, 2014
9246539
ASoC: Intel: Wait Baytrail ADSP boot at resume_early stage
jhnikula Aug 11, 2014
b80d19c
ASoC: Intel: Restore Baytrail ADSP streams only when ADSP was in reset
jhnikula Aug 11, 2014
6912831
ASoC: dapm: Fix uninitialized variable in snd_soc_dapm_get_enum_double()
geertu Aug 8, 2014
1c6d368
ASoC: pcm512x: Correct Digital Playback control names
broonie Aug 8, 2014
657d6dc
HID: huion: Fail on parameter retrieval errors
spbnick Aug 11, 2014
6498d02
HID: huion: Use allocated buffer for DMA
spbnick Aug 11, 2014
5be5db2
HID: hid-sensor-hub: use devm_ functions consistently
himangi774 Aug 2, 2014
d114e5f
ASoC: arizona: Fix TDM slot length handling in arizona_hw_params
Aug 12, 2014
8813543
ASoC: mcasp: Fix implicit BLCK divider setting
Aug 6, 2014
8ae3124
Add missing definitions for CIFS File System Attributes
smfrench Aug 12, 2014
3d1a374
Add sparse file support to SMB2/SMB3 mounts
smfrench Aug 12, 2014
769091e
ASoC: fsl-esai: Revert .xlate_tdm_slot_mask() support
Aug 8, 2014
9301503
ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE
zonque Aug 13, 2014
daebdd7
HID: rmi: print an error if F11 is not found instead of stopping the …
aduggan-syna Aug 6, 2014
29ff665
HID: logitech: Prevent possibility of infinite loop when using /sys i…
mungewell Aug 15, 2014
9c1810f
Merge tag 'asoc-v3.16-rc1' into asoc-linus
broonie Aug 15, 2014
2fa4a28
Merge tag 'asoc-v3.16-rc5' into asoc-linus
broonie Aug 15, 2014
543c675
Merge tag 'asoc-v3.17' into asoc-linus
broonie Aug 15, 2014
0a81cbe
Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
broonie Aug 15, 2014
395d33b
Merge remote-tracking branch 'asoc/fix/pcm512x' into asoc-linus
broonie Aug 15, 2014
7c063ed
Merge remote-tracking branches 'asoc/fix/arizona', 'asoc/fix/fsl', 'a…
broonie Aug 15, 2014
045065d
[SCSI] fix qemu boot hang problem
groeck Aug 10, 2014
f6105c0
[SCSI] save command pool address of Scsi_Host
jgross1 Aug 4, 2014
d43cc79
Cleanup sparse file support by creating worker function for it
smfrench Aug 13, 2014
0244080
cifs: handle lease F_UNLCK requests properly
Aug 9, 2014
754789a
[CIFS] Workaround MacOS server problem with SMB2.1 write
smfrench Aug 16, 2014
01d5500
Merge tag 'asoc-v3.17-rc1' of git://git.kernel.org/pub/scm/linux/kern…
tiwai Aug 16, 2014
f3ee07d
ALSA: hda/realtek - Avoid setting wrong COEF on ALC269 & co
tiwai Aug 15, 2014
b5f2a8c
of: Allow mem_reserve of memory with a base address of zero
alcooper Aug 6, 2014
b951f9d
Enabling OF selftest to run without machine's devicetree
gauravminochaos Jul 26, 2014
a9ecdc0
of/irq: Fix lookup to use 'interrupts-extended' property first
ffainelli Aug 6, 2014
18f39e7
[CIFS] Possible null ptr deref in SMB2_tcon
smfrench Aug 17, 2014
5275580
CIFS: Fix SMB2 readdir error handling
piastry Aug 18, 2014
b46799a
CIFS: Fix wrong directory attributes after rename
piastry Aug 18, 2014
72f79f9
ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Ho…
suman-tripathi Aug 8, 2014
b741e8d
pata_samsung_cf: change ret type to signed
arjun024 Aug 16, 2014
0e57407
ata: ahci_tegra: Change include to fix compilation
cyndis Aug 11, 2014
ad3829c
Incorrect error returned on setting file compressed on SMB2
smfrench Aug 17, 2014
31742c5
enable fallocate punch hole ("fallocate -p") for SMB3
smfrench Aug 17, 2014
3017562
[SMB3] Enable fallocate -z support for SMB3 mounts
smfrench Aug 17, 2014
a40687f
md/raid5: avoid livelock caused by non-aligned writes.
neilbrown Aug 12, 2014
9c4bdf6
md/raid6: avoid data corruption during recovery of double-degraded RAID6
neilbrown Aug 12, 2014
4dc7c76
pata_scc: propagate return value of scc_wait_after_reset
arjun024 Aug 17, 2014
703e6a6
[IA64] Wire up memfd_create() system call
aegl Aug 18, 2014
2a13772
libata: widen Crucial M550 blacklist matching
htejun Aug 18, 2014
f475371
ALSA: hda - restore the gpio led after resume
jason77-wang Aug 19, 2014
ce0b0a4
md/raid10: fix memory leak when reshaping a RAID10.
neilbrown Aug 18, 2014
b396855
md/raid10: Fix memory leak when raid10 reshape completes.
neilbrown Aug 18, 2014
e337aea
md/raid10: avoid memory leak on error path during reshape.
neilbrown Aug 18, 2014
cb8b12b
md/raid10: always initialise ->state on newly allocated r10_bio
neilbrown Aug 18, 2014
d35f64e
ALSA: hda/hdmi - set depop_delay for haswell plus
libinyang Aug 19, 2014
ca2e722
ALSA: hda/hdmi - apply Valleyview fix-ups to Cherryview display codec
libinyang Aug 19, 2014
350b8bd
kvm: iommu: fix the third parameter of kvm_iommu_put_pages (CVE-2014-…
mstsirkin Aug 19, 2014
c04fa58
PC, KVM, CMA: Fix regression caused by wrong get_order() use
aik Aug 14, 2014
3a6095a
KVM: x86: Avoid emulating instructions on #UD mistakenly
anadav Aug 13, 2014
9a4cfb2
KVM: x86: do not check CS.DPL against RPL during task switch
bonzini Aug 18, 2014
0d234da
Revert "KVM: x86: Increase the number of fixed MTRR regs to 10"
bonzini Aug 18, 2014
30d1e0e
virt/kvm/assigned-dev.c: Set 'dev->irq_source_id' to '-1' after free it
Chen-Gang Aug 8, 2014
f325f16
frv: Define cpu_relax_lowlatency()
Aug 18, 2014
7ac0bbf
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
torvalds Aug 19, 2014
f17a6f7
Merge tag 'pci-v3.17-changes-3' of git://git.kernel.org/pub/scm/linux…
torvalds Aug 19, 2014
63d871c
Merge tag 'md/3.17-fixes' of git://neil.brown.name/md
torvalds Aug 19, 2014
3660475
i2c: rework kernel config I2C_ACPI
Aug 15, 2014
39e8e30
i2c: i801: Add PCI ID for Intel Braswell
Aug 19, 2014
4560d67
MAINTAINERS: add maintainer for ACPI parts of I2C
Aug 19, 2014
85cd083
udf: avoid unneeded up_write when fail to add entry in ->symlink
chaseyu Aug 9, 2014
410dd3c
isofs: Fix unbounded recursion when processing relocated directories
jankara Aug 17, 2014
480cadc
scsi: Fix qemu boot hang problem
groeck Aug 10, 2014
e6d8fb3
ext3: Count internal journal as bsddf overhead in ext3_statfs
Aug 15, 2014
8039aab
Revert "platform/x86/toshiba-apci.c possible bad if test?"
Aug 20, 2014
be816bc
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Aug 20, 2014
e9de42d
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Aug 20, 2014
3951ad2
Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers…
torvalds Aug 20, 2014
92075f9
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Aug 20, 2014
372b1db
Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
torvalds Aug 20, 2014
b760949
microblaze: Wire-up seccomp syscall
Aug 7, 2014
5313345
microblaze: Wire-up getrandom syscall
Aug 7, 2014
83c43c4
microblaze: Wire-up memfd_create syscall
Aug 21, 2014
51217e6
HID: logitech: fix bounds checking on LED report size
Aug 21, 2014
ad3e14d
HID: logitech: perform bounds checking on device_id early enough
Aug 21, 2014
4ab2578
HID: fix a couple of off-by-ones
Aug 21, 2014
f8d08a1
Merge tag 'microblaze-3.17-rc2' of git://git.monstr.eu/linux-2.6-micr…
torvalds Aug 21, 2014
d1433d5
Merge tag 'please-pull-memfd_create' of git://git.kernel.org/pub/scm/…
torvalds Aug 21, 2014
29fdd5b
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Aug 21, 2014
e9d99a1
Merge tag 'sound-3.17-rc2' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Aug 21, 2014
cee5aa1
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Aug 21, 2014
5317821
Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Aug 21, 2014
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ Specifying interrupt information for devices
1) Interrupt client nodes
-------------------------

Nodes that describe devices which generate interrupts must contain an either an
"interrupts" property or an "interrupts-extended" property. These properties
contain a list of interrupt specifiers, one per output interrupt. The format of
the interrupt specifier is determined by the interrupt controller to which the
interrupts are routed; see section 2 below for details.
Nodes that describe devices which generate interrupts must contain an
"interrupts" property, an "interrupts-extended" property, or both. If both are
present, the latter should take precedence; the former may be provided simply
for compatibility with software that does not recognize the latter. These
properties contain a list of interrupt specifiers, one per output interrupt. The
format of the interrupt specifier is determined by the interrupt controller to
which the interrupts are routed; see section 2 below for details.

Example:
interrupt-parent = <&intc1>;
Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/pci/designware-pcie.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Required properties:
- compatible: should contain "snps,dw-pcie" to identify the core.
- reg: Should contain the configuration address space.
- reg-names: Must be "config" for the PCIe configuration space.
(The old way of getting the configuration address space from "ranges"
is deprecated and should be avoided.)
- #address-cells: set to <3>
- #size-cells: set to <2>
- device_type: set to "pci"
Expand Down
59 changes: 59 additions & 0 deletions Documentation/devicetree/bindings/pci/ti-pci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
TI PCI Controllers

PCIe Designware Controller
- compatible: Should be "ti,dra7-pcie""
- reg : Two register ranges as listed in the reg-names property
- reg-names : The first entry must be "ti-conf" for the TI specific registers
The second entry must be "rc-dbics" for the designware pcie
registers
The third entry must be "config" for the PCIe configuration space
- phys : list of PHY specifiers (used by generic PHY framework)
- phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the
number of PHYs as specified in *phys* property.
- ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>",
where <X> is the instance number of the pcie from the HW spec.
- interrupts : Two interrupt entries must be specified. The first one is for
main interrupt line and the second for MSI interrupt line.
- #address-cells,
#size-cells,
#interrupt-cells,
device_type,
ranges,
num-lanes,
interrupt-map-mask,
interrupt-map : as specified in ../designware-pcie.txt

Example:
axi {
compatible = "simple-bus";
#size-cells = <1>;
#address-cells = <1>;
ranges = <0x51000000 0x51000000 0x3000
0x0 0x20000000 0x10000000>;
pcie@51000000 {
compatible = "ti,dra7-pcie";
reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
reg-names = "rc_dbics", "ti_conf", "config";
interrupts = <0 232 0x4>, <0 233 0x4>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x81000000 0 0 0x03000 0 0x00010000
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
#interrupt-cells = <1>;
num-lanes = <1>;
ti,hwmods = "pcie1";
phys = <&pcie1_phy>;
phy-names = "pcie-phy0";
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc 1>,
<0 0 0 2 &pcie_intc 2>,
<0 0 0 3 &pcie_intc 3>,
<0 0 0 4 &pcie_intc 4>;
pcie_intc: interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
};
18 changes: 18 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3843,10 +3843,13 @@ F: drivers/tty/serial/ucc_uart.c

FREESCALE SOC SOUND DRIVERS
M: Timur Tabi <timur@tabi.org>
M: Nicolin Chen <nicoleotsuka@gmail.com>
M: Xiubo Li <Li.Xiubo@freescale.com>
L: alsa-devel@alsa-project.org (moderated for non-subscribers)
L: linuxppc-dev@lists.ozlabs.org
S: Maintained
F: sound/soc/fsl/fsl*
F: sound/soc/fsl/imx*
F: sound/soc/fsl/mpc8610_hpcd.c

FREEVXFS FILESYSTEM
Expand Down Expand Up @@ -4446,6 +4449,13 @@ F: include/linux/i2c-*.h
F: include/uapi/linux/i2c.h
F: include/uapi/linux/i2c-*.h

I2C ACPI SUPPORT
M: Mika Westerberg <mika.westerberg@linux.intel.com>
L: linux-i2c@vger.kernel.org
L: linux-acpi@vger.kernel.org
S: Maintained
F: drivers/i2c/i2c-acpi.c

I2C-TAOS-EVM DRIVER
M: Jean Delvare <jdelvare@suse.de>
L: linux-i2c@vger.kernel.org
Expand Down Expand Up @@ -6858,6 +6868,14 @@ S: Supported
F: Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
F: drivers/pci/host/pci-tegra.c

PCI DRIVER FOR TI DRA7XX
M: Kishon Vijay Abraham I <kishon@ti.com>
L: linux-omap@vger.kernel.org
L: linux-pci@vger.kernel.org
S: Supported
F: Documentation/devicetree/bindings/pci/ti-pci.txt
F: drivers/pci/host/pci-dra7xx.c

PCI DRIVER FOR RENESAS R-CAR
M: Simon Horman <horms@verge.net.au>
L: linux-pci@vger.kernel.org
Expand Down
3 changes: 2 additions & 1 deletion arch/frv/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ unsigned long get_wchan(struct task_struct *p);
#define KSTK_EIP(tsk) ((tsk)->thread.frame0->pc)
#define KSTK_ESP(tsk) ((tsk)->thread.frame0->sp)

#define cpu_relax() barrier()
#define cpu_relax() barrier()
#define cpu_relax_lowlatency() cpu_relax()

/* data cache prefetch */
#define ARCH_HAS_PREFETCH
Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



#define NR_syscalls 316 /* length of syscall table */
#define NR_syscalls 317 /* length of syscall table */

/*
* The following defines stop scripts/checksyscalls.sh from complaining about
Expand Down
1 change: 1 addition & 0 deletions arch/ia64/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,6 @@
#define __NR_sched_getattr 1337
#define __NR_renameat2 1338
#define __NR_getrandom 1339
#define __NR_memfd_create 1339

#endif /* _UAPI_ASM_IA64_UNISTD_H */
1 change: 1 addition & 0 deletions arch/ia64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1777,6 +1777,7 @@ sys_call_table:
data8 sys_sched_getattr
data8 sys_renameat2
data8 sys_getrandom
data8 sys_memfd_create // 1340

.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */
3 changes: 3 additions & 0 deletions arch/microblaze/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,8 @@
#define __NR_sched_setattr 381
#define __NR_sched_getattr 382
#define __NR_renameat2 383
#define __NR_seccomp 384
#define __NR_getrandom 385
#define __NR_memfd_create 386

#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
3 changes: 3 additions & 0 deletions arch/microblaze/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,6 @@ ENTRY(sys_call_table)
.long sys_sched_setattr
.long sys_sched_getattr
.long sys_renameat2
.long sys_seccomp
.long sys_getrandom /* 385 */
.long sys_memfd_create
6 changes: 3 additions & 3 deletions arch/powerpc/kvm/book3s_hv_builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct kvm_rma_info *kvm_alloc_rma()
ri = kmalloc(sizeof(struct kvm_rma_info), GFP_KERNEL);
if (!ri)
return NULL;
page = cma_alloc(kvm_cma, kvm_rma_pages, get_order(kvm_rma_pages));
page = cma_alloc(kvm_cma, kvm_rma_pages, order_base_2(kvm_rma_pages));
if (!page)
goto err_out;
atomic_set(&ri->use_count, 1);
Expand Down Expand Up @@ -135,12 +135,12 @@ struct page *kvm_alloc_hpt(unsigned long nr_pages)
{
unsigned long align_pages = HPT_ALIGN_PAGES;

VM_BUG_ON(get_order(nr_pages) < KVM_CMA_CHUNK_ORDER - PAGE_SHIFT);
VM_BUG_ON(order_base_2(nr_pages) < KVM_CMA_CHUNK_ORDER - PAGE_SHIFT);

/* Old CPUs require HPT aligned on a multiple of its size */
if (!cpu_has_feature(CPU_FTR_ARCH_206))
align_pages = nr_pages;
return cma_alloc(kvm_cma, nr_pages, get_order(align_pages));
return cma_alloc(kvm_cma, nr_pages, order_base_2(align_pages));
}
EXPORT_SYMBOL_GPL(kvm_alloc_hpt);

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static inline gfn_t gfn_to_index(gfn_t gfn, gfn_t base_gfn, int level)
#define KVM_REFILL_PAGES 25
#define KVM_MAX_CPUID_ENTRIES 80
#define KVM_NR_FIXED_MTRR_REGION 88
#define KVM_NR_VAR_MTRR 10
#define KVM_NR_VAR_MTRR 8

#define ASYNC_PF_PER_VCPU 64

Expand Down
11 changes: 4 additions & 7 deletions arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1491,9 +1491,6 @@ static int __load_segment_descriptor(struct x86_emulate_ctxt *ctxt,
goto exception;
break;
case VCPU_SREG_CS:
if (in_task_switch && rpl != dpl)
goto exception;

if (!(seg_desc.type & 8))
goto exception;

Expand Down Expand Up @@ -4394,8 +4391,11 @@ int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len)

ctxt->execute = opcode.u.execute;

if (unlikely(ctxt->ud) && likely(!(ctxt->d & EmulateOnUD)))
return EMULATION_FAILED;

if (unlikely(ctxt->d &
(NotImpl|EmulateOnUD|Stack|Op3264|Sse|Mmx|Intercept|CheckPerm))) {
(NotImpl|Stack|Op3264|Sse|Mmx|Intercept|CheckPerm))) {
/*
* These are copied unconditionally here, and checked unconditionally
* in x86_emulate_insn.
Expand All @@ -4406,9 +4406,6 @@ int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len)
if (ctxt->d & NotImpl)
return EMULATION_FAILED;

if (!(ctxt->d & EmulateOnUD) && ctxt->ud)
return EMULATION_FAILED;

if (mode == X86EMUL_MODE_PROT64 && (ctxt->d & Stack))
ctxt->op_bytes = 8;

Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/ahci_tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/tegra-powergate.h>
#include <linux/regulator/consumer.h>
#include <soc/tegra/pmc.h>
#include "ahci.h"

#define SATA_CONFIGURATION_0 0x180
Expand Down
4 changes: 2 additions & 2 deletions drivers/ata/ahci_xgene.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ static struct ata_port_operations xgene_ahci_ops = {
};

static const struct ata_port_info xgene_ahci_port_info = {
.flags = AHCI_FLAG_COMMON | ATA_FLAG_NCQ,
.flags = AHCI_FLAG_COMMON,
.pio_mask = ATA_PIO4,
.udma_mask = ATA_UDMA6,
.port_ops = &xgene_ahci_ops,
Expand Down Expand Up @@ -480,7 +480,7 @@ static int xgene_ahci_probe(struct platform_device *pdev)
/* Configure the host controller */
xgene_ahci_hw_init(hpriv);

hpriv->flags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ;
hpriv->flags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_NO_NCQ;

rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info);
if (rc)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4228,7 +4228,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "Micron_M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Crucial_CT???M500SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Micron_M550*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Crucial_CT???M550SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Crucial_CT*M550SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },

/*
* Some WD SATA-I drives spin up and down erratically when the link
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_samsung_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static int pata_s3c_wait_after_reset(struct ata_link *link,
/*
* pata_s3c_bus_softreset - PATA device software reset
*/
static unsigned int pata_s3c_bus_softreset(struct ata_port *ap,
static int pata_s3c_bus_softreset(struct ata_port *ap,
unsigned long deadline)
{
struct ata_ioports *ioaddr = &ap->ioaddr;
Expand Down
15 changes: 7 additions & 8 deletions drivers/ata/pata_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ static int scc_wait_after_reset(struct ata_link *link, unsigned int devmask,
* Note: Original code is ata_bus_softreset().
*/

static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
static int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
unsigned long deadline)
{
struct ata_ioports *ioaddr = &ap->ioaddr;
Expand All @@ -599,9 +599,7 @@ static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
udelay(20);
out_be32(ioaddr->ctl_addr, ap->ctl);

scc_wait_after_reset(&ap->link, devmask, deadline);

return 0;
return scc_wait_after_reset(&ap->link, devmask, deadline);
}

/**
Expand All @@ -618,7 +616,8 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,
{
struct ata_port *ap = link->ap;
unsigned int slave_possible = ap->flags & ATA_FLAG_SLAVE_POSS;
unsigned int devmask = 0, err_mask;
unsigned int devmask = 0;
int rc;
u8 err;

DPRINTK("ENTER\n");
Expand All @@ -634,9 +633,9 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,

/* issue bus reset */
DPRINTK("about to softreset, devmask=%x\n", devmask);
err_mask = scc_bus_softreset(ap, devmask, deadline);
if (err_mask) {
ata_port_err(ap, "SRST failed (err_mask=0x%x)\n", err_mask);
rc = scc_bus_softreset(ap, devmask, deadline);
if (rc) {
ata_port_err(ap, "SRST failed (err_mask=0x%x)\n", rc);
return -EIO;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/hid/hid-cherry.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
static __u8 *ch_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 17 && rdesc[11] == 0x3c && rdesc[12] == 0x02) {
if (*rsize >= 18 && rdesc[11] == 0x3c && rdesc[12] == 0x02) {
hid_info(hdev, "fixing up Cherry Cymotion report descriptor\n");
rdesc[11] = rdesc[16] = 0xff;
rdesc[12] = rdesc[17] = 0x03;
Expand Down
Loading