From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755839AbdDMAc2 (ORCPT ); Wed, 12 Apr 2017 20:32:28 -0400 Received: from mail5.windriver.com ([192.103.53.11]:59456 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751932AbdDMAcZ (ORCPT ); Wed, 12 Apr 2017 20:32:25 -0400 From: Paul Gortmaker To: CC: , Paul Gortmaker , =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Evgeny Baskakov , John Hubbard , Mark Hairgrove , Sherry Cheung , Subhash Gutti , Andrew Morton Subject: [PATCH akpm/next 0/4] Fix various issues in new hmm driver Date: Wed, 12 Apr 2017 20:30:10 -0400 Message-ID: <20170413003014.4052-1-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org My build coverage for non-modules adding dead modular code tripped on this recently new addition. After removing that and rebuilding, I saw the driver still had warnings that were independent of the "demodular" change, which the 2nd commit fixes. Then there was "select" usage that was bound to cause troubles because it was selecting an option with explicit dependencies. We decouple by adding an ARCH_HAS so the selects are valid while keeping the depends listed in a single place. We do this so we can update the parent depends properly (and only once) in 4/4. Build tested for x86-64, arm64 and s390. Other 64 bit arch don't build and hence appear to be not applicable, as per details in patch 4/4. Cc: Jérôme Glisse Cc: Evgeny Baskakov Cc: John Hubbard Cc: Mark Hairgrove Cc: Sherry Cheung Cc: Subhash Gutti Cc: Andrew Morton --- Paul Gortmaker (4): mm/hmm: make it explicitly non-modular mm/hmm: fix warnings and SECTION_SIZE definition overlap mm/hmm: fix Kconfig to have valid usage of "select" mm/hmm: exclude 64 bit arch that explicitly fail to work. mm/Kconfig | 23 +++++++++-------------- mm/hmm.c | 37 +++++++++++++++---------------------- 2 files changed, 24 insertions(+), 36 deletions(-) -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Subject: [PATCH akpm/next 0/4] Fix various issues in new hmm driver Date: Wed, 12 Apr 2017 20:30:10 -0400 Message-ID: <20170413003014.4052-1-paul.gortmaker@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org Cc: linux-next@vger.kernel.org, Paul Gortmaker , =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Evgeny Baskakov , John Hubbard , Mark Hairgrove , Sherry Cheung , Subhash Gutti , Andrew Morton List-Id: linux-next.vger.kernel.org My build coverage for non-modules adding dead modular code tripped on this recently new addition. After removing that and rebuilding, I saw the driver still had warnings that were independent of the "demodular" change, which the 2nd commit fixes. Then there was "select" usage that was bound to cause troubles because it was selecting an option with explicit dependencies. We decouple by adding an ARCH_HAS so the selects are valid while keeping the depends listed in a single place. We do this so we can update the parent depends properly (and only once) in 4/4. Build tested for x86-64, arm64 and s390. Other 64 bit arch don't build and hence appear to be not applicable, as per details in patch 4/4. Cc: Jérôme Glisse Cc: Evgeny Baskakov Cc: John Hubbard Cc: Mark Hairgrove Cc: Sherry Cheung Cc: Subhash Gutti Cc: Andrew Morton --- Paul Gortmaker (4): mm/hmm: make it explicitly non-modular mm/hmm: fix warnings and SECTION_SIZE definition overlap mm/hmm: fix Kconfig to have valid usage of "select" mm/hmm: exclude 64 bit arch that explicitly fail to work. mm/Kconfig | 23 +++++++++-------------- mm/hmm.c | 37 +++++++++++++++---------------------- 2 files changed, 24 insertions(+), 36 deletions(-) -- 2.11.0