From patchwork Mon Feb 1 18:13:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 12059651 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 4AD76C433DB for ; Mon, 1 Feb 2021 18:14:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 97C3C64EA0 for ; Mon, 1 Feb 2021 18:14:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97C3C64EA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E82A06B0005; Mon, 1 Feb 2021 13:14:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E332C6B0006; Mon, 1 Feb 2021 13:14:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D4B836B0072; Mon, 1 Feb 2021 13:14:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0219.hostedemail.com [216.40.44.219]) by kanga.kvack.org (Postfix) with ESMTP id BEC876B0005 for ; Mon, 1 Feb 2021 13:14:05 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 64382180AD807 for ; Mon, 1 Feb 2021 18:14:05 +0000 (UTC) X-FDA: 77770498050.22.hook96_4115e25275c4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id 3B50718038E67 for ; Mon, 1 Feb 2021 18:14:05 +0000 (UTC) X-HE-Tag: hook96_4115e25275c4 X-Filterd-Recvd-Size: 2694 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Mon, 1 Feb 2021 18:14:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612203244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=X7MQc2tuG0HbRFW24iceDXKSfp0kzdxTRNDnbwLtsb8=; b=OZxfaZ1xN5szrtJKV30i9W9K3t6P2DgEj9eNVAOHsaluA08Lr5D2fSaB7rS6LIi3XXBTk6 FHZKG1ZjlRGmWEVi55WRQhCsQ1bWDiYitVLfeKoJAUvFHa76/fyzK6i3WwQ76E4c0rB4wq js9Mf8uGotWs9z9/Aaksefty4v6dqV8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-32-O0oNX7Z1Ojuj5r5IoIX3Gg-1; Mon, 01 Feb 2021 13:14:00 -0500 X-MC-Unique: O0oNX7Z1Ojuj5r5IoIX3Gg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AEBA1107ACE4; Mon, 1 Feb 2021 18:13:53 +0000 (UTC) Received: from t480s.redhat.com (ovpn-115-24.ams2.redhat.com [10.36.115.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id D97DC74AA9; Mon, 1 Feb 2021 18:13:48 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, David Hildenbrand Subject: [PATCH v2 0/2] drivers/base/memory: clarify some memory block properties Date: Mon, 1 Feb 2021 19:13:45 +0100 Message-Id: <20210201181347.13262-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Let's update parts of our documentation for /sys/devices/system/memory/memoryX/ properties, especially stating which properties are nowadays legacy interfaces. v1 -> v2: - "drivers/base/memory: don't store phys_device in memory blocks" -> Fix compile warning, also removing start_pfn from init_memory_block() - Added Acks David Hildenbrand (2): drivers/base/memory: don't store phys_device in memory blocks Documentation: sysfs/memory: clarify some memory block device properties .../ABI/testing/sysfs-devices-memory | 58 ++++++++++++------- .../admin-guide/mm/memory-hotplug.rst | 20 +++---- drivers/base/memory.c | 25 +++----- include/linux/memory.h | 3 +- 4 files changed, 56 insertions(+), 50 deletions(-)