From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f41.google.com (mail-pj2-f41.google.com [74.125.227.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B78C93546D6 for ; Mon, 28 Sep 2026 04:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790568755; cv=none; b=hZD24x+d/tFt4tApmIc/euTvRFYSoveaDY9VfN+gxwVVbTwj7R8nyhtqg+2EOgBgprXAu7wHYe1KrLuy9R7VBJWW1P9DOfQUj9dYSMlE5hPhlKoiPTjg94btptz4FxRcTK84EcW1oYsVWs6EW3wLsfrm0JeSY7dDB8has0fQQAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790568755; c=relaxed/simple; bh=/sOtv+Jy0VfC/zdAlOtrQTC1fDfCRtKdJKUcnFIpFsw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q+Vnfym3aMztj/Kq6KRPLIzS6dH9ZiRNuXU8tbep9PC8izyH4UamFd3h1cr45Rky33WAmPnsbIMoAjbqUU4zEYWO72qw3j3FoCzaUtHMBeGGGwc3ZqhhReIGwpKNUK3Ns4mgrBP5vG9sNAbjVhYhhZcnItfMw0IrF6cDYQqnyfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=KEIR3m9W; arc=none smtp.client-ip=74.125.227.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="KEIR3m9W" Received: by mail-pj2-f41.google.com with SMTP id d9443c01a7336-2df958a8272so9278145ad.3 for ; Sun, 27 Sep 2026 21:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1790568753; x=1791173553; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=bXDScwdKbt28kFhjEDV73RhbSo3l7UPBxj8GidcV6Ck=; b=KEIR3m9WIJGGxbDxu5WT7d1D8pdjysg2u6EOJPP2gwFE4OJjvQnJ287pxIflD0w4Cg 3KRo1HxvqGoz0UssGc+2rSuTUyOtycuRzbtmoCDu1UD7mwkHfhAOWZum2XbziBA9oVWv jJBljzLhKQzGV32PJczj1FgBrq2QfJL1amKgE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790568753; x=1791173553; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=bXDScwdKbt28kFhjEDV73RhbSo3l7UPBxj8GidcV6Ck=; b=J9G3nsJDAzgKR1fs57zCxHfnqm/hKMkpNMZTxDmAZsVfo4MUFQRNYx5E3O1tFLAKiU U/3IUXXkcDJXbDehFno5Gnuo3NmpUoIa4PYkus6jm5EZkxJl+p/xoFzY0T/OjVmZGq5G 5iN7BPxqooNoFV57bTzQ26BVCQAPYWrlJ2nt2Lr2BKQw4T63UjvUpSgLDVgDs0kZk/dL 6cdh+QNbMtbdEdl+Yc7WTc1o5UXbSCnpKQvNrZpIHRsGdIH/Cm8H2o7ZJiYIS6dgetVI dTt0WuHFZ5Q5zkMNbYXIOl6/3Gg9XlsUgXXMb6lm+k4WhLA6D5aU2H6xFWG9oH1rZiLt ws8A== X-Forwarded-Encrypted: i=1; AKwUvBx/ygIXh1bHKwZORv2yQJXhQ6ONF7VJX+d2BUcETdi0hbUtbaMItiCTD3JPF0EIKeKiXcgEHhLeMfXI@vger.kernel.org X-Gm-Message-State: AFq9FYLVPaug88cjv8q5CiWiTqXc7yCIliP831omWs8PXOCTnIyCMRMx aAo9Fa/p2ETV9d8sYKxMTHFU7zSOlLaO7e3DgKipYSlyXaLU2rPgIBWPSID1ip5SVA== X-Gm-Gg: AYBFou3WlAQnCfQQ2mlYozNpBp/wJhDN5bRyMIt/tP4VJzLpYHPebDuoiXGlW7mZ6ex KzyY4Viu/t1zOMclAkiStXAn2a/3UeYbSaQ1sl9XgFlXndTJqoO/1J9siXzXC0qQEgmA8E7Gd9g 6KbH8PC9qIoEjEj8pe04fEE8yJrHthc9oYHMIxSnUV3Q+Tty9gWdsuMsF/Sn+2sC/w8bHripdGD ThNSbHJx7+s7NV+/BlJJC86aCpO8QZuqlsvHH30ebIZKKjfCAq0Geqqqcu1rveLAJXCfYMbIKau NUFh92OXjpjxV3Relb9FOHJw8aZH6RurmpcI7frJ4/uBgaJgfhd6bZJSyN65YAHDvJKkgxI7OpR tj/01VzPvsuEj5cqnPzVCYtqfT0Xcbx9Y4wbL0wRMgy1kWta6a9Z6AT5QFRbE9JKVEDOfV/AI6u wONC4Dub4UxL1QX+RTpTQAQkcxBNltX6706+v+HyWitHoaAR/jYQ/S8mQtjYBXH5UkzgnNwG6i3 lRwcTqQukcnvGW5gxBj5WajHpW2pYGhNeazpdU= X-Received: by 2002:a17:90b:1c82:b0:3a0:7d97:37c1 with SMTP id 98e67ed59e1d1-3a098aaba1dmr10891588a91.59.1790568752817; Sun, 27 Sep 2026 21:12:32 -0700 (PDT) Received: from google.com ([2a00:79e0:2031:6:fdbe:318b:98fe:bd96]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a0bec30aaasm17381254a91.15.2026.09.27.21.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2026 21:12:32 -0700 (PDT) Date: Mon, 28 Sep 2026 13:12:24 +0900 From: Sergey Senozhatsky To: Michal Wilczynski Cc: Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Russell King , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Minchan Kim , Sergey Senozhatsky , Jens Axboe , Andrew Morton , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-block@vger.kernel.org, Yann Collet , Nick Terrell , Gao Xiang , Chao Yu , Jaegeuk Kim , Herbert Xu , Phillip Lougher , Sungguk , Jaehoon Chung , Marek Szyprowski , linux-erofs@lists.ozlabs.org, linux-f2fs-devel@lists.sourceforge.net, linux-crypto@vger.kernel.org Subject: Re: [PATCH RFC 1/9] lib/lz4: import upstream LZ4 sources verbatim Message-ID: References: <20260925-lz4-vendor-upstream-v1-0-1c7ffbe21c4b@samsung.com> <20260925-lz4-vendor-upstream-v1-1-1c7ffbe21c4b@samsung.com> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260925-lz4-vendor-upstream-v1-1-1c7ffbe21c4b@samsung.com> On (26/09/25 13:27), Michal Wilczynski wrote: [..] > +#ifndef LZ4_FAST_DEC_LOOP > +# if defined __i386__ || defined _M_IX86 || defined __x86_64__ || defined _M_X64 > +# define LZ4_FAST_DEC_LOOP 1 > +# elif defined(__aarch64__) && defined(__APPLE__) > +# define LZ4_FAST_DEC_LOOP 1 > +# elif defined(__aarch64__) && !defined(__clang__) > + /* On non-Apple aarch64, we disable this optimization for clang because > + * on certain mobile chipsets, performance is reduced with clang. For > + * more information refer to https://github.com/lz4/lz4/pull/707 */ > +# define LZ4_FAST_DEC_LOOP 1 > +# else > +# define LZ4_FAST_DEC_LOOP 0 > +# endif > +#endif I just checked https://github.com/lz4/lz4/pull/707 and it seems that LZ4_FAST_DEC_LOOP is enabled on aarch64 now, but we still disable it. Am I missing something?