Home
last modified time | relevance | path

Searched hist:b51bc8b0 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/soc/aspeed/
H A DMakefileb51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
H A Daspeed-sbc.cb51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
H A DKconfigb51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
b51bc8b0 Thu Mar 03 21:03:36 CST 2022 Joel Stanley <joel@jms.id.au> ARM: soc: aspeed: Add secure boot controller support

This reads out the status of the secure boot controller and exposes it
in debugfs.

An example on a AST2600A3 QEMU model:

# grep -r . /sys/kernel/debug/aspeed/*
/sys/kernel/debug/aspeed/abr_image:0
/sys/kernel/debug/aspeed/low_security_key:0
/sys/kernel/debug/aspeed/otp_protected:0
/sys/kernel/debug/aspeed/secure_boot:1
/sys/kernel/debug/aspeed/uart_boot:0

On boot the state of the system according to the secure boot controller
will be printed:

[ 0.037634] AST2600 secure boot enabled

or

[ 0.037935] AST2600 secure boot disabled

OpenBMC-Staging-Count: 1
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220304030336.1017197-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>