Setting BGXX_SPUX_MISC_CONTROL::RX_PACKET_DIS is not needed as
packet reception is anyway disabled by BGXX_CMRX_CONFIG::DATA_PKT_RX_EN.
Also setting RX_PACKET_DIS causes a bogus remote fault condition
which delays link detection.
Signed-off-by: Sunil Goutham <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(backported from commit 93db2cf8caa1fa69cb833175cc5d30a7d178d53b)
Signed-off-by: dann frazier <email address hidden>
fd5a5a4...
by
Aleksey Makarov <email address hidden>
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov <email address hidden>
Reviewed-by: Peter Hurley <email address hidden>
Acked-by: Russell King <email address hidden>
Tested-by: Christopher Covington <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 8b8f347d3a4859d22567f3b8e5bb4a69b1089739)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>
9d0f6eb...
by
Aleksey Makarov <email address hidden>
SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64
Earlycon should be set up as early as possible. ACPI boot tables are
mapped in arch/arm64/kernel/acpi.c:acpi_boot_table_init() that
is called from setup_arch() and that's where we parse SPCR.
So it has to be opted-in per-arch.
When ACPI_SPCR_TABLE is defined initialization of DT earlycon is
deferred until the DT/ACPI decision is done. Initialize DT earlycon
if ACPI is disabled.
Acked-by: Will Deacon <email address hidden>
Acked-by: Hanjun Guo <email address hidden>
Signed-off-by: Aleksey Makarov <email address hidden>
Tested-by: Kefeng Wang <email address hidden>
Tested-by: Christopher Covington <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 888125a712986fd0fab99d09f42b307de32d740c)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>
e736fbf...
by
Aleksey Makarov <email address hidden>
'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
Console Redirection Table) [2] as a mandatory ACPI table that
specifies the configuration of serial console.
Defer initialization of DT earlycon until ACPI/DT decision is made.
Parse the ACPI SPCR table, setup earlycon if required,
enable specified console.
Thanks to Peter Hurley for explaining how this should work.
We have multiple "earlycon" early_param handlers - merge the DT one into
the main earlycon one. It's a cleanup that also will be useful
to defer setting up DT console until ACPI/DT decision is made.
Rename the exported function to avoid clashing with the function from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm <email address hidden>
Signed-off-by: Aleksey Makarov <email address hidden>
Acked-by: Rob Herring <email address hidden>
Acked-by: Greg Kroah-Hartman <email address hidden>
Reviewed-by: Peter Hurley <email address hidden>
Tested-by: Kefeng Wang <email address hidden>
Tested-by: Christopher Covington <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit d503187b6cc4e41c21c02e695e0e7b5acdd066de)
Signed-off-by: dann frazier <email address hidden>
Acked-by: Kamal Mostafa <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>
UBUNTU: SAUCE: (no-up) include/linux/security.h -- fix syntax error with CONFIG_SECURITYFS=n
commit c2ac27f7a443 ("securityfs: update interface to allow
inode_ops, and setup from vfs") introduced a syntax error
in include/linux/security.h when CONFIG_SECURITYFS is not set.
This is exercised by the zfcpdump-kernel for s390x.
BugLink: http://bugs.launchpad.net/bugs/1630990
Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Colin King <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>
This patch changes the p8_ghash driver to use ghash-generic as a fixed
fallback implementation. This allows the correct value of descsize to be
defined directly in its shash_alg structure and avoids problems with
incorrect buffer sizes when its state is exported or imported.