Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp828336pxb; Thu, 12 Nov 2020 18:32:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEUn3HR2f0NwaPrsCRz6FxSAq9bCMQHR/Dc4e0yx5Ixabv8kKhJb86EV2WrCHYzKnPvdhI X-Received: by 2002:a17:906:ec9:: with SMTP id u9mr2287064eji.400.1605234732697; Thu, 12 Nov 2020 18:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605234732; cv=none; d=google.com; s=arc-20160816; b=p8T7J+/qQHsFf7z+16UK0aXxaACkk+/C57aefmZxHnMppk2OCrDryVzYMo138PlR4v 9U+ldc+cquo0+Vp0CWkWIu8UCtfCDdwmI5Sb+Pg4z/Y+wd3WoNKBpRElDcSTE3Mep2Xr BlHUk2H4ZkivKODJ3OepeGF/5KtW0aGQpHvWwEIH1SKIxvC7Lx+r+kAJKohMFuJOTFkJ S3BbeOYRX0dpjln9swu0/QCcShAwRRs4QI9P3ZCCPFNnUFDQbNbCjXlPLCAQabS7EQnd x+8Wx8ToMC12t9ZMZXBfrSSvoR4IqxF6dvETPm4jhFRQ+dx7/Ufpt4vSZriLWJo18id1 gR4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature:ai-spam-status:dkim-signature; bh=ff19M5R212UTImkfsmhjeWjLA+TVur/JqXTnV2E9uqI=; b=yw/285i+Qua9Aftes0YxpdwK+CyyACLTm5JM3TAyFnBAyOVNJUx79n19otmFPV8sK3 Be6NbQ6z83ItS9h0OW3OnV4atZ4tM7JWnjimJ6PPtIbvIsmXCFPBBmEwSbi80+qUU8f7 myCTO/ckGdzLokIY0ct6ETDWHebDddTPRvEZfA2iuy0Z5wCwVbqyKzDQR96ux2WXQJAv 2Pfr9uPn0b2uVU1NY3cpDhHoVr/t2IMr7Wehy1DOTF6so2Dt66++aF5X6oX49QaKHmms JSYy6ECs/pAR6VCJnnsbmUc6Xe0GgOIOvrk7xH7xrUz+LaMtpPryWAM13z81FEECtvZm 6m/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mymailcheap.com header.s=default header.b="Xi/ImM2a"; dkim=fail header.i=@flygoat.com header.s=default header.b=vQBPOLEv; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si5233022edp.439.2020.11.12.18.31.49; Thu, 12 Nov 2020 18:32:12 -0800 (PST) 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; dkim=fail header.i=@mymailcheap.com header.s=default header.b="Xi/ImM2a"; dkim=fail header.i=@flygoat.com header.s=default header.b=vQBPOLEv; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726134AbgKMCa2 (ORCPT + 99 others); Thu, 12 Nov 2020 21:30:28 -0500 Received: from relay5.mymailcheap.com ([159.100.241.64]:51235 "EHLO relay5.mymailcheap.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgKMCa2 (ORCPT ); Thu, 12 Nov 2020 21:30:28 -0500 Received: from relay1.mymailcheap.com (relay1.mymailcheap.com [144.217.248.100]) by relay5.mymailcheap.com (Postfix) with ESMTPS id CB2342008F; Fri, 13 Nov 2020 02:30:25 +0000 (UTC) Received: from filter1.mymailcheap.com (filter1.mymailcheap.com [149.56.130.247]) by relay1.mymailcheap.com (Postfix) with ESMTPS id B41DD3F157; Fri, 13 Nov 2020 02:30:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by filter1.mymailcheap.com (Postfix) with ESMTP id 980DE2A34E; Thu, 12 Nov 2020 21:30:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mymailcheap.com; s=default; t=1605234623; bh=jjkA70crZr53oOsQo8H39Ad7cEMWDse6NYHaxO3xobs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Xi/ImM2aNooaZF6y1jphX17jLeaNs7TuKNV9bv3DUULsbA1TzpPPoC9nP/plFGkTF I0imMEDUkSMOtURY/g4oGkrfGMhU+gCxQc2z+KSuLU/ZNmxAVHFKK58YygaNCmcOsY l/xpijMN3C9zndKCVW9lUpZPZl+YQt/RhzEhA5o0= X-Virus-Scanned: Debian amavisd-new at filter1.mymailcheap.com Received: from filter1.mymailcheap.com ([127.0.0.1]) by localhost (filter1.mymailcheap.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wXCsZvpMM80z; Thu, 12 Nov 2020 21:30:20 -0500 (EST) Received: from mail20.mymailcheap.com (mail20.mymailcheap.com [51.83.111.147]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by filter1.mymailcheap.com (Postfix) with ESMTPS; Thu, 12 Nov 2020 21:30:20 -0500 (EST) Received: from [213.133.102.83] (ml.mymailcheap.com [213.133.102.83]) by mail20.mymailcheap.com (Postfix) with ESMTP id BAE7D41F47; Fri, 13 Nov 2020 02:30:19 +0000 (UTC) Authentication-Results: mail20.mymailcheap.com; dkim=pass (1024-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="vQBPOLEv"; dkim-atps=neutral AI-Spam-Status: Not processed Received: from [0.0.0.0] (unknown [113.52.132.214]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail20.mymailcheap.com (Postfix) with ESMTPSA id 2E524400D1; Fri, 13 Nov 2020 02:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=default; t=1605234615; bh=jjkA70crZr53oOsQo8H39Ad7cEMWDse6NYHaxO3xobs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=vQBPOLEvr3WmDoyP6UholxzEFKc84BEzGx2CUGpTq92okF6g/7ZLobQeajUCxzK7Z g7b7Zrr9KUxy3CuQDlitzlnE2ra/ic+JIcNWPVt1n8Qqyf/twJxs745LL1otexT5jC TJqErW53MSLSnVYS5nmI0iXji1ctF50ArseT5rGg= Subject: Re: [PATCH] MIPS: reserve the memblock right after the kernel To: Serge Semin , Alexander Sverdlin Cc: Thomas Bogendoerfer , linux-mips@vger.kernel.org, Paul Burton , linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20201106141001.57637-1-alexander.sverdlin@nokia.com> <20201107094028.GA4918@alpha.franken.de> <1d6a424e-944e-7f21-1f30-989fb61018a8@nokia.com> <20201110095503.GA10357@alpha.franken.de> <20201111145240.lok3q5g3pgcvknqr@mobilestation> From: Jiaxun Yang Message-ID: <4625868b-f845-2f03-c3f2-fc3ff1ccf63d@flygoat.com> Date: Fri, 13 Nov 2020 10:30:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 In-Reply-To: <20201111145240.lok3q5g3pgcvknqr@mobilestation> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BAE7D41F47 X-Spamd-Result: default: False [4.40 / 10.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_XBL(3.00)[113.52.132.214:received]; R_DKIM_ALLOW(0.00)[flygoat.com:s=default]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; ML_SERVERS(-3.10)[213.133.102.83]; DKIM_TRACE(0.00)[flygoat.com:+]; DMARC_POLICY_ALLOW(0.00)[flygoat.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; DMARC_POLICY_ALLOW_WITH_FAILURES(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,nokia.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[]; HFILTER_HELO_BAREIP(3.00)[213.133.102.83,1] X-Rspamd-Server: mail20.mymailcheap.com X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, ?? 2020/11/11 22:52, Serge Semin ะด??: > Hello Alexander > > On Tue, Nov 10, 2020 at 11:29:50AM +0100, Alexander Sverdlin wrote: > 2) The check_kernel_sections_mem() method can be removed. But it > should be done carefully. We at least need to try to find all the > platforms, which rely on its functionality. It have been more than 10 years since introducing this this check, but I believe there must be a reason at the time. Also currently we have some unmaintained platform and it's impossible to test on them for us. For Cavium's issue, I believe removing the page rounding can help. I'd suggest keep this method but remove the rounding part, also leave a warning or kernel taint when out of boundary kernel image is detected. Thanks. - Jiaxun > > -Sergey > >> -- >> Best regards, >> Alexander Sverdlin.