lkml.org 
[lkml]   [2012]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Use PCI ROMs from EFI boot services
    On 12/05/2012 04:18 PM, Matthew Garrett wrote:
    > On Wed, Dec 05, 2012 at 04:15:56PM -0800, Yinghai Lu wrote:
    >
    >> at the same time we should export setup_data into /sys, so kexec could
    >> append this pointer to command of
    >> second kernel, just like kexec append acpi_rsdp.
    >> That should address DavidW's concern.
    >
    > Why should the kernel export data to userspace just so that that data
    > can be passed back into the kernel?
    >

    Because it also needs to modify it. Right now kexec userspace
    synthesizes struct boot_params from scratch, and does so incorrectly to
    boot. I think we have setup_data exported via debugfs but IIRC we never
    got a strong enough use case for sysfs.

    -hpa



    \
     
     \ /
      Last update: 2012-12-06 02:01    [W:3.356 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site