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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhV-H7QbhbUjSP-uDb3dwf0Pao-DDhGQrpgPr6NLLjq31NOeg@mail.gmail.com>
Date:   Wed, 16 Sep 2020 02:19:27 -0400
From:   Huacai Chen <chenhuacai@...il.com>
To:     Bjorn Helgaas <helgaas@...nel.org>
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

Hi, Bjorn,

On Tue, Sep 15, 2020 at 4:38 PM Bjorn Helgaas <helgaas@...nel.org> wrote:
>
> 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.
My first version means this one:
https://patchwork.kernel.org/patch/11695929/

Thanks,
Huacai
>
> Bjorn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ