lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915203831.GA1426995@bjorn-Precision-5520>
Date:   Tue, 15 Sep 2020 15:38:31 -0500
From:   Bjorn Helgaas <helgaas@...nel.org>
To:     Huacai Chen <chenhuacai@...il.com>
Cc:     Tiezhu Yang <yangtiezhu@...ngson.cn>,
        Bjorn Helgaas <bhelgaas@...gle.com>,
        linux-pci <linux-pci@...r.kernel.org>,
        linux-kernel <linux-kernel@...r.kernel.org>,
        "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        Konstantin Khlebnikov <khlebnikov@...nvz.org>,
        Khalid Aziz <khalid.aziz@...cle.com>,
        Vivek Goyal <vgoyal@...hat.com>,
        Lukas Wunner <lukas@...ner.de>,
        Oliver O'Halloran <oohall@...il.com>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        Xuefeng Li <lixuefeng@...ngson.cn>,
        zhouyanjie <zhouyanjie@...yeetech.com>, git <git@...0n.name>
Subject: Re: [RFC PATCH v3] PCI/portdrv: Only disable Bus Master on kexec
 reboot and connected PCI devices

On Tue, Sep 15, 2020 at 09:36:13AM +0800, Huacai Chen wrote:
> Hi, Tiezhu,
> 
> On Mon, Sep 14, 2020 at 7:25 PM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
> >
> > On 09/14/2020 05:46 PM, Huacai Chen wrote:
> > > Hi, Tiezhu,
> > >
> > > On Mon, Sep 14, 2020 at 5:30 PM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
> > >> On 09/14/2020 04:52 PM, Huacai Chen wrote:
> > >>> Hi, Tiezhu,
> > >>>
> > >>> How do you test kexec? kexec -e or systemctl kexec? Or both?
> > >> kexec -l vmlinux --append="root=/dev/sda2 console=ttyS0,115200"
> > >> kexec -e
> > > So you haven't tested "systemctl kexec"?
> >
> > Yes, the distro I used is Loongnix which has not kexec service now.
> > Is there any problem when use systemctl kexec? If you have more details,
> > please let me know.
> If you use systemctl kexec, the first part of kexec is the same as a
> normal reboot/poweroff. So, there is no reason that reboot/poweroff is
> bad but kexec is good.
> Then, Bjorn, what is the best solution now? It seems like my first
> version is OK (commit messages should be improved, of course).

Sorry, there are too many conversations going on for me to keep track
of what first version you're referring to.  Please include a specific
lore.kernel.org URL.

Bjorn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ