Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp520336ybi; Fri, 21 Jun 2019 03:41:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+MRiYVd91LLmxGA4Cgh6RFFFhmeDFQE3JSi5Gg5ahBUN8X+EinVRt+zW6jRLFUreCw6fh X-Received: by 2002:a17:902:2006:: with SMTP id n6mr74320460pla.232.1561113703212; Fri, 21 Jun 2019 03:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561113703; cv=none; d=google.com; s=arc-20160816; b=qz3tvchI0ZNCFpAYyXYDpCxYeG5mxRGTptbdeWBIHKtLE2nnZ5/Hp6bhBOh9pdJVSw j0PQ4TTP1LcJWRxuE0pZsCGqD3DWP3zRyxwpEsj6ppBZjBN/SqYxXd9wFgMs7yXWtqJj WOHoES/2yp+DBw4fGp/WMHoXrglxX+wZtj1F/PFqd4PBUat80inhUQcMHGJOF5Wjm/GQ VwCvG94l3FLzmaurEKrdxOzAthIIp5PG+p65o7VkHBO480AN3OvoK8j73IjTM7ilcSVQ PvUOIN52mj9G5BXUi3hitxnQGx1AntHiuECX73rfp7Gvzu1wvTvRN/FdzG2kSUbDDenj or4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IL6wFfDH5PumQxIP90CfkKkah9Se2UUK7tglZC5Zqzo=; b=UoN4K6dJ6h4h3w6oEQSZnBtdVcAuQiJQCfEFX4PJ9IbHmlp/jlR1CAfccl+LzaBSyj XV1tk38e/Cp1k77O4kDDG/EmfrIlFn+U4NjssRjn48fXbpQwa+YjYUnZgfm0avm9Pmrn q1w3jYJC2Zy2KDgPaFxIMepGgWXttNHyorAAY+QkK/G83bFwq+9hc3OVYZ0+KaS72x1p Jc3gUgxnKGpJBtT0J93LKWVCNzxlQsJuOotLHDjrEQCBXdl8hYuDLP1dJIwpbYEP4GWx 50CLjBdsdNblY2GuZhsRPe466WO7NL8EtngjzSyz8wAUFCl6cDnyuvo0AuQzXolHXy4Q zgiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g6si2337047plm.94.2019.06.21.03.41.27; Fri, 21 Jun 2019 03:41:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726440AbfFUKlR (ORCPT + 99 others); Fri, 21 Jun 2019 06:41:17 -0400 Received: from ns.iliad.fr ([212.27.33.1]:50854 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfFUKlR (ORCPT ); Fri, 21 Jun 2019 06:41:17 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id 88F26206B9; Fri, 21 Jun 2019 12:41:14 +0200 (CEST) Received: from [192.168.108.49] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id 6B85920687; Fri, 21 Jun 2019 12:41:14 +0200 (CEST) Subject: Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default To: Finn Thain Cc: Douglas Gilbert , Bart Van Assche , James Bottomley , Martin Petersen , SCSI , LKML , Christoph Hellwig References: <2de15293-b9be-4d41-bc67-a69417f27f7a@free.fr> <621306ee-7ab6-9cd2-e934-94b3d6d731fc@acm.org> <017cf3cf-ecd8-19c2-3bbd-7e7c28042c3c@free.fr> <48912bc0-8c79-408d-7ed2-c127b99b8bcc@interlog.com> From: Marc Gonzalez Message-ID: <5d9d0851-f864-6d78-7e7d-9d018bea5704@free.fr> Date: Fri, 21 Jun 2019 12:41:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Fri Jun 21 12:41:14 2019 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/06/2019 01:43, Finn Thain wrote: > On Thu, 20 Jun 2019, Marc Gonzalez wrote: > >> How likely is it that distro kernels would *not* enable CHR_DEV_SG? >> (Distros tend to enable everything, and then some.) > > How likely is it that embedded developers would *not* disable CHR_DEV_SG? > They tend to disable everything, and then enable only what they need. I don't see where you're going with this line of reasoning? Below is my current (as of next-20190612) defconfig. Notice the options marked as "not set". These are options that are enabled by default (and which I've disabled). Everyone thinks "their" option is critical (and it is, *to them*) but, in fact, few really are -- universally. When an option is enabled by default, it does not show up in defconfigs that want the option, and shows up as disabled in defconfigs that don't want it. Ideally, options would show as enabled in defconfigs that want the option, and not show in defconfigs that don't. I'm currently trying to change "enabled by default" for the following options: # CONFIG_SCSI_PROC_FS is not set # CONFIG_LCD_CLASS_DEVICE is not set # CONFIG_BACKLIGHT_CLASS_DEVICE is not set # CONFIG_COMMON_CLK_XGENE is not set # CONFIG_QCOM_A53PLL is not set # CONFIG_QCOM_CLK_APCS_MSM8916 is not set I guess SCSI_PROC_FS might be the more useful to me, as it might help debugging USB drive issues? In any event, I would rather have it show up explicitly in my defconfig, to remind me I've selected it. As for a few other "default on" options in my defconfig... - SWAP I guess goes all the way back to Linux 2.0 on x86 - EFI is enabled by default because "big" arm64 systems rely on it. But that's not true of smaller arm64 systems, based on DT. - Not sure about the IOSCHED algorithms. - IPV6 makes sense, to push for broader adoption TODO: look into HW_RANDOM and CRYPTO_HW # CONFIG_SWAP is not set CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y CONFIG_PREEMPT=y CONFIG_LOG_BUF_SHIFT=20 CONFIG_BLK_DEV_INITRD=y CONFIG_ARCH_QCOM=y CONFIG_CMDLINE="ignore_loglevel nosmp" # CONFIG_EFI is not set # CONFIG_SUSPEND is not set CONFIG_PM=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MQ_IOSCHED_DEADLINE is not set # CONFIG_MQ_IOSCHED_KYBER is not set CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y # CONFIG_IPV6 is not set # CONFIG_WIRELESS is not set CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_PCIE_QCOM=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_SCSI=y # CONFIG_SCSI_PROC_FS is not set CONFIG_BLK_DEV_SD=y CONFIG_SCSI_UFSHCD=y CONFIG_SCSI_UFSHCD_PLATFORM=y CONFIG_SCSI_UFS_QCOM=y CONFIG_NETDEVICES=y CONFIG_ATL1C=y # CONFIG_WLAN is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_SERIO_SERPORT is not set CONFIG_VT_HW_CONSOLE_BINDING=y CONFIG_LEGACY_PTY_COUNT=16 CONFIG_SERIAL_8250=y CONFIG_SERIAL_MSM=y CONFIG_SERIAL_MSM_CONSOLE=y CONFIG_SERIAL_DEV_BUS=y # CONFIG_HW_RANDOM is not set CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_QUP=y CONFIG_SPMI=y CONFIG_PINCTRL_MSM8998=y CONFIG_THERMAL=y CONFIG_QCOM_TSENS=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_QCOM_SMD_RPM=y # CONFIG_LCD_CLASS_DEVICE is not set # CONFIG_BACKLIGHT_CLASS_DEVICE is not set CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SOC=y CONFIG_SND_SOC_WCD9335=y # CONFIG_HID is not set # CONFIG_USB_HID is not set CONFIG_USB=y # CONFIG_USB_PCI is not set CONFIG_USB_XHCI_HCD=y CONFIG_USB_STORAGE=y CONFIG_USB_DWC3=y # CONFIG_COMMON_CLK_XGENE is not set CONFIG_COMMON_CLK_QCOM=y # CONFIG_QCOM_A53PLL is not set # CONFIG_QCOM_CLK_APCS_MSM8916 is not set CONFIG_QCOM_CLK_SMD_RPM=y CONFIG_MSM_GCC_8998=y CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y CONFIG_MAILBOX=y CONFIG_QCOM_APCS_IPC=y CONFIG_ARM_SMMU=y CONFIG_RPMSG_QCOM_GLINK_RPM=y CONFIG_RPMSG_QCOM_GLINK_SMEM=y CONFIG_RPMSG_QCOM_SMD=y CONFIG_RPMSG_VIRTIO=y CONFIG_QCOM_COMMAND_DB=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_SMD_RPM=y CONFIG_IIO=y CONFIG_PHY_QCOM_QMP=y CONFIG_PHY_QCOM_QUSB2=y CONFIG_NVMEM=y CONFIG_QCOM_QFPROM=y CONFIG_SLIMBUS=y CONFIG_SLIM_QCOM_CTRL=y CONFIG_INTERCONNECT=y CONFIG_INTERCONNECT_QCOM=y CONFIG_TMPFS=y # CONFIG_CRYPTO_HW is not set CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y CONFIG_STACKTRACE=y