mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 02:56:43 +07:00
abf917cd91
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING require low level hooks and involves more overhead. But we already have a generic context tracking subsystem that is required for RCU needs by archs which plan to shut down the tick outside idle. This patch implements a generic virtual based cputime accounting that relies on these generic kernel/user hooks. There are some upsides of doing this: - This requires no arch code to implement CONFIG_VIRT_CPU_ACCOUNTING if context tracking is already built (already necessary for RCU in full tickless mode). - We can rely on the generic context tracking subsystem to dynamically (de)activate the hooks, so that we can switch anytime between virtual and tick based accounting. This way we don't have the overhead of the virtual accounting when the tick is running periodically. And one downside: - There is probably more overhead than a native virtual based cputime accounting. But this relies on hooks that are already set anyway. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Li Zhong <zhong@linux.vnet.ibm.com> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Thomas Gleixner <tglx@linutronix.de>
189 lines
3.9 KiB
Plaintext
189 lines
3.9 KiB
Plaintext
CONFIG_PPC64=y
|
|
CONFIG_ALTIVEC=y
|
|
CONFIG_SMP=y
|
|
CONFIG_NR_CPUS=2
|
|
CONFIG_EXPERIMENTAL=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_MAC_PARTITION=y
|
|
# CONFIG_PPC_PSERIES is not set
|
|
# CONFIG_PPC_PMAC is not set
|
|
CONFIG_PPC_PASEMI=y
|
|
CONFIG_PPC_PASEMI_IOMMU=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
|
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
|
CONFIG_HZ_1000=y
|
|
CONFIG_PPC_64K_PAGES=y
|
|
# CONFIG_SECCOMP is not set
|
|
CONFIG_PCI_MSI=y
|
|
CONFIG_PCCARD=y
|
|
CONFIG_ELECTRA_CF=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_XFRM_USER=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
CONFIG_IP_PNP_RARP=y
|
|
CONFIG_NET_IPIP=y
|
|
CONFIG_SYN_COOKIES=y
|
|
CONFIG_INET_AH=y
|
|
CONFIG_INET_ESP=y
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CHAR=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_SLRAM=y
|
|
CONFIG_MTD_PHRAM=y
|
|
CONFIG_MTD_NAND=y
|
|
CONFIG_MTD_NAND_PASEMI=y
|
|
CONFIG_PROC_DEVICETREE=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=16384
|
|
CONFIG_EEPROM_LEGACY=y
|
|
CONFIG_IDE=y
|
|
CONFIG_BLK_DEV_IDECD=y
|
|
CONFIG_IDE_TASK_IOCTL=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_CHR_DEV_ST=y
|
|
CONFIG_CHR_DEV_OSST=y
|
|
CONFIG_BLK_DEV_SR=y
|
|
CONFIG_BLK_DEV_SR_VENDOR=y
|
|
CONFIG_CHR_DEV_SG=y
|
|
CONFIG_CHR_DEV_SCH=y
|
|
CONFIG_SCSI_MULTI_LUN=y
|
|
CONFIG_SCSI_CONSTANTS=y
|
|
CONFIG_SCSI_LOGGING=y
|
|
CONFIG_ATA=y
|
|
CONFIG_SATA_SIL24=y
|
|
CONFIG_SATA_MV=y
|
|
CONFIG_PATA_PCMCIA=y
|
|
CONFIG_PATA_PLATFORM=y
|
|
CONFIG_PATA_OF_PLATFORM=y
|
|
CONFIG_ATA_GENERIC=y
|
|
CONFIG_MD=y
|
|
CONFIG_BLK_DEV_MD=y
|
|
CONFIG_MD_LINEAR=y
|
|
CONFIG_MD_RAID0=y
|
|
CONFIG_MD_RAID1=y
|
|
CONFIG_MD_RAID10=y
|
|
CONFIG_MD_RAID456=y
|
|
CONFIG_BLK_DEV_DM=y
|
|
CONFIG_DM_CRYPT=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_DUMMY=y
|
|
CONFIG_MII=y
|
|
CONFIG_TIGON3=y
|
|
CONFIG_E1000=y
|
|
CONFIG_PASEMI_MAC=y
|
|
CONFIG_MARVELL_PHY=y
|
|
CONFIG_INPUT_JOYDEV=y
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
# CONFIG_MOUSE_PS2 is not set
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_LEGACY_PTY_COUNT=4
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_RAW_DRIVER=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_PASEMI=y
|
|
CONFIG_SENSORS_LM85=y
|
|
CONFIG_SENSORS_LM90=y
|
|
CONFIG_DRM=y
|
|
CONFIG_DRM_RADEON=y
|
|
CONFIG_FIRMWARE_EDID=y
|
|
CONFIG_FB_TILEBLITTING=y
|
|
CONFIG_FB_VGA16=y
|
|
CONFIG_FB_NVIDIA=y
|
|
CONFIG_FB_NVIDIA_I2C=y
|
|
CONFIG_FB_RADEON=y
|
|
# CONFIG_LCD_CLASS_DEVICE is not set
|
|
CONFIG_VGACON_SOFT_SCROLLBACK=y
|
|
CONFIG_LOGO=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
CONFIG_SND_MIXER_OSS=y
|
|
CONFIG_SND_PCM_OSS=y
|
|
CONFIG_SND_SEQUENCER_OSS=y
|
|
CONFIG_SND_USB_AUDIO=y
|
|
CONFIG_SND_USB_USX2Y=y
|
|
CONFIG_HID_DRAGONRISE=y
|
|
CONFIG_HID_GYRATION=y
|
|
CONFIG_HID_TWINHAN=y
|
|
CONFIG_HID_NTRIG=y
|
|
CONFIG_HID_PANTHERLORD=y
|
|
CONFIG_HID_PETALYNX=y
|
|
CONFIG_HID_SAMSUNG=y
|
|
CONFIG_HID_SONY=y
|
|
CONFIG_HID_SUNPLUS=y
|
|
CONFIG_HID_GREENASIA=y
|
|
CONFIG_HID_SMARTJOYPLUS=y
|
|
CONFIG_HID_TOPSEED=y
|
|
CONFIG_HID_THRUSTMASTER=y
|
|
CONFIG_HID_ZEROPLUS=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_UHCI_HCD=y
|
|
CONFIG_USB_SL811_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_EDAC=y
|
|
CONFIG_EDAC_MM_EDAC=y
|
|
CONFIG_EDAC_PASEMI=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_DS1307=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XATTR=y
|
|
CONFIG_EXT2_FS_POSIX_ACL=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_ISO9660_FS=y
|
|
CONFIG_UDF_FS=y
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_HUGETLBFS=y
|
|
CONFIG_CONFIGFS_FS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NFSD=y
|
|
CONFIG_NFSD_V4=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_CRC_CCITT=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
CONFIG_XMON=y
|
|
CONFIG_XMON_DEFAULT=y
|
|
CONFIG_CRYPTO_MD4=y
|
|
CONFIG_CRYPTO_SHA256=y
|
|
CONFIG_CRYPTO_SHA512=y
|
|
CONFIG_CRYPTO_BLOWFISH=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|