Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1687458
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Matt Redfearn <matt.redfearn@imgtec.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section |
| Date | Fri, 14 Jul 2017 16:00:02 +0200 |
| Message-ID | <u39iq-4cF-29@gated-at.bofh.it> (permalink) |
| References | <u0cmt-35v-1@gated-at.bofh.it> <u0tnj-7hv-9@gated-at.bofh.it> <u0wlc-P2-11@gated-at.bofh.it> <u22M1-2jf-13@gated-at.bofh.it> <u24Ea-3xP-19@gated-at.bofh.it> <u2nQt-7wc-11@gated-at.bofh.it> <u38cH-3uL-21@gated-at.bofh.it> |
| X-Original-To | Petr Mladek <pmladek@suse.com> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="windows-1252"; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Originating-IP | [10.150.130.83] |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 37 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jslaby@suse.com>, <linux-serial@vger.kernel.org>, Steven Rostedt <rostedt@goodmis.org>, <linux-kernel@vger.kernel.org> |
| X-Original-Date | Fri, 14 Jul 2017 14:58:08 +0100 |
| X-Original-Message-ID | <73a13c55-367f-12c2-94c1-5e0101e74068@imgtec.com> |
| X-Original-References | <1499337481-19397-1-git-send-email-matt.redfearn@imgtec.com> <20170707044537.GB7478@jagdpanzerIV.localdomain> <0212d098-e307-2ea1-cb41-1e81d545da56@imgtec.com> <20170711124308.GA3393@pathway.suse.cz> <86ff1193-8485-4b14-492f-627720c1d868@imgtec.com> <20170712111117.GD3393@pathway.suse.cz> <20170714124026.GA32632@pathway.suse.cz> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1687458 |
Show key headers only | View raw
On 14/07/17 13:40, Petr Mladek wrote: > On Wed 2017-07-12 13:11:17, Petr Mladek wrote: >> On Tue 2017-07-11 15:41:50, Matt Redfearn wrote: >>> On 11/07/17 13:43, Petr Mladek wrote: >>>> IMHO, the reasonable solution is to move early console code and data >>>> out of the init sections. We should do this for the early consoles >>>> where the corresponding real console is registered using a deferred >>>> probe. Others should be already replaced by the real console when >>>> printk_late_init() is called. At least this is how I understand it. >>> This seems like the most reasonable way forward to me as well, >>> though sadly will lead to some post-init kernel bloat. >>> >>> I still think, however, that this patch is a reasonable change to >>> make. >> The thing is that this patch "silently" makes the keep_bootcon >> option almost unusable. > I was wrong here. I thought that most early consoles used the init > section. It was mentioned somewhere and I looked a wrong way. > But this is not true. In fact, it seems that there are > only few of them. Most early consoles have struct console > and the write() callback in the normal section that is preserved. > > Matt's patch and the keep_bootcon option makes sense to me > after all. Let me to resend Matt's patch with some small > improvements and one more patch that improves the check > of early consoles that use init section. I'll keep Matt > as the author of the first patch. Thanks for looking into this and your fix Petr! Matt > > Best Regards, > Petr >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Matt Redfearn <matt.redfearn@imgtec.com> - 2017-07-06 12:40 +0200
[PATCH 2/2] serial: earlycon: Make early_con as __initdata Matt Redfearn <matt.redfearn@imgtec.com> - 2017-07-06 12:40 +0200
Re: [PATCH 2/2] serial: earlycon: Make early_con as __initdata Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-07-07 06:50 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-07-07 06:50 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Matt Redfearn <matt.redfearn@imgtec.com> - 2017-07-07 10:00 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Petr Mladek <pmladek@suse.com> - 2017-07-11 14:50 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Matt Redfearn <matt.redfearn@imgtec.com> - 2017-07-11 16:50 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Petr Mladek <pmladek@suse.com> - 2017-07-12 13:20 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Petr Mladek <pmladek@suse.com> - 2017-07-14 14:50 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Matt Redfearn <matt.redfearn@imgtec.com> - 2017-07-14 16:00 +0200
Re: [PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-07-15 00:00 +0200
csiph-web