Repository navigation
Conversation
|
Upstream branch: 0fcb05b |
e6ca2c1 to
3d027d5
Compare
|
Upstream branch: 58161ea |
e7f4625 to
9e92e27
Compare
3d027d5 to
90ea7e4
Compare
|
Upstream branch: c03c1a1 |
9e92e27 to
73e2af3
Compare
90ea7e4 to
435b194
Compare
|
Upstream branch: 7be4bc5 |
1 similar comment
|
Upstream branch: 7be4bc5 |
73e2af3 to
3a4fc06
Compare
435b194 to
fd67522
Compare
|
Upstream branch: 17bb0e2 |
3a4fc06 to
24909ae
Compare
fd67522 to
3b53a63
Compare
|
Upstream branch: 21a7f44 |
24909ae to
0c03412
Compare
3b53a63 to
5d84576
Compare
|
Upstream branch: 6b4b543 |
0c03412 to
58a1b8d
Compare
5d84576 to
6582ed2
Compare
|
Upstream branch: fb2c3f4 |
58a1b8d to
dae0805
Compare
6582ed2 to
b3a1abc
Compare
|
Upstream branch: d135ab4 |
dae0805 to
f1b3f73
Compare
|
Upstream branch: d89e1d1 |
a186880 to
46206a3
Compare
|
Upstream branch: 6628e7d |
638c11a to
821a3b0
Compare
|
Upstream branch: 6628e7d |
821a3b0 to
0855ffb
Compare
46206a3 to
220bd96
Compare
|
Upstream branch: 05441d6 |
0855ffb to
e9a01bf
Compare
220bd96 to
6c4625e
Compare
|
Upstream branch: f66469d |
e9a01bf to
751510a
Compare
|
Upstream branch: f66469d |
751510a to
e3cee97
Compare
6c4625e to
c7f678d
Compare
|
Upstream branch: d487237 |
e3cee97 to
f642bdf
Compare
c7f678d to
6aa6cd1
Compare
The OF partition parser reads offset, size and label from each "fixed-partitions" child node but does not associate that node with the resulting partition block device. As a result a partition has no of_node, unlike the whole-disk device which gets its firmware node via add_disk_fwnode(). Carry the partition's device tree node through the parser and attach it to the partition's block device with device_set_node(), mirroring the whole-disk case. This lets consumers describe per-partition properties in the device tree (for example an NVMEM layout on a partition node) and look them up through the partition device. No functional change for existing users, partitions without a matching device tree node simply get a NULL fwnode. Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> Reviewed-by: Ulf Hansson <ulfh@kernel.org>
On embedded devices using an eMMC it is common that one or more partitions on the eMMC are used to store MAC addresses and Wi-Fi calibration EEPROM data. Allow referencing the partition in device tree for the kernel and Wi-Fi drivers accessing it via the NVMEM layer. NVMEM is registered for a block device whose OF node describes an NVMEM layout, either via an "nvmem-layout" child or by being a "fixed-layout" node itself (e.g. an eMMC boot partition associated through its mmc-card node). The NVMEM device is a read-only side channel onto a block device. Each read opens the block device with BLK_OPEN_EXCL to keep other exclusive openers away for the duration of the access. Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
Upstream branch: b3dfbde |
f642bdf to
81c0dad
Compare
Pull request for series with
subject: Support for block device NVMEM providers
version: 11
url: https://patchwork.kernel.org/series/1186539/