Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2983865pxb; Mon, 4 Apr 2022 05:00:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7EsQ2TOxZJCcfq7zMl5nNRchaKCFjQEURlRn6MtSKUl+5xXQ0f1Ne4yqjXIcsxNEY8ouJ X-Received: by 2002:a50:ab16:0:b0:414:39b0:7fc1 with SMTP id s22-20020a50ab16000000b0041439b07fc1mr32280318edc.214.1649073653409; Mon, 04 Apr 2022 05:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649073653; cv=none; d=google.com; s=arc-20160816; b=z4NY/RU0qvzC+RHcKpFK3SpG2aWp8373Ll+rUe3qtTatYgoAwjgGo5F1q8tXGgR6Sx +NBLhUygg26Nc9YHBLY4RBBAdedyw6sO/tuNmMkX9JQIoBz3RnnfyoLtOIfQkb8K7CET RnHE3Ca1r9DIXYOpRGf5kGbHJa0bYkSC+ZdDcaXWQ6jR6VGw5Z/kfbBblEg9qY8MR4Te RVAaPtPSNa8LFixAAA+xKw2SD/Q4YOmVhhG9J/5MTzEVr9WNkGb9LO9B0apXm8L+20YP IGTKUVZmiicfu8UY+kUY39Mso704LIDSsmUWSUBYRc68GgVDj+69hKlPEryBcHR8prRF UtEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UI8qEHAbkpwLvW7bt2Ub22ogltHl59gfjOTw6tTvytQ=; b=spPvtrtYsp2xY++5auugZ+1MXlxalax3vVrz0zdVKLvChJXX47lAyr9Vp+FihhLlBk eO++Bjn++8pIhOQwQwPRjGPV0FCFIBhm2tz5mbBrqBM9aMJM83Pu7KhqSvdrKAJ2pvR1 ltgB6sfqAUSGrsOKU7LxDHd+G+8De/9qvAwh7stOQrLJ2SgfXfwYpkpADZ5WnAqhLFp7 5S9elZK+eHnoRV3bkIWR4zbWvCvYnMlxqVEnEtbsyjVkOurDFqQIEfLeAOpkjRVxDtQx 3ruHD8RWwKStrevPNN4RPMSyXe3FGQxDiJUDz+BK92V/MSmLTHnsaXMUKjSUiVQgdCNH N4ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QuScXhTz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fr2-20020a170906890200b006e7c6ff508bsi2479479ejc.936.2022.04.04.05.00.25; Mon, 04 Apr 2022 05:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QuScXhTz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240683AbiCaT3w (ORCPT + 99 others); Thu, 31 Mar 2022 15:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236456AbiCaT3u (ORCPT ); Thu, 31 Mar 2022 15:29:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EA4A51E016E for ; Thu, 31 Mar 2022 12:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648754882; 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: in-reply-to:in-reply-to:references:references; bh=UI8qEHAbkpwLvW7bt2Ub22ogltHl59gfjOTw6tTvytQ=; b=QuScXhTzdgeHIIzadvz40MMJhZJ0CLv4JxIgbdJDpAt0YcX8cYNLcvINwZce4asLZ6b0L5 jM9a+5f7mL2nGu1CEcX0y9XrDAmuCWic7MAwZmzJwxdg7uFBp1Nhq50yEPaB9PXsWOt1z/ y0WAypzO9zrjNR27gEIqHLIdGLeokJM= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-83-s7c0ki8lMBa3fSC2gMYsKg-1; Thu, 31 Mar 2022 15:28:00 -0400 X-MC-Unique: s7c0ki8lMBa3fSC2gMYsKg-1 Received: by mail-lf1-f69.google.com with SMTP id e15-20020ac24e0f000000b0044a8b775985so159994lfr.19 for ; Thu, 31 Mar 2022 12:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UI8qEHAbkpwLvW7bt2Ub22ogltHl59gfjOTw6tTvytQ=; b=aT0XnlrkM50ygvPOk7JBsWzA9q/BfOwEB1O8icJv3Q8fZ2QcTYWqIpLOzoznoGQESm OkFz80HHRPlHO+GFJwclzYVvMu7bfufP/TH/wFRJWGNzzCaBo+2hAkt0z/9S48JVDNj+ bBAIVMfUC7h7ZDFGj1QKlcZa/mYhTjydhY4shArYKAs1ByiXORAv9AghwakbYiU9YK9c RW20d2AxtBt0voyXsgpowJt+5Wy3KDizbmxvg19mvYrQcZAVyGEKUinsNBy80tJe7s9F 2n9syXysSbF9z/8vexAHxfv5b8dUukFiUF2+OVwouzHoGsijAZBnGJ94DpNYD1Ma4ldV qvxg== X-Gm-Message-State: AOAM530309lRPtK8Kbhgjac3qCS5sh50CXHzyR8lMnzAdMUCcITF4iOj eJDThU+X8yVL4EDpJyDYvAd1aLsrGUEIudqCpMTz53rrcRrdMcE9RZOIdWO1+sPgbwcapMwmuD8 uqYTK2QnQRKD3xzb11B0XBClBxkQdTiNGaKvdJx+O X-Received: by 2002:a2e:1546:0:b0:24a:c194:ba39 with SMTP id 6-20020a2e1546000000b0024ac194ba39mr11236995ljv.65.1648754879217; Thu, 31 Mar 2022 12:27:59 -0700 (PDT) X-Received: by 2002:a2e:1546:0:b0:24a:c194:ba39 with SMTP id 6-20020a2e1546000000b0024ac194ba39mr11236988ljv.65.1648754878993; Thu, 31 Mar 2022 12:27:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jan Stancek Date: Thu, 31 Mar 2022 21:27:42 +0200 Message-ID: Subject: Re: RIP: 0010:param_get_bool.cold+0x0/0x2 - LTP read_all_sys - 5.17.0 To: Sean Christopherson Cc: Bruno Goncalves , kvm , "Bonzini, Paolo" , lkml , CKI Project , Li Wang Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 31, 2022 at 8:46 PM Sean Christopherson wrote: > > On Thu, Mar 31, 2022, Sean Christopherson wrote: > > On Wed, Mar 30, 2022, Jan Stancek wrote: > > > +CC kvm > > > > > > Issue seems to be that nx_huge_pages is not initialized (-1) and > > > attempted to be used as boolean when reading > > > /sys/module/kvm/parameters/nx_huge_pages > > > > Ugh, CONFIG_UBSAN_BOOL=y complains about a bool not being 0 or 1. What a pain. > > Side topic, any idea why your traces don't have the UBSAN output? I verified I guess that's because CONFIG_UBSAN_TRAP=y is also set. # grep UBSAN -r .config CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y CONFIG_UBSAN=y CONFIG_UBSAN_TRAP=y CONFIG_CC_HAS_UBSAN_BOUNDS=y CONFIG_UBSAN_BOUNDS=y CONFIG_UBSAN_ONLY_BOUNDS=y CONFIG_UBSAN_SHIFT=y # CONFIG_UBSAN_DIV_ZERO is not set CONFIG_UBSAN_BOOL=y CONFIG_UBSAN_ENUM=y CONFIG_UBSAN_SANITIZE_ALL=y # CONFIG_TEST_UBSAN is not set > that it's not a panic_on_warn thing. Having the UBSAN output in future bug reports > would be very helpful. > > [ 13.150244] ================================================================================ > [ 13.150780] UBSAN: invalid-load in kernel/params.c:320:33 > [ 13.151192] load of value 255 is not a valid value for type '_Bool' > [ 13.152079] ================================================================================ >