Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1423063lqe; Mon, 8 Apr 2024 08:29:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsnSwDggShWYFAo6plCuiN9DkJFYEW69lQkFIJ11ktIODCSA69Lmmj4372F8dPgSkFGC4qNVIeI1teB6hAF+d8jinDMxpsDic7Zu9cWQ== X-Google-Smtp-Source: AGHT+IGs7KNrgwks3hHACz33PPZ74uYyQ3Z6xD1M78Dfu3n5IisPCBcAXbrimYkYZ6T8ewGfxOV6 X-Received: by 2002:a17:907:9801:b0:a51:e188:bced with SMTP id ji1-20020a170907980100b00a51e188bcedmr1136405ejc.37.1712590177854; Mon, 08 Apr 2024 08:29:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712590177; cv=pass; d=google.com; s=arc-20160816; b=FO1CqyesiWJBLuv6oUw1OEpfYd2GeBwFBlJvoAH3j+xO1hfuxB3UeRm78AeEOhc62x 3R+SnyL1v1NkZvGJlEh5DFyxAoqd5VCuD6MJZFf3+iUgsohzpamnT7qT4y0502Rh/dep 04rS8bA5KX39S3sMPfwk1aMVkaQausZ5JVzUm/hoXjA77mSWQNX8Gm7f5sTBoXPHKm5U DgG8PDH//U6T/7lJt2VxT2aA2eSGY7FxVxvuz1LgcGwNNQl/BsVSfci6EpugaU/j3gsp PntdjXhr9lGRsxoWYO45yyPtoILymNZZJfLmrWTPmh3bmK1WY6ofgo3JulvMqE1hVDhl 7Y8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/jvCv7SxJ3kvu/osaelTl4EpVgXrvfX0QM8hfUAWkzw=; fh=kjul29Qcy60B2TDxGqqXMAwaRphrX2C5SEbG0gR4eOs=; b=LOjiEtbCbnnfEab3i1EqChABscDHHy94suwAeLQJ9IkHGaz8n+4TLTmiFHEZBfE9Mf o7kT3A6s28OBgzMOEnIzVHdTueV05rQhsnXOcuNVb8sxQ9Ay2FAbYLIkTntyuPqE9kjQ vffRW8A2VssBUL80RNTUXg928X0suyLUlG/BgT4b6BjIngUHFVYiw9y6bFAVms3JDKH9 Aoa1MuE16JhEu8peNMA1xKOZIPhfJRngyMfiUOyoohrFRuQBWHwBwsU7uM9WwlimcO0/ AIWn8RXh6ovRHkCc1P9IGurzRc+abF3072sYHtiuSu2REtu+EFFgbuC42LeesPfCPiXg +v/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Sg3Jq/3m"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-135600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t22-20020a056402525600b0056e1de90460si3794789edd.309.2024.04.08.08.29.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:29:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Sg3Jq/3m"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-135600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 9273F1F24935 for ; Mon, 8 Apr 2024 15:29:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D19C140E29; Mon, 8 Apr 2024 15:29:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Sg3Jq/3m" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3A32A13E88F; Mon, 8 Apr 2024 15:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712590170; cv=none; b=BKlwK4A68CeUuP28Ba6ZPGGhfWnG3sX4GJ7QxWwd9iE81eKrMVKK7++7++7NcvwIMnjXqdROd//az94YhSsGYUZCTd3Hs5q0YjD/UL+TaBkTPW2n23yVhthjmDLlJAXyKhGj1mMDuB5n8sDsHPgIJI+RJTNOQLbscaWyBEA8jSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712590170; c=relaxed/simple; bh=453y5TVJbT2eV9mcf+f4sFbiwFZXJLBXjLhR/YaLoiU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q8VHbPT541+zo6OecxXmniNbVc/v5Vy/E10osY4nSj9u9WzPdISSegvw8hlNAA3qWOBssXmWUrh1SlmK/0SKse2IJlWusnT5/g2Ic2eVCE6fWQDpbIvuoC2U7pgHdUfntJSVa16dWQKCKFzTaXU1HfhS732QEaR4sHShHyvpSq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Sg3Jq/3m; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D30FC433C7; Mon, 8 Apr 2024 15:29:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712590169; bh=453y5TVJbT2eV9mcf+f4sFbiwFZXJLBXjLhR/YaLoiU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sg3Jq/3mxT2WhVcxVD6YHLQZ7kVWlV6jYoYpVAOU9c+q55bJrcBZxcVDmLX1qv5E9 Yu0LsheLeHrWidWvY50+rF8MQTiEEz2QKnXoO0oLtC0GbmEkL87mYDqhFPr+JrrCeD j/C4elUFCodFyX4pxmxB1yQXQp70y41HUGFWL3cs= Date: Mon, 8 Apr 2024 11:29:26 -0400 From: Konstantin Ryabitsev To: Haifeng Xu Cc: Reinette Chatre , james.morse@arm.com, fenghua.yu@intel.com, babu.moger@amd.com, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, hpa@zytor.com, peternewman@google.com, x86@kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org Subject: Re: [PATCH v6 0/2] x86/resctrl: Track llc_occupancy of RMIDs in limbo list Message-ID: <20240408-stalwart-tomato-sloth-bddbae@lemur> References: <20240319083039.223088-1-haifeng.xu@shopee.com> <4244b729-2eec-4999-9427-00b5c9f3e6fc@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Mon, Apr 08, 2024 at 03:44:00PM +0800, Haifeng Xu wrote: > I can also reproduced it. After digging into it, I found that our DKIM signature header > has 't' and 'x' flags. They are recommended as a means to help identify spam. > > t= is the DKIM signature timestamp. > x= is the DKIM signature expiration time. > > The source code of DKIM Validation can be seen in dkim/__init__.py(line 351), I paste it > here. > > 343 if b'x' in sig: > 344 if re.match(br"\d+$", sig[b'x']) is None: > 345 raise ValidationError( > 346 "x= value is not a decimal integer (%s)" % sig[b'x']) > 347 x_sign = int(sig[b'x']) > 348 now = int(time.time()) > 349 slop = 36000 # 10H leeway for mailers with inaccurate clocks > 350 if x_sign < now - slop: > 351 raise ValidationError( > 352 "x= value is past (%s)" % sig[b'x']) > 353 if x_sign < t_sign: > 354 raise ValidationError( > 355 "x= value is less than t= value (x=%s t=%s)" % > 356 (sig[b'x'], sig[b't'])) > > The expiry time is less than the time point you download the patch, so the validation > fails. If I comment out these lines, this series can be successfully downloaded. FWIW, I've requested ability to ignore the x= flag when validating signatures: https://bugs.launchpad.net/dkimpy/+bug/2047054 -K