From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11D12C43387 for ; Mon, 31 Dec 2018 17:14:01 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C317421019 for ; Mon, 31 Dec 2018 17:14:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="uCTmNUI+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C317421019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1ge18R-0000JT-A4; Mon, 31 Dec 2018 12:13:51 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1ge18P-0000JK-Eo for kernelnewbies@kernelnewbies.org; Mon, 31 Dec 2018 12:13:49 -0500 Received: by mail-ed1-x52a.google.com with SMTP id o10so22897672edt.13 for ; Mon, 31 Dec 2018 09:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oKBzwdOkbk/tI9uCg8qFAeBjQsVXUf1xb8tx3iXX0wk=; b=uCTmNUI++G0YoEyoyklvZ6blzql6JnQu7Y4axJeb0YRWfCi60qzc384H7Ju6R4v23q BlD5GRxn0yFcZJPjOZFimZ1QlK/0S0q99Td49vUk69LUSyHPU+uu6fPGt4U+k9wqtouN ErGCEAXt1hYUyRO9ruwIkTB05Qt2qzfoWKsCs7HYrokVbiy/EYmRoTQBfJpxvCVp9ED8 zPcVCcFADIjRzvPJY3Rh41QDJbrbjS00VFIYzyr6ytF5ErEfNOfhM3DmSiV60dgeqjie NkCqw61eSi+kqraoNALuKKpZdABd00uOgh5bc0AtO7VP5E2qb3ME6jBROiV8XwLBicK5 kGYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oKBzwdOkbk/tI9uCg8qFAeBjQsVXUf1xb8tx3iXX0wk=; b=cOG97ojPhU2N7WI3HqswgvsJbCz9MuSlmg1ys1Lxc7Y/sBjoQGZNWUXYwecgJyGO3x 2AZ9PcUP4KSEJvb/trrTb2gKUvJwxmg0W0c2aAxzZC0O47nkM7DGKz2JVlDFJMvtRIKm Mz+vcr035554ju5kTiGYl462q/1gwt6MUWTL9Ah7rmtYJHbsPdKlrD/YAD9CaVDA1+oS 743+Btys8TnguvJc8prFyZFMpj9+BpHdMZVMeUuggR7tk5jJ4jD6vdmBuKJkbKMMwwDp 34YvA1/oAaH1R8dt0eDsdqIUIxgQUqaEhX4VOTWOYopJ1tMr6Jn5qPnuFIk1Jq0maaGj yeaw== X-Gm-Message-State: AA+aEWbqL3LU7ek4FyqLV0FfsUPr5hOuMkh8oouorr43qs8+7EdwItxy z8MZXEh8yCeRGpbHkwat9QJsMjyxyedqs/ZzZiujVA== X-Google-Smtp-Source: AFSGD/UgdwWFnefdW4flh4bbmJ6SD16HkoH8kbRPEuxlNf1h3zeLZGeoowdInBFvqNgOFw+K1XHHdLtxCXVAgCQUCUk= X-Received: by 2002:a50:b902:: with SMTP id m2mr31769027ede.108.1546276367467; Mon, 31 Dec 2018 09:12:47 -0800 (PST) MIME-Version: 1.0 References: <20181231143731.GA8140@gavran.carpriv.carnet.hr> <20181231170122.GB8140@gavran.carpriv.carnet.hr> In-Reply-To: <20181231170122.GB8140@gavran.carpriv.carnet.hr> From: Henry C Date: Tue, 1 Jan 2019 01:12:36 +0800 Message-ID: Subject: Re: Listing Supported Kernel Parameters? To: Valentin Vidic Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7123439743146164426==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============7123439743146164426== Content-Type: multipart/alternative; boundary="0000000000009b8a22057e5485f1" --0000000000009b8a22057e5485f1 Content-Type: text/plain; charset="UTF-8" Thanks for your direction! Found what I want! Appreicate! On Tue, Jan 1, 2019 at 1:01 AM Valentin Vidic wrote: > On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote: > > I just downloaded the source here: > > > http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm > > > > And to my surprise, I don't even see mce as a kernel parameter based on > the > > command you suggested: > > $ grep -r "early_param" . | grep mce > > $ > > > > So it seems like "early_param" only covers some kernel parameters but > not all. > > Indeed, mce param seems to be defined using __setup: > > __setup("mce", mcheck_enable); > __setup("nomce", mcheck_disable); > > -- > Valentin > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > --0000000000009b8a22057e5485f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for your direction!

Found what I= want!

Appreicate!

On Tue, Jan 1, 2019 at 1:01 AM Valentin Vidic &= lt;Valentin.Vidic@carnet.hr= > wrote:
On T= ue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:
> I just downloaded the source here:
> http://vault.= centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm >
> And to my surprise, I don't even see mce as a kernel parameter bas= ed on the
> command you suggested:
> $ grep -r "early_param" . | grep mce
> $
>
> So it seems like "early_param" only covers some kernel param= eters but not all.

Indeed, mce param seems to be defined using __setup:

__setup("mce", mcheck_enable);
__setup("nomce", mcheck_disable);

--
Valentin

_______________________________________________
Kernelnewbies mailing list
Kernel= newbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailma= n/listinfo/kernelnewbies
--0000000000009b8a22057e5485f1-- --===============7123439743146164426== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============7123439743146164426==--