Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-12 Thread Jiri Slaby
On 11. 08. 20, 22:02, John Stultz wrote: > On Tue, Aug 11, 2020 at 10:00 AM Saravana Kannan wrote: >> >> On Mon, Aug 10, 2020 at 7:50 PM John Stultz wrote: >>> >>> When booting with heavily modularized config, the serial console >>> may not be able to load until after init when modules that >>> s

Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-11 Thread John Stultz
On Tue, Aug 11, 2020 at 10:00 AM Saravana Kannan wrote: > > On Mon, Aug 10, 2020 at 7:50 PM John Stultz wrote: > > > > When booting with heavily modularized config, the serial console > > may not be able to load until after init when modules that > > satisfy needed dependencies have time to load.

Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-11 Thread Saravana Kannan
On Mon, Aug 10, 2020 at 7:50 PM John Stultz wrote: > > When booting with heavily modularized config, the serial console > may not be able to load until after init when modules that > satisfy needed dependencies have time to load. > > Unfortunately, as qcom_geni_console_setup is marked as __init, >

Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-10 Thread Bjorn Andersson
On Mon 10 Aug 19:50 PDT 2020, John Stultz wrote: > When booting with heavily modularized config, the serial console > may not be able to load until after init when modules that > satisfy needed dependencies have time to load. > > Unfortunately, as qcom_geni_console_setup is marked as __init, > th

[RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-10 Thread John Stultz
When booting with heavily modularized config, the serial console may not be able to load until after init when modules that satisfy needed dependencies have time to load. Unfortunately, as qcom_geni_console_setup is marked as __init, the function may have been freed before we get to run it, causin