Skip to content
  • Feng Tang's avatar
    x86/earlyprintk: Add a force option for pciserial device · d2266bbf
    Feng Tang authored
    
    
    The "pciserial" earlyprintk variant helps much on many modern x86
    platforms, but unfortunately there are still some platforms with PCI
    UART devices which have the wrong PCI class code. In that case, the
    current class code check does not allow for them to be used for logging.
    
    Add a sub-option "force" which overrides the class code check and thus
    the use of such device can be enforced.
    
     [ bp: massage formulations. ]
    
    Suggested-by: default avatarBorislav Petkov <bp@alien8.de>
    Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: "Stuart R . Anderson" <stuart.r.anderson@intel.com>
    Cc: Bjorn Helgaas <bhelgaas@google.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Feng Tang <feng.tang@intel.com>
    Cc: Frederic Weisbecker <frederic@kernel.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: H Peter Anvin <hpa@linux.intel.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
    Cc: Kate Stewart <kstewart@linuxfoundation.org>
    Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Philippe Ombredanne <pombredanne@nexb.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Thymo van Beers <thymovanbeers@gmail.com>
    Cc: alan@linux.intel.com
    Cc: linux-doc@vger.kernel.org
    Link: http://lkml.kernel.org/r/20181002164921.25833-1-feng.tang@intel.com
    d2266bbf