Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1998985rdb; Tue, 20 Feb 2024 13:48:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU7IB4JJ32kW2doVteXI6KnFzjeLZWaYobFZAdqEF6KBWNQEO3rWZDHMWewSzjAkoSwQOOWWfrytHCB/3d901qrc2YCd0IMETfG66OXow== X-Google-Smtp-Source: AGHT+IFBcol8k7e0IS5MjCmulIxUuY3a0P2ua2qrXGIs8LEmBmV0+lHjOMY5sNKsEnyB23jY5w7p X-Received: by 2002:a2e:9b51:0:b0:2d2:4054:32f3 with SMTP id o17-20020a2e9b51000000b002d2405432f3mr3488179ljj.7.1708465701156; Tue, 20 Feb 2024 13:48:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708465701; cv=pass; d=google.com; s=arc-20160816; b=DLvuicvIITyPjphpCKPCTtSSNdoBENvJA3NmXPb9gqOw4Ncf0EzOreu4WaVrGjlYd7 hhlfYph2H7qLtT93LNX3YWC8ERFIeoMBR2mvMOTYFyRcnEClxCWoCIyLkv7BC0f8sIud xZXcfRARF6fYoiUCgHNhCJgk8PC9NQ6lZdib9qwVd3uqVl57hp+h2Q+pydI23YmG6yHz +sVJNPjhtBu/nSdYdSAldg5aFqr67pWV5H/maXUjX7ILBDjpKpeOiUIUaDKf/z+BO6jR 9itZ1shbzHjZpCDisKrPkq10yP8e2Xo15rqoa8S6hkvTJdqK+SyAGOWao32FGCmLtgB/ B6gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=iHHT8LecSskYgWyLHx6z6eqTK/dqCiveP0KosgAQ1wA=; fh=V53ERYCAi9RDUYbteF2pi4ufkFTf17rnAujJ7pPThcM=; b=hm04/vUg4QW5gTZJeE6NVKhud6XXoXCtID8+LYQQU17/VmLyi8el4o1Yorxb3lXvya ZaRIIlU8uD8mrB37nyzq+EtuvWB2QpKl+qCyVb/xO257b+SLAThejTicHUJbxGCdwG4b B/vJXLeC9gaCnt6UPhHTY3F57qeEOl72LFb0YunoMLU7ftXDwUkjtyR3Ot2oPoMR/0Fq bLsTVGTdAXR+4RBpYBOtdF5y+kpAIkEBgV/4YujYzBY5tfkgtkyH2466ZupBMcZEZs9m +dOsEvoBzXPcxkN1ECmMfuh8FWu0JLohZKPJ3Bt/Uq9J86DufJKSJ8dCDdylT+O/WLrI sEYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=feJvcGfQ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-73737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73737-linux.lists.archive=gmail.com@vger.kernel.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 r11-20020a05640251cb00b0056464ec317dsi1005824edd.615.2024.02.20.13.48.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 13:48:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73737-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=@gmail.com header.s=20230601 header.b=feJvcGfQ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-73737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73737-linux.lists.archive=gmail.com@vger.kernel.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 B2C8D1F2265D for ; Tue, 20 Feb 2024 21:48:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74E5E152DE3; Tue, 20 Feb 2024 21:48:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="feJvcGfQ" Received: from mail-oo1-f45.google.com (mail-oo1-f45.google.com [209.85.161.45]) (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 EBED0150995 for ; Tue, 20 Feb 2024 21:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708465692; cv=none; b=tWM7NghFXaOP4TsEZzhM5LLYCtYmJsirPzYYsGE48Rxp34dSWqF96+PdtjwXMbeR+y/JMir9E32QinlqIEa0Ht9NMqzabTFLAKueb7bvecG8oVsCYPSeYXu11YTNs7AB4XjUaTvaf5hAPOH0UCXU3k22mk7xLkCDnCXvHDdcH4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708465692; c=relaxed/simple; bh=0EvuBtAlnKWVpGV1ocm2whvJc9HJAq31wxaqE2+3+cU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Sh9iZg+VAExKUgJxOmQae1C41vnFDLQQsh7/RmryI23UqBPSgShzkLXMqDsULtYyeSrzXp1xtHkO/hSiD3I5WrrycbqPNcuwxutjViizMWE3S78qUxe3oeRk9KOzss+v0XKPEa9Fvyc5Q56fJaoVcKkWlXlSIDMANZvCWBjqps8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=feJvcGfQ; arc=none smtp.client-ip=209.85.161.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f45.google.com with SMTP id 006d021491bc7-59fd69bab3bso787389eaf.2 for ; Tue, 20 Feb 2024 13:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708465690; x=1709070490; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=iHHT8LecSskYgWyLHx6z6eqTK/dqCiveP0KosgAQ1wA=; b=feJvcGfQHk2N/PIstr46ciAesmLx0LR1aaouHyA85pb23nNZvd9LSMfWfCaWw5yDT1 tH4tXGY0qrU0a6eoMuTJ91zf3Udk6JAVJe6qVfhbYi/goEoK7c+Lvh2nU0zkuOPogfvu klK6d517VhNVHQuJgN1skil/rv8eeQGomA+0FKXGvNjyf6BNJe8mcPOrPDmaXZ5GOqkX kmlCdBp+7H+G/hnxZX+sCkpiWthAQt/pE05Cti+r5N//co0avxs6SYeg76ghVAwxG9YT ShVQRPpsCm5492aJT8A+S4Jwij7QcZ1hpq3MomiXOSrOrlaoclZCRvDiNiiyY58oMsAX NRxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708465690; x=1709070490; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iHHT8LecSskYgWyLHx6z6eqTK/dqCiveP0KosgAQ1wA=; b=krJhvSYrVH1ZOqDJR9tvDUxnZXpjvVtmuJSz8NDC1C5rKlqbAyxF/6HsTqR6rkzd6Z WsVn5XlEuj3DP8hxzRtMjEnQ6Cr0aSdXpKRZDRN/Q49dfJ+NQAqFP+5M92Jeyz/UrU+2 +XZ5catXdarhLhw8wyCor5nQWmvfqN23LV8tIpJCR9LorVAzqnWSJauiudv1jEBcKxEh lPNTneDy5gm+WBix3+47w7/CpRb+sAKeqWXlheuSKnrTMSiKAgISMcERoSga27YmJH6F 3oMdDygRtTd6+o7qYr38Sjw1/Rh2hwQejmogmiqoPU9KLmzCb7xXHA4g9slw212T9XQE FjEw== X-Gm-Message-State: AOJu0Yy5uKYwa2RCafwzU/yBiyWkHi/ooGTBaGa/CSqk2KoBpX1U27Y5 N0GetGo5521EbfoBJt7JHrYjWnMucjzuKWzblTb0EhYXtpvPtb+2 X-Received: by 2002:a05:6359:459d:b0:17b:59f9:b691 with SMTP id no29-20020a056359459d00b0017b59f9b691mr156311rwb.1.1708465689667; Tue, 20 Feb 2024 13:48:09 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id t20-20020a632254000000b005cfbf96c733sm7150069pgm.30.2024.02.20.13.48.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 13:48:08 -0800 (PST) Sender: Guenter Roeck Message-ID: <2374eaeb-fa34-44b9-a945-2cd871aacf7b@roeck-us.net> Date: Tue, 20 Feb 2024 13:48:07 -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: Linux 6.8-rc5 Content-Language: en-US To: Linus Torvalds , Matthew Auld , Arunpravin Paneer Selvam , =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Linux Kernel Mailing List References: <538327ff-8d34-41d5-a9ae-1a334744f5ae@roeck-us.net> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIsJMaWOhks//7d92Uf3EArDlDShwR2+D+AMon8NULuLBHiEUQARAQABzTJHdWVudGVyIFJv ZWNrIChMaW51eCBhY2NvdW50KSA8bGludXhAcm9lY2stdXMubmV0PsLBgQQTAQIAKwIbAwYL CQgHAwIGFQgCCQoLBBYCAwECHgECF4ACGQEFAlVcphcFCRmg06EACgkQyx8mb86fmYFg0RAA nzXJzuPkLJaOmSIzPAqqnutACchT/meCOgMEpS5oLf6xn5ySZkl23OxuhpMZT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464dSpy1tQVHhhp8LFTxh/6RWkRIR2uF I4v3Xu/k5D0LhaZHpQ4C+xKsQxpTGuYh2tnRaRL14YMW1dlI3HfeB2gj7Yc8XdHh9vkpPyuT nY/ZsFbnvBtiw7GchKKri2gDhRb2QNNDyBnQn5mRFw7CyuFclAksOdV/sdpQnYlYcRQWOUGY HhQ5eqTRZjm9z+qQe/T0HQpmiPTqQcIaG/edgKVTUjITfA7AJMKLQHgp04Vylb+G6jocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Actually, On 2/20/24 11:57, Linus Torvalds wrote: >> Commit a64056bb5a32 ("drm/tests/drm_buddy: add alloc_contiguous test"): >> >> + u64 mm_size, ps = SZ_4K, i, n_pages, total; >> ... >> + n_pages = mm_size / ps; > Turns out it wasn't this code, but > Now, the __moddi3() is a *bit* more reasonable, because I assume it comes from > > int slot = i % 3; > this code. Sorry, I guess I should have spent more time on it. Just declaring i as int solves the problem. In my case I used gcc 11.4. I since also tried with gcc 13.1, but that makes the problem worse. With that, I get U __moddi3 U __umoddi3 U __umulsidi3 No idea why a single assignment would result in three undefined symbols, but there we are. This is with xtensa, but I assume the same is true for other architectures. Unfortunately, I can not test your attached patch because the DRM unit tests blow up my qemu test machines. Guenter