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] [day] [month] [year] [list]
Message-ID: <CALCETrX=vXDZEJRtVpDZ8LO5eqgNF5-3gigKH0WYjYE0Ex_Y1g@mail.gmail.com>
Date:   Thu, 20 Apr 2017 11:56:15 -0700
From:   Andy Lutomirski <luto@...nel.org>
To:     Jens Axboe <axboe@...nel.dk>
Cc:     linux-nvme <linux-nvme@...ts.infradead.org>,
        Keith Busch <keith.busch@...el.com>,
        Kai-Heng Feng <kai.heng.feng@...onical.com>,
        Christoph Hellwig <hch@....de>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Sagi Grimberg <sagi@...mberg.me>
Subject: Re: [PATCH v2 0/2] nvme APST quirk updates, take two

On Thu, Apr 20, 2017 at 10:08 AM, Jens Axboe <axboe@...nel.dk> wrote:
> On 04/20/2017 11:06 AM, Andy Lutomirski wrote:
>>
>>
>> On Apr 20, 2017 9:38 AM, "Jens Axboe" <axboe@...nel.dk <mailto:axboe@...nel.dk>> wrote:
>>
>>     On 04/20/2017 10:30 AM, Jens Axboe wrote:
>>     > On 04/20/2017 10:29 AM, Keith Busch wrote:
>>     >> On Thu, Apr 20, 2017 at 07:15:15PM +0300, Sagi Grimberg wrote:
>>     >>>
>>     >>>>> Hi Jens-
>>     >>>>>
>>     >>>>> These are just the quirk updates, split out.  The patches are
>>     >>>>> unchanged.
>>     >>>>>
>>     >>>>> I think that, even if we want to apply a broader quirk for 4.11, we
>>     >>>>> should still apply these so that we can cleanly revert the broader
>>     >>>>> quirk later.  IOW, let's get the known regressions fixed before we
>>     >>>>> get too excited about the unknown regressions.
>>     >>>>
>>     >>>> This looks good to me, and 4.11 appropriate. I'll expedite this
>>     >>>> through the block tree, if Keith/Sagi/Christoph agrees on this
>>     >>>> being the right approach for 4.11.
>>     >>>
>>     >>> I'm perfectly fine with this going to 4.11
>>     >>
>>     >> All good with me as well.
>>     >>
>>     >> Reviewed-by: Keith Busch <keith.busch@...el.com <mailto:keith.busch@...el.com>>
>>     >
>>     > Great, I have queued it up.
>>
>>     Spoke too soon. Andy, did you compile this?
>>
>>     drivers/nvme/host/core.c: In function ‘nvme_init_identify’:
>>     drivers/nvme/host/core.c:1524:6: error: ‘force_apst’ undeclared (first use in this function)
>>       if (force_apst && (ctrl->quirks & NVME_QUIRK_NO_DEEPEST_PS)) {
>>           ^~~~~~~~~~
>>     drivers/nvme/host/core.c:1524:6: note: each undeclared identifier is reported only once for each function it appears in
>>
>>     No, you did not.
>>
>>
>> I compiled the end result but not the middle.  D'oh.  Better version coming in an hour or two.
>
> This is from the end-result. I think you compiled the previous series,
> but not the revised v2 one you sent out. Because none of those patches
> add force_apst.

I was differently dumb.  I did git rebase -i and rearranged
everything, but I did git rebase --continue before running make, so I
tested the buggy patch with the patch that added force_apst on top.

Anyway, this time I'm going to compile, boot, and play with the exact
patches I send before I send them.  (Sadly, removing the debug patch
from the series has made this type of testing harder.  Oh well.)

--Andy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ