Skip to content

Commit 4a6e232

Browse files
committed
Merge tag 'fpga-for-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga into char-misc-next
Xu writes: FPGA Manager changes for 6.16-rc1 - Peter hands over the maintain role of m10bmc-sec driver to Matthew. - Qasim's change fix potential NULL pointer for fpga test. All patches have been reviewed on the mailing list, and have been in the last linux-next releases (as part of our for-next branch). Signed-off-by: Xu Yilun <yilun.xu@intel.com> * tag 'fpga-for-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga: fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() fpga: m10bmc-sec: change contact for secure update driver
2 parents 893579d + 6ebf198 commit 4a6e232

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Documentation/ABI/testing/sysfs-driver-intel-m10-bmc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Description: Read only. Returns the firmware version of Intel MAX10
1717
What: /sys/bus/.../drivers/intel-m10-bmc/.../mac_address
1818
Date: January 2021
1919
KernelVersion: 5.12
20-
Contact: Peter Colberg <peter.colberg@altera.com>
20+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
2121
Description: Read only. Returns the first MAC address in a block
2222
of sequential MAC addresses assigned to the board
2323
that is managed by the Intel MAX10 BMC. It is stored in
@@ -28,7 +28,7 @@ Description: Read only. Returns the first MAC address in a block
2828
What: /sys/bus/.../drivers/intel-m10-bmc/.../mac_count
2929
Date: January 2021
3030
KernelVersion: 5.12
31-
Contact: Peter Colberg <peter.colberg@altera.com>
31+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
3232
Description: Read only. Returns the number of sequential MAC
3333
addresses assigned to the board managed by the Intel
3434
MAX10 BMC. This value is stored in FLASH and is mirrored
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash
22
Date: Sep 2022
33
KernelVersion: 5.20
4-
Contact: Peter Colberg <peter.colberg@altera.com>
4+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
55
Description: Read only. Returns the root entry hash for the static
66
region if one is programmed, else it returns the
77
string: "hash not programmed". This file is only
@@ -11,7 +11,7 @@ Description: Read only. Returns the root entry hash for the static
1111
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash
1212
Date: Sep 2022
1313
KernelVersion: 5.20
14-
Contact: Peter Colberg <peter.colberg@altera.com>
14+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
1515
Description: Read only. Returns the root entry hash for the partial
1616
reconfiguration region if one is programmed, else it
1717
returns the string: "hash not programmed". This file
@@ -21,7 +21,7 @@ Description: Read only. Returns the root entry hash for the partial
2121
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash
2222
Date: Sep 2022
2323
KernelVersion: 5.20
24-
Contact: Peter Colberg <peter.colberg@altera.com>
24+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
2525
Description: Read only. Returns the root entry hash for the BMC image
2626
if one is programmed, else it returns the string:
2727
"hash not programmed". This file is only visible if the
@@ -31,31 +31,31 @@ Description: Read only. Returns the root entry hash for the BMC image
3131
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks
3232
Date: Sep 2022
3333
KernelVersion: 5.20
34-
Contact: Peter Colberg <peter.colberg@altera.com>
34+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
3535
Description: Read only. Returns a list of indices for canceled code
3636
signing keys for the static region. The standard bitmap
3737
list format is used (e.g. "1,2-6,9").
3838

3939
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks
4040
Date: Sep 2022
4141
KernelVersion: 5.20
42-
Contact: Peter Colberg <peter.colberg@altera.com>
42+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
4343
Description: Read only. Returns a list of indices for canceled code
4444
signing keys for the partial reconfiguration region. The
4545
standard bitmap list format is used (e.g. "1,2-6,9").
4646

4747
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks
4848
Date: Sep 2022
4949
KernelVersion: 5.20
50-
Contact: Peter Colberg <peter.colberg@altera.com>
50+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
5151
Description: Read only. Returns a list of indices for canceled code
5252
signing keys for the BMC. The standard bitmap list format
5353
is used (e.g. "1,2-6,9").
5454

5555
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count
5656
Date: Sep 2022
5757
KernelVersion: 5.20
58-
Contact: Peter Colberg <peter.colberg@altera.com>
58+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
5959
Description: Read only. Returns number of times the secure update
6060
staging area has been flashed.
6161
Format: "%u".

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12128,7 +12128,7 @@ F: drivers/mfd/intel-m10-bmc*
1212812128
F: include/linux/mfd/intel-m10-bmc.h
1212912129

1213012130
INTEL MAX10 BMC SECURE UPDATES
12131-
M: Peter Colberg <peter.colberg@altera.com>
12131+
M: Matthew Gerlach <matthew.gerlach@altera.com>
1213212132
L: linux-fpga@vger.kernel.org
1213312133
S: Maintained
1213412134
F: Documentation/ABI/testing/sysfs-driver-intel-m10-bmc-sec-update

drivers/fpga/tests/fpga-mgr-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ static void fpga_mgr_test_img_load_sgt(struct kunit *test)
263263
img_buf = init_test_buffer(test, IMAGE_SIZE);
264264

265265
sgt = kunit_kzalloc(test, sizeof(*sgt), GFP_KERNEL);
266+
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, sgt);
266267
ret = sg_alloc_table(sgt, 1, GFP_KERNEL);
267268
KUNIT_ASSERT_EQ(test, ret, 0);
268269
sg_init_one(sgt->sgl, img_buf, IMAGE_SIZE);

0 commit comments

Comments
 (0)