Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752977AbdLUPjs (ORCPT ); Thu, 21 Dec 2017 10:39:48 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:29241 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbdLUPjo (ORCPT ); Thu, 21 Dec 2017 10:39:44 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=mike.travis@hpe.com; Subject: Re: [PATCH 0/7] x86/platform/UV: UV Fix patches for Intel processors To: Ingo Molnar , Mike Travis CC: Ingo Molnar , Russ Anderson , Dimitri Sivanich , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton , , , Andrew Banman References: <1513812446-260956-1-git-send-email-travis@sgi.com> <20171221114926.7drqdlszr2lu3gmm@gmail.com> From: Mike Travis Message-ID: <618265fc-c053-e34e-7544-95cfd910dead@hpe.com> Date: Thu, 21 Dec 2017 07:39:22 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171221114926.7drqdlszr2lu3gmm@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [192.48.179.6] X-ClientProxiedBy: MWHPR1301CA0030.namprd13.prod.outlook.com (10.174.164.171) To TU4PR84MB0189.NAMPRD84.PROD.OUTLOOK.COM (10.162.187.158) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cbeb5c30-8945-4863-4c69-08d548890d21 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(48565401081)(4534020)(4602075)(4627115)(8989060)(201703031133081)(201702281549075)(8990040)(5600026)(4604075)(2017052603307)(7153060);SRVR:TU4PR84MB0189; X-Microsoft-Exchange-Diagnostics: 1;TU4PR84MB0189;3:8U2b2ul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DYF92jmJfDas33CMHG9rtiiwUCx5t9rBKAkCHLLTR60RRCikK6P4ValPadBF704HIRqZC3FdotpnYw8gQMTDs/+jCsX2TB5jKlFz+e2xDsnHR4BJfXOa5f0kwMs/GHlyvar54/vnVxSLDtsKjMom0MOT06ABKvvu9EDiXp/3z2K9Sjz+TMtraOMDwcqGc/m25SO9chxmDzC+94MyKfMAKguDfYxGzLRVQdwzDUZf3qyFaVGudhL8IkSuYnsxdchx/uZIJcAEiXS3o2hUhf4R4VKjziTWzyJDqQLwqlZckXxqsYnUkaWw7+8UgbzIkt2+6i+/3j2JBNBdttMi9zlzcnvGaSWE2Wg5yhj1qfDyfu4z/tMHHVnnhOzaQw+;4:nyocRUjTSITP8wOWVaNnPjb6iuqVOMGzYG3KoT6aaY/x1lRBKkD8bMX62PvYT+t7eYZPqVX5DdUOr0AIsbUkpK/YEQ3l/LeXmB//lA/lZBApk9S1wcIQTfaW2HJGISjd+XLMuoaStzGyhPD/ccvVAMJ3yTl+x/cQL9pNVdmo98tGp+5edSiedsBZ1abCjJuyj11F4kjDtrzVaFvOvB1csLuB3I2KLDuMcHrIL8Maa9oPQMtCaktMEZORwoYs/lj2NTkKoidoVAfrYSReoWJRSw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:TU4PR84MB0189;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:TU4PR84MB0189; X-Forefront-PRVS: 0528942FD8 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(39380400002)(376002)(396003)(366004)(346002)(39860400002)(199004)(189003)(24454002)(6246003)(16526018)(4326008)(54906003)(67846002)(229853002)(83506002)(97736004)(6486002)(31696002)(53936002)(66066001)(65826007)(58126008)(65956001)(5660300001)(110136005)(2906002)(65806001)(81166006)(8676002)(6666003)(16576012)(2950100002)(68736007)(3260700006)(25786009)(316002)(8936002)(47776003)(81156014)(50466002)(478600001)(53546011)(105586002)(3846002)(59450400001)(2870700001)(386003)(36756003)(106356001)(6116002)(7736002)(64126003)(52116002)(31686004)(23746002)(86362001)(305945005)(76176011)(49976008)(78286006);DIR:OUT;SFP:1102;SCL:1;SRVR:TU4PR84MB0189;H:[134.15.0.180];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;TU4PR84MB0189;23:aJeIcz6JlH63T1acu6tmJov0CLavwHLOzSLAl?= =?Windows-1252?Q?5QOPW9aQ2sc7VNDcUIkTmvBK0RLy8ndxNNjyeHfj2gTD/EGaPD1rkCjN?= =?Windows-1252?Q?XrLDQwURAg667LAFoeliSAUPwoUqBdrXn1EMEwk69LJ74G4kPt38AQxG?= =?Windows-1252?Q?FqpjOHi1aFImeHGZxwKtQr5yAo8P28vW4ZbxOdSQY+qDtPzv3fdR+tnM?= =?Windows-1252?Q?FKRJxfhYhVzY0fbcuXaFv5hXf2pY+K62F3fvuaTs9QZI5xu/HEa9DLCv?= =?Windows-1252?Q?dZw47e6CrUfwCuPlN90i4QqfwAl6snU2p3quT8f698hNAmoTjgPkQJMo?= =?Windows-1252?Q?A0QgTiC3lfwChLDj8FguCNJYVHRxLDApp4yd2g7kds1WpsnTKaMz/iXZ?= =?Windows-1252?Q?jwt9lo7k4CWpE3dS9zFYz6JzN1GwYwddQa/eg2Zm8nKLnqH84MrwE2Gx?= =?Windows-1252?Q?iKhRzQejGZzOCccHkqsaNGBfAL5SzJ5Po04G3HnaVojbM4I5IEOJoWRa?= =?Windows-1252?Q?Vq4TZQ357eD9H2n6A1oEoQLJ8qE46lrvd361ua1pZpUTtud/aOi0XCpY?= =?Windows-1252?Q?Tgm/v/f5YdowHK8TBYI2p1f4cs7xlwqbXPFqqLfPWubp5EkCWfAlINXP?= =?Windows-1252?Q?0rCRa0fTB302PdC/POFcTxg6/aqvgbYm+aQZbOGNeqCbLXGzRw5uGWnR?= =?Windows-1252?Q?trFPnJUXQ6tLZykXkB2MrABhPYhMWVqz9AH4o+1P35KTvIujxdPEiLoE?= =?Windows-1252?Q?RzNrfIayuVyT6AS5NBgvrbZZhMDPGHhLuMjLyyu1nu2B/3I4JcrH09ZH?= =?Windows-1252?Q?KsI6nNWVziHSzBYQCkICJ21ggnFnVynTwe2gc7ljrzcajsw/8IMib2ce?= =?Windows-1252?Q?CWB2i3yqeIWInbjIy3MA2n8b4TyYbyIXL3tH+rYG9ht9cm57kbMma46E?= =?Windows-1252?Q?37f/ZswmFEk5NXL/ltIVaQBXPJ7oumgaFkYn+214oZHJbwE9HbS8Avf1?= =?Windows-1252?Q?c1WmyeNYw5tc0fEcYAov9TvzCSElPYAEEhd7vYGHwurNaNybfHhLaj6y?= =?Windows-1252?Q?lag9tSpkRpnWnVwAH4/rzLdV53CxYnrmCdz1k3OPSkooCyPUARa4DbT+?= =?Windows-1252?Q?Me5WX7DWN7pFJWyKg6ezAPrzBmtIMZj/5E0dd39FxUQ/aONevv7ZmiSF?= =?Windows-1252?Q?P/N8aeZXzK5x+13DpMe26xaifSrq9Ls5pun/5G0y375jPOrqi4NguKzY?= =?Windows-1252?Q?jJW3Md3zDpS4+OcwfMmwdFeEWrqZhOZc7W+3pfcmrI3lN/1fwdYLsQpy?= =?Windows-1252?Q?vF5SS24quIkmxUVn5BY4LTMSWZyJ1ef8IBntIZsr0nGAVg5F5n7zwEKP?= =?Windows-1252?Q?ZeVIun5Jny2+aU2lKddIt1y+BW7FOt/OyeO501V3ro3byF1oHsNeAq4I?= =?Windows-1252?Q?OwkD/iTCqfSXxqgkO0CqUVEtkmi78qlIE4MK0ae/KrVsPmleVX/xYenw?= =?Windows-1252?Q?4IdXH5/tU0hlYjjgOVDmtDwykTjsqu+BfwVvzVP2qb4puHRmw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;TU4PR84MB0189;6:DYEP80OYNDG7mHER7l9dKpm1twU3yubSOpE3VwXeDAEXJrFZwjkSg/RN31bOVv+hEFLYV4XQ7VWlevzxBKQfIWf6CzTIw4hYkHL1Zsdb2DfS+08zMUosl1GILEwUHef0EcNhjqWB/7zM1kKf48j6AX0xWMLK56fkwSXljf2bSvjvtSDbtuyHOuKw6JnDpQJwp6/RqdWP+Y5M4KFcxpg4sjh+7nnHW2hzeUB26MT4tL41gmW3bGnRkU79oKU2O3/zDdAkm3NbETgUwhEnp6xehKWC3Wyo+grPg67T7Ltj2AOEy9TvMBqApsKsCElz8ROpdK3wrLoV90V29Xs0aLaBIcdp2bBZU1r6F7kVGU4J4uE=;5:7MaDy5zCFkc7w5N9RGNk4lWcRlAAJW0pn2OMIih+ziXnG333bnd2KPqwx9Z9eyJVsztWq05R0M4gtwkmbphSdlu8wP3wOi4ks3UVytAywhNcxCGmJQTGkQuxZTt+UwgGBfg3OW8oTmTAZSFmYxtZbuSTc2EwXOLLY2Zxw2ammXI=;24:N9BvrjDexPT8QaFi8AcmASv6bzQQMj4dEt1QNlyrMwDDBsPlEuXpR2nxaRF87caFGqgLa2OP5U209wwFa8SGhs0YRCkhhz2QKt3VlTdPny4=;7:m9PiIw4DTfaljNwT7aFYSa82XCtqKDXcuTSxj8z9DtHfW2UF6nNDK1ka8FD3rZN03RKbin4bL0Oi7QAVzz9rHhR4ix0PIZZCFgMyY81IxRWuhB9wy40rNlgSksm2kRei9BMP+bG5RU2oT1IrTcTPrKAoEK0M9TT6+jw2kFCoURbcoFTKWD2VG2ieslMQZRstqMa6ev1dnkoYr4CArQUgaMsOU86MfK+mFZkBPRrqON/fD7wLJlC3jB91yrukrANx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2017 15:39:38.6109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbeb5c30-8945-4863-4c69-08d548890d21 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR84MB0189 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2959 Lines: 61 On 12/21/2017 3:49 AM, Ingo Molnar wrote: > > * Mike Travis wrote: > >> >> This patchset handles the fixes made to the UV4 HUB for upcoming Intel >> processors as there are some interface changes. >> >> * Update uv_mmrs.h to prep for fixed defines for UV4A. >> >> * Updates to handle UV4 vs. UV4A (fixed) arches. >> >> * Updates to handle UV4 GAM (global addressable memory) MMRs fixes. >> >> * Updates to handle UV4 BAU (broadcast assist unit) MMRs fixes. >> >> * Turn on UV4A_IS_SUPPORTED to enable code and header file fixes. > > Sigh, has any of this been properly build tested? x86-64 allyesconfig produces a > bunch of ugly warnings: Admittedly, we don't have a setup to test too many upstream kernel builds with configs other than what our distros are shipping with. We do test build specific earlier kernel releases that are current with the distro to insure (or at least understand) back port issues. I will try this "allyesconfig" though I believe it introduces CONFIG items that cause problems where the resultant kernel doesn't boot on a UV system. But if building is the only goal, then we can ignore them. Are there any other standard configs that are required to build when CONFIG_X86_UV is defined? (Since all of these changes are within the UV specific code.) Thanks, Mike > > In file included from ./include/linux/kernel.h:14:0, > arch/x86/kernel/apic/x2apic_uv_x.c: In function ?map_mmioh_high_uv34?: > ./include/linux/printk.h:308:2: warning: ?id? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:806:8: note: ?id? was declared here > In file included from ./include/linux/kernel.h:14:0, > ./include/linux/printk.h:308:2: warning: ?m_io? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:804:19: note: ?m_io? was declared here > In file included from ./include/linux/kernel.h:14:0, > ./include/linux/printk.h:308:2: warning: ?shift? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:804:12: note: ?shift? was declared here > arch/x86/kernel/apic/x2apic_uv_x.c:856:14: warning: ?n? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:846:9: warning: ?nasid_mask? may be used uninitialized in this function [-Wmaybe-uninitialized] > In file included from ./include/linux/kernel.h:14:0, > ./include/linux/printk.h:308:2: warning: ?base? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:801:16: note: ?base? was declared here > arch/x86/kernel/apic/x2apic_uv_x.c:843:17: warning: ?mmr? may be used uninitialized in this function [-Wmaybe-uninitialized] > arch/x86/kernel/apic/x2apic_uv_x.c:832:16: warning: ?overlay? may be used uninitialized in this function [-Wmaybe-uninitialized] > > Thanks, > > Ingo >