Skip to content

Commit 0e2ce9d

Browse files
Merge tag 'nand/fixes-for-4.9-rc3' of github.com:linux-nand/linux
From Boris: """ Three simple fixes: - the first one is fixing a non-critical bug in the gpmi driver - the second one is fixing a bug in the 'automatic NAND timings selection' feature introduced in 4.9-rc1 - the last one is fixing a false positive uninitialized-var warning """ Acked-by: Marek Vasut <marex@denx.de>
2 parents 3065616 + 8ff0513 commit 0e2ce9d

291 files changed

Lines changed: 2912 additions & 1235 deletions

File tree

Some content is hidden

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

Documentation/ABI/testing/sysfs-class-cxl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,11 @@ What: /sys/class/cxl/<card>/reset
220220
Date: October 2014
221221
Contact: linuxppc-dev@lists.ozlabs.org
222222
Description: write only
223-
Writing 1 will issue a PERST to card which may cause the card
224-
to reload the FPGA depending on load_image_on_perst.
223+
Writing 1 will issue a PERST to card provided there are no
224+
contexts active on any one of the card AFUs. This may cause
225+
the card to reload the FPGA depending on load_image_on_perst.
226+
Writing -1 will do a force PERST irrespective of any active
227+
contexts on the card AFUs.
225228
Users: https://github.com/ibm-capi/libcxl
226229

227230
What: /sys/class/cxl/<card>/perst_reloads_same_image (not in a guest)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
* Aspeed BT (Block Transfer) IPMI interface
2+
3+
The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs
4+
(BaseBoard Management Controllers) and the BT interface can be used to
5+
perform in-band IPMI communication with their host.
6+
7+
Required properties:
8+
9+
- compatible : should be "aspeed,ast2400-bt-bmc"
10+
- reg: physical address and size of the registers
11+
12+
Optional properties:
13+
14+
- interrupts: interrupt generated by the BT interface. without an
15+
interrupt, the driver will operate in poll mode.
16+
17+
Example:
18+
19+
ibt@1e789140 {
20+
compatible = "aspeed,ast2400-bt-bmc";
21+
reg = <0x1e789140 0x18>;
22+
interrupts = <8>;
23+
};
File renamed without changes.

Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ aspeed,ast2500-pinctrl, aspeed,g5-pinctrl:
4343

4444
GPID0 GPID2 GPIE0 I2C10 I2C11 I2C12 I2C13 I2C14 I2C3 I2C4 I2C5 I2C6 I2C7 I2C8
4545
I2C9 MAC1LINK MDIO1 MDIO2 OSCCLK PEWAKE PWM0 PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 PWM7
46-
RGMII1 RGMII2 RMII1 RMII2 SD1 SPI1 TIMER4 TIMER5 TIMER6 TIMER7 TIMER8
46+
RGMII1 RGMII2 RMII1 RMII2 SD1 SPI1 SPI1DEBUG SPI1PASSTHRU TIMER4 TIMER5 TIMER6
47+
TIMER7 TIMER8 VGABIOSROM
48+
4749

4850
Examples:
4951

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
J-Core Programmable Interval Timer and Clocksource
2+
3+
Required properties:
4+
5+
- compatible: Must be "jcore,pit".
6+
7+
- reg: Memory region(s) for timer/clocksource registers. For SMP,
8+
there should be one region per cpu, indexed by the sequential,
9+
zero-based hardware cpu number.
10+
11+
- interrupts: An interrupt to assign for the timer. The actual pit
12+
core is integrated with the aic and allows the timer interrupt
13+
assignment to be programmed by software, but this property is
14+
required in order to reserve an interrupt number that doesn't
15+
conflict with other devices.
16+
17+
18+
Example:
19+
20+
timer@200 {
21+
compatible = "jcore,pit";
22+
reg = < 0x200 0x30 0x500 0x30 >;
23+
interrupts = < 0x48 >;
24+
};

Documentation/filesystems/proc.txt

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -395,32 +395,6 @@ is not associated with a file:
395395

396396
or if empty, the mapping is anonymous.
397397

398-
The /proc/PID/task/TID/maps is a view of the virtual memory from the viewpoint
399-
of the individual tasks of a process. In this file you will see a mapping marked
400-
as [stack] if that task sees it as a stack. Hence, for the example above, the
401-
task-level map, i.e. /proc/PID/task/TID/maps for thread 1001 will look like this:
402-
403-
08048000-08049000 r-xp 00000000 03:00 8312 /opt/test
404-
08049000-0804a000 rw-p 00001000 03:00 8312 /opt/test
405-
0804a000-0806b000 rw-p 00000000 00:00 0 [heap]
406-
a7cb1000-a7cb2000 ---p 00000000 00:00 0
407-
a7cb2000-a7eb2000 rw-p 00000000 00:00 0
408-
a7eb2000-a7eb3000 ---p 00000000 00:00 0
409-
a7eb3000-a7ed5000 rw-p 00000000 00:00 0 [stack]
410-
a7ed5000-a8008000 r-xp 00000000 03:00 4222 /lib/libc.so.6
411-
a8008000-a800a000 r--p 00133000 03:00 4222 /lib/libc.so.6
412-
a800a000-a800b000 rw-p 00135000 03:00 4222 /lib/libc.so.6
413-
a800b000-a800e000 rw-p 00000000 00:00 0
414-
a800e000-a8022000 r-xp 00000000 03:00 14462 /lib/libpthread.so.0
415-
a8022000-a8023000 r--p 00013000 03:00 14462 /lib/libpthread.so.0
416-
a8023000-a8024000 rw-p 00014000 03:00 14462 /lib/libpthread.so.0
417-
a8024000-a8027000 rw-p 00000000 00:00 0
418-
a8027000-a8043000 r-xp 00000000 03:00 8317 /lib/ld-linux.so.2
419-
a8043000-a8044000 r--p 0001b000 03:00 8317 /lib/ld-linux.so.2
420-
a8044000-a8045000 rw-p 0001c000 03:00 8317 /lib/ld-linux.so.2
421-
aff35000-aff4a000 rw-p 00000000 00:00 0
422-
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
423-
424398
The /proc/PID/smaps is an extension based on maps, showing the memory
425399
consumption for each of the process's mappings. For each of mappings there
426400
is a series of lines such as the following:

MAINTAINERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4620,8 +4620,9 @@ F: sound/usb/misc/ua101.c
46204620

46214621
EXTENSIBLE FIRMWARE INTERFACE (EFI)
46224622
M: Matt Fleming <matt@codeblueprint.co.uk>
4623+
M: Ard Biesheuvel <ard.biesheuvel@linaro.org>
46234624
L: linux-efi@vger.kernel.org
4624-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git
4625+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git
46254626
S: Maintained
46264627
F: Documentation/efi-stub.txt
46274628
F: arch/ia64/kernel/efi.c
@@ -8216,7 +8217,7 @@ F: include/linux/mfd/
82168217
MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND SDIO SUBSYSTEM
82178218
M: Ulf Hansson <ulf.hansson@linaro.org>
82188219
L: linux-mmc@vger.kernel.org
8219-
T: git git://git.linaro.org/people/ulf.hansson/mmc.git
8220+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
82208221
S: Maintained
82218222
F: Documentation/devicetree/bindings/mmc/
82228223
F: drivers/mmc/
@@ -9303,7 +9304,7 @@ S: Maintained
93039304
F: drivers/pci/host/*designware*
93049305

93059306
PCI DRIVER FOR SYNOPSYS PROTOTYPING DEVICE
9306-
M: Joao Pinto <jpinto@synopsys.com>
9307+
M: Jose Abreu <Jose.Abreu@synopsys.com>
93079308
L: linux-pci@vger.kernel.org
93089309
S: Maintained
93099310
F: Documentation/devicetree/bindings/pci/designware-pcie.txt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 9
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc1
4+
EXTRAVERSION = -rc2
55
NAME = Psychotic Stoned Sheep
66

77
# *DOCUMENTATION*

arch/alpha/kernel/ptrace.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,16 @@ put_reg(struct task_struct *task, unsigned long regno, unsigned long data)
157157
static inline int
158158
read_int(struct task_struct *task, unsigned long addr, int * data)
159159
{
160-
int copied = access_process_vm(task, addr, data, sizeof(int), 0);
160+
int copied = access_process_vm(task, addr, data, sizeof(int),
161+
FOLL_FORCE);
161162
return (copied == sizeof(int)) ? 0 : -EIO;
162163
}
163164

164165
static inline int
165166
write_int(struct task_struct *task, unsigned long addr, int data)
166167
{
167-
int copied = access_process_vm(task, addr, &data, sizeof(int), 1);
168+
int copied = access_process_vm(task, addr, &data, sizeof(int),
169+
FOLL_FORCE | FOLL_WRITE);
168170
return (copied == sizeof(int)) ? 0 : -EIO;
169171
}
170172

@@ -281,7 +283,8 @@ long arch_ptrace(struct task_struct *child, long request,
281283
/* When I and D space are separate, these will need to be fixed. */
282284
case PTRACE_PEEKTEXT: /* read word at location addr. */
283285
case PTRACE_PEEKDATA:
284-
copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0);
286+
copied = access_process_vm(child, addr, &tmp, sizeof(tmp),
287+
FOLL_FORCE);
285288
ret = -EIO;
286289
if (copied != sizeof(tmp))
287290
break;

arch/arm/kvm/arm.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,13 @@ static int init_hyp_mode(void)
13121312
goto out_err;
13131313
}
13141314

1315+
err = create_hyp_mappings(kvm_ksym_ref(__bss_start),
1316+
kvm_ksym_ref(__bss_stop), PAGE_HYP_RO);
1317+
if (err) {
1318+
kvm_err("Cannot map bss section\n");
1319+
goto out_err;
1320+
}
1321+
13151322
/*
13161323
* Map the Hyp stack pages
13171324
*/

0 commit comments

Comments
 (0)