Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp652749ybg; Tue, 9 Jun 2020 09:27:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxffxxcimhbyJZpiEytyTFRrm8bEX2mMpgx6G2kHKuTLfJnfuvlNYLeVJ8QrrYokHDbhLjL X-Received: by 2002:aa7:d041:: with SMTP id n1mr20280042edo.196.1591720022440; Tue, 09 Jun 2020 09:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591720022; cv=none; d=google.com; s=arc-20160816; b=JnvQnlkav1xJuupuK5u+ho4tOok3MMYtRaXOIiVxPk0nSjR1SoRsnB0pUQ+J0DZF1Z Xwdk+z+AjiOYWEg7NYVcqRcT8FV61xhT1I0t9I4fjkpYgacWTPEuWWHbP4g4VnqATPyK NFWVKz8fvXxUTEw6nvNmKQxkNgk52ZuVpJjWS+YAyLbzgYf4X22mhu32HLny9Bg4hNqJ MTImsJAKn47PaDUjldDC6e0yM5Zu4hPSOSS6mJlIV5CsZxE597hib69I9pC0SGud64rA 6adf0cnElf3CwW8UbbCHY5e71OOz/rL4iSow6Xq5szPfOxYN6dO24oFQ+ZQ4lfeOBn2t yLqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6ir9/kA/ENXEqMyVfZOPmpf2Fn4Q6dp3GsAk8BilPDM=; b=uZVmI9X/nHfKXIibDuIBsNJ/BG4aGg0GnH2LLa53+OBqIZvzZdJQO0mdtgnKVqVpyc XgMghzXXth3Y7LvIGmNaIxOYwlFrA7x3pT6ttQfd682hY/B6Cc/vR5psPkre1QHrkd+S bV6ctV5fprj8gBKgiIMQpaewTBYCGXYKjKMP1OBlUy2qWm7toH8WivbxMV7ANzy5vWQA vNEXxaWw7b1FoGBARgQq0lE78WUmNzRuK5V1/GiQ4tKMNDodMi93KcfgbI3249F4FDfE Vzk0wApzvBBBl7ODy37QEXbmrrkwFEdIx9pkeid7T95G+tt1ckwZfLFTbLsqqzjVfhO3 8V9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si10784972edu.513.2020.06.09.09.26.38; Tue, 09 Jun 2020 09:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbgFIQX7 (ORCPT + 99 others); Tue, 9 Jun 2020 12:23:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:50608 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgFIQX6 (ORCPT ); Tue, 9 Jun 2020 12:23:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6EB23AD4A; Tue, 9 Jun 2020 16:24:00 +0000 (UTC) Date: Tue, 9 Jun 2020 18:23:54 +0200 From: Joerg Roedel To: Guenter Roeck Cc: Mike Rapoport , Linus Torvalds , Andrew Morton , Andy Lutomirski , Peter Zijlstra , Linux Kernel Mailing List Subject: Re: [PATCH] mm/vmalloc: track which page-table levels were modified Message-ID: <20200609162354.GB12636@suse.de> References: <20200603232311.GA205619@roeck-us.net> <20200604083512.GN6857@suse.de> <20200604140617.e340dd507ee68b0a05bd21cb@linux-foundation.org> <20200605081644.GS6857@suse.de> <20200605100059.GB7524@linux.ibm.com> <20200609121056.GB3871@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guenter, On Tue, Jun 09, 2020 at 07:15:42AM -0700, Guenter Roeck wrote: > To build csky images, you have to disable CONFIG_FRAME_POINTER or use a > non-upstream compiler. To build any images reliably, you have to disable > CONFIG_GCC_PLUGIN_RANDSTRUCT or use a version of gcc old enough to not > support it (gcc 6.x is fine). For mips, you have to specify ARCH and > CROSS_COMPILE as environment variables. My test setup builds defconfigs for all architectures using the gcc-9.3 based cross-compilers from kernel.org (except the ones I have no compiler for). That used to work for CSky and MIPS(64) when working on my vmalloc changes. On MIPS the build failure looks like some Makefile breakage, but I didn't dive deeper into that. For CSky the compiler complains about not supporting '-mbacktrace'. > alpha is a lost case. The offending commit is 0f1c9688a19 ("tty/sysrq: > alpha: export and use __sysrq_get_key_op()"); it looks like that wasn't > build tested. It can not be reverted easily because of subsequent changes. The below diff fixed the alpha build for me, but I am sure another fix is already queued somewhere. diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index 6fa802c495b4..8f4ad63a3a9a 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c @@ -431,8 +431,13 @@ register_cpus(void) arch_initcall(register_cpus); #ifdef CONFIG_MAGIC_SYSRQ +static void sysrq_reboot_handler(int unused) +{ + machine_halt(); +} + static const struct sysrq_key_op srm_sysrq_reboot_op = { - .handler = machine_halt, + .handler = sysrq_reboot_handler, .help_msg = "reboot(b)", .action_msg = "Resetting", .enable_mask = SYSRQ_ENABLE_BOOT,