Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp35875lqc; Thu, 7 Mar 2024 09:33:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVzvt4E+tlLHgbF6xiJo1deig1BPAfn+DxYi4v6I6vy2aDxIk113xCx331RKfcP9s8Fvu1lR1X8w+Qf5TdqVBzlGOUvrE7IW/AN7LZdYg== X-Google-Smtp-Source: AGHT+IFyp9udsbd5iXxsdynwMmb8oM68pQDX9gwQWqyR4hbfO+nz2A2I+hhVHlvfeF/k3QPzTahS X-Received: by 2002:a17:906:3798:b0:a3e:7cf7:2fb7 with SMTP id n24-20020a170906379800b00a3e7cf72fb7mr13885804ejc.33.1709832786805; Thu, 07 Mar 2024 09:33:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709832786; cv=pass; d=google.com; s=arc-20160816; b=DJH2Upne4CoqTSN9q1S3M7CGtOb4ntOES5/WKPFU750SDbIFWre6RQBrD5uc2dXInz ntfjECMhZTxnxTqZh2jCgAex+9+oHKXzJmuhQHxEdmiRFGcrHIqf0Gr2D8PHaksfXmsD E+DqFfDuVppBFq/WX+tabl3oeSTV+BURHC9lMFdufqr/pCgfhEmwg/MS5+c4DGIjJxli Tq6hwLWSOGY9+dVoRYKcH/N7caFInXOlWoBzr9z0Id5AfgM2Rr+CGv28z7X24RLrXwMS 0LRHEz1ITNPuwcCoPjTAuFZ6LTeU6jZC47oR/ojf/1PzIs3OO+/mq2Nw+2E38PJpE4bd v2jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=moZ9+5orZT+OYhKZAyxdvu5ONr7RA4cWiHxMkHcHcWU=; fh=bC28vMGG6YoobpH7yctGZFMYRIDoX9z/Y3VPN4nV0nw=; b=VO3bIv1bNSGTUUNiCe/vjpD6Epx+npNJTy+HLWsENUBX+czhUA6XsbbWmjNYbzuYLK HAP8aemwp/bQd11zogSJ3VkA7RHaEYIlXBh4gjmSg//URS0CmZ7Sfeh0+FvzvjT2n6gy aVqbsSbsntX3AdE7oqZGFGoH1laeVpZ9tYTkRRTmco02asmLdpmxxroCrpD/05MljDml hyGX60JHZB8qO/+UomesiI4pt7xe4+idugHevS/uofjjizWGUyBqbMB3W+ZIoK2fLvJE ElSAsj//DKNpH0Qeh1FHPiYkV+mvAA3JP6x5mQNw93mMq9ncrpCJUGljRoaOQ5T7P9Sh N/Ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=A7UbzPwL; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-95946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ck21-20020a170906c45500b00a448980581csi6147230ejb.42.2024.03.07.09.33.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 09:33:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=A7UbzPwL; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-95946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 864941F23E6B for ; Thu, 7 Mar 2024 17:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D235313175D; Thu, 7 Mar 2024 17:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="A7UbzPwL" Received: from 008.lax.mailroute.net (008.lax.mailroute.net [199.89.1.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40470131720; Thu, 7 Mar 2024 17:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709832763; cv=none; b=eMHgw2bc2O3Wvu3f1+O/kAFZUTrZeEIR1uuBvnCHYQv7R+b8rR/TB2+GmiBY/UcxomzMLNGLqpZ7wrrFxhmIZa0pXw67ImnJegO/FYxweLQgf6FMxOUna95bhNEeRBj1rn2g9Lx/VpHIzoPfxsA41t7d93tNocAbphmXaV1xIQ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709832763; c=relaxed/simple; bh=oWPUsnbZDOlxxLdfXs2o8PRtCjbbf+VNBb0sGJ8bFGM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YwJ0L/TmTCwPl7b2/REMBF0hqyDbt6BDBUL92V0L/PdfWsuEWW7IK7YhtIMaRiZN7Zj8ywgexkKDQCvC1VrHK4gRtn82fhMAJQf0u0v4PdzC1Rg+UqYUgTfYdx/BnExBjKrwI7XSY8nIH8FqbvTqxiOodRkhvsu9ONfIDDCPjSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=A7UbzPwL; arc=none smtp.client-ip=199.89.1.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 008.lax.mailroute.net (Postfix) with ESMTP id 4TrGbC3SFvz6Cl44X; Thu, 7 Mar 2024 17:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1709832754; x=1712424755; bh=moZ9+5orZT+OYhKZAyxdvu5O Nr7RA4cWiHxMkHcHcWU=; b=A7UbzPwLUvI5xkRJAWjK6KVDk6kivCCl0OrlXSZh E13AYaRjteHDMVTKP44VG51CWI8Hj7nROECMWJJoXDzYhVP/FUGmc6YZWRULR4dY 9Lrpq0zzOM0ojpCpOUtXtCv1ikC9PhM/9wIrtkPD0cGs0fT6h3pQFptLRSbj3R1O MNFNop1FB4LIWN+ee+kMBgJy3jF/nbLR5xC08y8aoDcvTqUQ8gqFQSziM1n3W34K p6UW7kOEi2IUrbrd58vT0WWmrjpRuHWoTXaIErfZTCPgoeCZyegqrX/6/i61OBU5 SPBwphJxvpx1Tf3tQMLcxiyaVA4SFvnGva39x0zc/cG0RQ== X-Virus-Scanned: by MailRoute Received: from 008.lax.mailroute.net ([127.0.0.1]) by localhost (008.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id 1gW_8sGIy35B; Thu, 7 Mar 2024 17:32:34 +0000 (UTC) Received: from [100.96.154.173] (unknown [104.132.1.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 008.lax.mailroute.net (Postfix) with ESMTPSA id 4TrGb51T5gz6Cl44Z; Thu, 7 Mar 2024 17:32:33 +0000 (UTC) Message-ID: <1181bcdd-1ff4-414b-bc0a-40e513fede08@acm.org> Date: Thu, 7 Mar 2024 09:32:31 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: WinLink E850-96: WARNING: at block/blk-settings.c:204 blk_validate_limits Content-Language: en-US To: Christoph Hellwig , Naresh Kamboju Cc: linux-block , lkft-triage@lists.linaro.org, open list , Jens Axboe , Christian Brauner , Ulf Hansson , Arnd Bergmann , Dan Carpenter , Anders Roxell References: <20240229142144.GA8348@lst.de> From: Bart Van Assche In-Reply-To: <20240229142144.GA8348@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/29/24 06:21, Christoph Hellwig wrote: > On Thu, Feb 29, 2024 at 07:44:01PM +0530, Naresh Kamboju wrote: >> The arm64 WinLink E850-96 Board boot failed with 16K and 64K page size builds >> Please find the below warning log on Linux next-20240229. >> First noticed on the next-20240220 tag. >> >> This issue arises only when one of these Kconfig options is enabled. >> CONFIG_ARM64_16K_PAGES=y >> CONFIG_ARM64_64K_PAGES=y > > That means this device doesn't set a max_segment_size, or one smaller > than the page size. This configurtio has never been supported by > Linux (Bart has some patches to try to make it work), but with the > new block limits API we now actively catch this and warn. Hi Christoph, Please let me know if you would like me to repost the patch series that adds support to the block layer for DMA segments that are smaller than the page size. Despite my requests to not support such hardware in the Android kernel, that patch series ended up as an out-of-tree series in the Android kernel and will continue to be maintained by the Android core team for considerable time. Thanks, Bart.