From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6165FC433DF for ; Tue, 26 May 2020 20:43:01 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2512D208C3 for ; Tue, 26 May 2020 20:43:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="Mmipay1v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2512D208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7C3E712233836; Tue, 26 May 2020 13:38:54 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::642; helo=mail-ej1-x642.google.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 07C4B12233833 for ; Tue, 26 May 2020 13:38:51 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id h21so25305895ejq.5 for ; Tue, 26 May 2020 13:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z0+qB9PAs/0dIVTxt6TWQveY0BQoV0IqGxgJ1RJtPJ8=; b=Mmipay1v52TsRSAxngafTq/GIafI4i5MGesqoQtqIdctmq2XigRTUluiaR0xV89H8W yFzbwIKrBLUxF4eDbHG0as3sOfpOM83xGs601y887zEJjHAiHDF7VT6KQkB4JHQjB+na TnG/+HHbvltKPGgCYphiAK/76TjA7NPgX/90rpvU+U/H03TfX3bVQeczDzuRzvsb3Urj g9+bv6Z2MMCzThJPGN1avuSRTdBz98RNNdENoNfvHGiE7NT4k8XFpDXzQXR5lr0Aw2Cf OWr9AK5ECVGOcCcBmi9DJ1IEHOE9haHRMJQeACqeeazF80DGfUucWYS/YVdlDlpVhS6j aQUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z0+qB9PAs/0dIVTxt6TWQveY0BQoV0IqGxgJ1RJtPJ8=; b=rUVWPVhO5EjozGze1JfWXDvhmRGRvpqoWSvXNvjuizTkWlwA4C1A+Efy/pVmANaPO6 jLBGWO8y010ms6JmUvlWH15DweNqmzXjrtghed+Kibufgk+9g5RiMAAoqca14ehQkH+D lwgaGqTmepsK+z82Vg9NJ41J3hJBbkDtuX2IkiPsq040SBw3LDNl560dzUDEfSzWecVb yTJt8ApmnRpmPyz7PmluixD6dc+th3MQBxGl5pAk8Rldt2nvYZh4iDH4WycnYRwecvLy cRjiYHYrD4nf/lZhQM2sf3le7gZbxsm/srqd5QAv6rxquOhBBFSYqYdaZTw3A7eEYJLW EeHA== X-Gm-Message-State: AOAM5327CdWLlkHABGpCkQxoJfOtBjrF+k/XIrgMgOY3gT2LROzDQXR/ fIx4hZ8eds9iPTMdqgcS4bXAuo6NBzam1JGTjR86KA== X-Google-Smtp-Source: ABdhPJyjICkIAYJoUWeh5IAj7h4qSUa1lPDgHsaGCVWa7SWsoVWAuaVyTS5T07gQoCLsNSWBDtrrXAQew17WRC/6Zf4= X-Received: by 2002:a17:906:3597:: with SMTP id o23mr2695842ejb.174.1590525775277; Tue, 26 May 2020 13:42:55 -0700 (PDT) MIME-Version: 1.0 References: <159010426294.1062454.8853083370975871627.stgit@dwillia2-desk3.amr.corp.intel.com> <20200522115800.GA1451824@kroah.com> <20200522120009.GA1456052@kroah.com> In-Reply-To: <20200522120009.GA1456052@kroah.com> From: Dan Williams Date: Tue, 26 May 2020 13:42:44 -0700 Message-ID: Subject: Re: [5.4-stable PATCH 0/7] libnvdimm: Cross-arch compatible namespace alignment To: Greg KH Message-ID-Hash: E2X3GLQREZA5EKXMN6D5YLJQFQ7MB5Q7 X-Message-ID-Hash: E2X3GLQREZA5EKXMN6D5YLJQFQ7MB5Q7 X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: stable , Benjamin Herrenschmidt , Michael Ellerman , Paul Mackerras , Christoph Hellwig , "Aneesh Kumar K.V" , linux-nvdimm X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, May 22, 2020 at 5:00 AM Greg KH wrote: > > On Fri, May 22, 2020 at 01:58:00PM +0200, Greg KH wrote: > > On Thu, May 21, 2020 at 04:37:43PM -0700, Dan Williams wrote: > > > Hello stable team, > > > > > > These patches have been shipping in mainline since v5.7-rc1 with no > > > reported issues. They address long standing problems in libnvdimm's > > > handling of namespace provisioning relative to alignment constraints > > > including crashes trying to even load the driver on some PowerPC > > > configurations. > > > > > > I did fold one build fix [1] into "libnvdimm/region: Introduce an 'align' > > > attribute" so as to not convey the bisection breakage to -stable. > > > > > > Please consider them for v5.4-stable. They do pass the latest > > > version of the ndctl unit tests. > > > > What about 5.6.y? Any user upgrading from 5.4-stable to 5.6-stable > > would hit a regression, right? > > > > So can we get a series backported to 5.6.y as well? I need that before > > I can take this series. Yes, should be the exact same set, but I will run the regression suite to be sure. > Also, I really don't see the "bug" that this is fixing here. If this > didn't work on PowerPC before, it can continue to just "not work" until > 5.7, right? There's a mix of "never worked" and "used to work" in this set. The PowerPC case is indeed a "never worked", but I highlighted it as it was the simplest to understand. > What problems with 5.4.y and 5.6.y is this series fixing > that used to work before? The "used to work" bug fixed by this set is the fact that the kernel used to force a 128MB (memory hotplug section size) alignment padding on all persistent memory namespaces to enable DAX operation. The support for sub-sections (2MB) dropped forced alignment padding, but unfortunately introduced a regression for the case of trying to create multiple unaligned namespaces. When that bug triggers namespace creation for the region is disabled, iirc, previously that lockout scenario was prevented. Jeff, can you corroborate this? I otherwise agree, if the above never worked then this can all wait for v5.7 upgrades. _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org