US 11,669,477 B2
Method and apparatus for supporting TCM communication by BIOS of ARM server, device, and medium
Xiuqiang Sun, Jiangsu (CN)
Assigned to INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 17/909,498
Filed by INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Sep. 28, 2020, PCT No. PCT/CN2020/118370
§ 371(c)(1), (2) Date Sep. 6, 2022,
PCT Pub. No. WO2021/174826, PCT Pub. Date Sep. 10, 2021.
Claims priority of application No. 202010148301.4 (CN), filed on Mar. 5, 2020.
Prior Publication US 2023/0124740 A1, Apr. 20, 2023
Int. Cl. G06F 13/40 (2006.01); G06F 5/06 (2006.01); G06F 13/16 (2006.01)
CPC G06F 13/4009 (2013.01) [G06F 5/06 (2013.01); G06F 13/1684 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for supporting Trusted Cryptography Module (TCM) communication by a Basic Input Output System (BIOS) of an Advanced Reduced Instruction Set Computer (RISC) Machine (ARM) server, comprising:
setting an access mode of a Low Pin Count (LPC) bus device to a 4-byte alignment read-write mode by means of a BIOS of an ARM server;
causing the BIOS to perform data communication with a TCM chip of the LPC bus device in the 4-byte alignment read-write mode;
in response to the BIOS reading a register by means of the LPC bus device, determining a type of the register;
in response to determining that the type of the register is a specific First Input First Output (FIFO) register, changing a control register of the LPC bus device from the 4-byte alignment read-write mode to a single-byte alignment read-write mode, and performing single-byte read-write on the specific FIFO register; and
in response to completion of read-write of the specific FIFO register, changing the control register of the LPC bus device to the 4-byte alignment read-write mode by means of the BIOS, and performing a read-write operation on other FIFO registers.