Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5741500rdb; Wed, 13 Dec 2023 19:32:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJgq0Aunfko1Wwz/bfh9ayxquTMz2/SqeZB48zZkY5i1eKDa1rlkGCExHeBCSnKmFkUPlf X-Received: by 2002:a9d:7a4d:0:b0:6d9:f4dd:190f with SMTP id z13-20020a9d7a4d000000b006d9f4dd190fmr9141850otm.60.1702524748950; Wed, 13 Dec 2023 19:32:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702524748; cv=none; d=google.com; s=arc-20160816; b=zGzkoBZ18Z9nVHECBl+f415bT9OvTSvVjwKNj43l0foYO6IU0HblE2+LRdDgGG2VUy FTzUNlBCmVSMzjxPZJjmQQ/SQ2OyfQ4EMwh/+kF31mA2ZhBig/GADvTIUE6GPCXi9zBN uzNwQy35uSgPKK7tx+DJxgNi8YD4PKzcyTG6tPChzB1HGmo5HeeFEDJMIfguwOVpEUtl AQ8E3BhVPjwIIk0h1uDXzBTS7uwnZrBVMU87gsHZUQrZuqjW8RHVYWU/joFNXI5arcpu uzB6h5KiSlVPeRadPuRR9WYj2/wh4quvPT/2hkTB8vTmgJhnqv1ZqnMurGVxONiUbvPf wFdA== 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:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=8nrtfzVsKhb+pEEnD9Dv72GTrmorIJAeKuyjqO56so4=; fh=QWl5M8KwvjV7DsCqSXtcg7BxbP40Yyyf/TWPdc3VFvU=; b=ExZ55NFO6gUq8Tpf2H1tK6NzhbCD13PoIq1gHqUfpxoTgjXCqLDP0BtepetRtJv0Ht bTmSmyWr1MaXRV2vycthELTQijDnIdbWbe9wCEiEnHlhujfIvrK+2Y35Jgtg+RY9lF2B 4+pbOEIm3NRxfp4GI8GkbwPItyt1wFs0E328GcUjUThhMJyOuWy7gUZ1vgZt8rencfeQ 9SPcgEvA2dko77e9bfAsqbmSX6nYmU/25eVUaxUMGczBKgyRbfqYEFHMgLhrLwDuNJQy CJvue/kFggrWdC180SqYDItYuj9JzsrfBLIK1mqPxVkMQxkKA2BUkXx7FplC670ZAbf/ J69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XHRyd9Jc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id y76-20020a62ce4f000000b006cde7a1d93bsi10507079pfg.248.2023.12.13.19.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 19:32:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XHRyd9Jc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8CFE68030A09; Wed, 13 Dec 2023 19:32:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234226AbjLNDcJ (ORCPT + 99 others); Wed, 13 Dec 2023 22:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235192AbjLNDcI (ORCPT ); Wed, 13 Dec 2023 22:32:08 -0500 Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1FF0111 for ; Wed, 13 Dec 2023 19:32:13 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702524729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8nrtfzVsKhb+pEEnD9Dv72GTrmorIJAeKuyjqO56so4=; b=XHRyd9Jcy68UY2+b6OIO4TsTUvyimNKSumeotXqxtvjPUDwBFsPS6QZ2OxVWzCrdXKjOBh fPFtwXoydoAnjsiZn6157IVAEWdnxpxxHyRDqJttEnRoJR/udUtoD56DvXL0U+Dtazhkq9 O2thaA9yED7ZczwVxPiYuy3XI4yzLs4= Date: Wed, 13 Dec 2023 19:32:05 -0800 MIME-Version: 1.0 Subject: Re: [PATCH] ARC: add hugetlb definitions Content-Language: en-US To: Pavel Kozlov , linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Vineet Gupta References: <20231213150710.13574-1-kozlov@synopsys.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vineet Gupta In-Reply-To: <20231213150710.13574-1-kozlov@synopsys.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 19:32:26 -0800 (PST) On 12/13/23 07:07, Pavel Kozlov wrote: > From: Pavel Kozlov > > Add hugetlb definitions if THP enabled. ARC doesn't support > HugeTLB FS but it supports THP. Some kernel code such as pagemap > uses hugetlb definitions with THP. > > This patch fixes ARC build issue (HPAGE_SIZE undeclared error) with > TRANSPARENT_HUGEPAGE enabled. > > Signed-off-by: Pavel Kozlov Added to for-curr. I'll pile this will rest of patches for some linux-next soaking. Thx, -Vineet