Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1572725 > unrolled thread
| Started by | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| First post | 2017-02-02 21:10 +0100 |
| Last post | 2017-02-03 17:50 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-02-02 21:10 +0100
Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter Manuel Schölling <manuel.schoelling@gmx.de> - 2017-02-03 17:10 +0100
Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter Adam Borowski <kilobyte@angband.pl> - 2017-02-03 17:50 +0100
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| Date | 2017-02-02 21:10 +0100 |
| Subject | Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter |
| Message-ID | <t6vRE-aV-21@gated-at.bofh.it> |
On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling <manuel.schoelling@gmx.de> wrote: > The impact of the persistent scrollback feature on the code size is > rather small, so the config option is removed. The feature stays > disabled by default and can be enabled by using the boot command line > parameter 'vgacon.scrollback_persistent=1' or by setting > VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y. > > Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de> > Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> > --- [...] > +module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000); > +MODULE_PARM_DESC(scrollback_persistent, "Enable persistent scrollback for all vga consoles"); Since this hasn't got widespread deployment yet and only exists in Greg's tree, can we please fix the above to use setup_param or similar, since there is nothing modular about this code at all. Thanks. Paul.
[toc] | [next] | [standalone]
| From | Manuel Schölling <manuel.schoelling@gmx.de> |
|---|---|
| Date | 2017-02-03 17:10 +0100 |
| Subject | Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter |
| Message-ID | <t6OAV-3WY-9@gated-at.bofh.it> |
| In reply to | #1572725 |
Hi Paul, On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote: > On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling > <manuel.schoelling@gmx.de> wrote: > > The impact of the persistent scrollback feature on the code size is > > rather small, so the config option is removed. The feature stays > > disabled by default and can be enabled by using the boot command > > line > > parameter 'vgacon.scrollback_persistent=1' or by setting > > VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y. > > > > Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de> > > Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> > > --- > > [...] > > > +module_param_named(scrollback_persistent, scrollback_persistent, > > bool, 0000); > > +MODULE_PARM_DESC(scrollback_persistent, "Enable persistent > > scrollback for all vga consoles"); > > Since this hasn't got widespread deployment yet and only exists > in Greg's tree, can we please fix the above to use setup_param or > similar, since there is nothing modular about this code at all. Not sure what you mean here. If this is not the right may to declare it I'd be more than happy to change this. But I could not find any function/macro named setup_param [1]. It would be great if you could give me a hint what function to use here! Have a great weekend! Manuel [1] http://lxr.free-electrons.com/ident?i=setup_param
[toc] | [prev] | [next] | [standalone]
| From | Adam Borowski <kilobyte@angband.pl> |
|---|---|
| Date | 2017-02-03 17:50 +0100 |
| Subject | Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter |
| Message-ID | <t6PdD-4aP-9@gated-at.bofh.it> |
| In reply to | #1573226 |
On Fri, Feb 03, 2017 at 05:04:15PM +0100, Manuel Schölling wrote: > On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote: > > On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling > > <manuel.schoelling@gmx.de> wrote: > > > The impact of the persistent scrollback feature on the code size is > > > rather small, so the config option is removed. The feature stays > > > disabled by default and can be enabled by using the boot command > > > line > > > parameter 'vgacon.scrollback_persistent=1' or by setting > > > VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y. > > > > [...] > > > > > +module_param_named(scrollback_persistent, scrollback_persistent, > > > bool, 0000); > > > +MODULE_PARM_DESC(scrollback_persistent, "Enable persistent > > > scrollback for all vga consoles"); > > > > Since this hasn't got widespread deployment yet and only exists > > in Greg's tree, can we please fix the above to use setup_param or > > similar, since there is nothing modular about this code at all. > Not sure what you mean here. > If this is not the right may to declare it I'd be more than happy to > change this. But I could not find any function/macro named setup_param > [1]. > It would be great if you could give me a hint what function to use > here! > > [1] http://lxr.free-electrons.com/ident?i=setup_param That shows only exact matches. You want "git grep setup_param", which shows __setup_param() plus some unrelated stuff. I see only four uses in the kernel, but that's enough to see how to use it. Meow! -- Autotools hint: to do a zx-spectrum build on a pdp11 host, type: ./configure --host=zx-spectrum --build=pdp11
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web