Received: by 10.223.185.116 with SMTP id b49csp1173405wrg; Fri, 23 Feb 2018 13:16:50 -0800 (PST) X-Google-Smtp-Source: AH8x224Woo9C1S5yJpeLLMKMW2FGeMq08wYO2f3vpug+ATa82g+VT3v/0fk66U+bEjWtiBZvPSV4 X-Received: by 10.99.119.5 with SMTP id s5mr2370458pgc.71.1519420610216; Fri, 23 Feb 2018 13:16:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519420610; cv=none; d=google.com; s=arc-20160816; b=LUm8Pcd1h62UqtmCCVCv287s6bx0oynHgvsL0Qq+Lktmme5WWyfG5+CIT7CSyEa7yh W/B5vi+90P33VHkDhNynh3QVgkzISI3I5rMJwgUo5vsQ+40a2r2bVPZQg4qaIONy7iI4 o9KA7xz9axc29FbKQpkhO11/al1fXKYFg+6an6jsJLt2+lknVDWWnHxo2xDzk7w4y2a4 H9rbbeeYIMoKA6jamoX9vmIOZ03c9ks5uD4FlI0DQw8vWIiuVYF+LrRjc6V+ziX3MCBu Um9mFzxEB+f4InNLn3OfHoZOrEBTqP3C1R//CF3YegNNjitAICkqp2ZnxitW83glPvyX VtWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=VAx9e3qH3/doHKe3++DB/yhVh22Fe7nIryhRJIrYYbg=; b=Yh3CrPzHaRgyps6iZ8tbYCBU7+GYI12PkssiltF+bXrsEizu7MEkxx70lQ/Vt2MM4F Hj0ePYfLXQGgPtqJLJY/pzInUAzMAQme7mkQQzIPUOxCbNvLNeKPQ/boZWqpitHhhzNq nHNZ+CXP87dP+s9zZvqmxU8tiBh69FEeXxFGW02COHfH0x9/O8gxxLx2HXZS3+UWpH53 XTPO1K8KHoedrjn0Tv5W4QvuregYrGlblBaMETL86eZ5ATJlnsZlvOdtunRlAPISoQ1g MaxHhtY2dfaNSfXaMaNUebYSdlKc2O8UsSjP9VBPIDa2kKAjrznlzXXK7hPM68GASeTa TVCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b63-v6si1140183plb.360.2018.02.23.13.16.36; Fri, 23 Feb 2018 13:16:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752024AbeBWVOP (ORCPT + 99 others); Fri, 23 Feb 2018 16:14:15 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:8757 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbeBWVOO (ORCPT ); Fri, 23 Feb 2018 16:14:14 -0500 Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id 14F5A60A43 for ; Fri, 23 Feb 2018 21:14:14 +0000 (UTC) Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 7363562; Fri, 23 Feb 2018 21:14:13 +0000 (UTC) Received: from misato.americas.hpqcorp.net (unknown [10.34.81.122]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 1C97A4C; Fri, 23 Feb 2018 21:14:13 +0000 (UTC) From: Toshi Kani To: dan.j.williams@intel.com Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] update label size handlings per UEFI 2.7 Date: Fri, 23 Feb 2018 14:59:20 -0700 Message-Id: <20180223215922.25415-1-toshi.kani@hpe.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset updates label storage size check and index block size calculation according to UEFI 2.7 spec. --- Toshi Kani (2): 1/2 libnvdimm, label: change min label storage size per UEFI 2.7 2/2 libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7 --- drivers/nvdimm/label.c | 34 ++++++++++++++++++++++++---------- drivers/nvdimm/label.h | 2 +- 2 files changed, 25 insertions(+), 11 deletions(-)