Skip to content

Instantly share code, notes, and snippets.

View djbw's full-sized avatar

Dan Williams djbw

  • Intel
  • United States
View GitHub Profile
kvm=(
$qemu
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 16G,slots=4,maxmem=512G
-machine q35,accel=kvm,usb=off,vmport=off,nvdimm=on,cxl=on
-bios /usr/share/OVMF/OVMF_CODE.fd
[global]
name=fio-rand
rw=randrw
rwmixread=0
norandommap=1
invalidate=0
bs=4k
numjobs=24
time_based=1
clocksource=cpu
XFS (pmem0): DAX enabled. Warning: EXPERIMENTAL, use at your own risk
XFS (pmem0): Mounting V5 Filesystem
XFS (pmem0): Ending clean mount
XFS (pmem1): DAX enabled. Warning: EXPERIMENTAL, use at your own risk
XFS (pmem1): Mounting V5 Filesystem
XFS (pmem1): Ending clean mount
sysrq: SysRq : Show Blocked State
task PC stack pid father
systemd-journal D 0 1330 1 0x000001a0
Call Trace:
[ 0.000000] Linux version 4.20.0-rc1+ (dwillia2@dwillia2-desk3.amr.corp.intel.com) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)) #2620 SMP Fri Nov 16 19:45:54 PST 2018
[ 0.000000] Command line: root=/dev/nfs ip=dhcp earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 ignore_loglevel sysrq_always_enabled selinux=0 numa=fake=2U hung_task_panic=1 softlockup_panic=1 ftrace_dump_on_oops memmap=4G!8G libnvdimm.dyndbg=+fp nfit_test.dyndbg nfit.dyndbg slub_debug=FZP vm_debug=- dyndbg="func devm_memremap_pages +p" dyndbg="func arch_add_memory +p" dyndbg="func shuffle_zone_order +p" printk.devkmsg=on rw
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' forma
#!/bin/bash -x
#qemu=qemu-kvm
qemu=$HOME/git/qemu/build/x86_64-softmmu/qemu-system-x86_64
kernel=/var/lib/libvirt/images/kernels/bzImage
initrd=$HOME/initramfs-nfs-4.17.img
mem=$HOME/mem
label_size=$((128*1024))
mem_size=$((31 << 30))
IMAGE=$HOME/ahci.img
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c
index 2be8373153ed..03d773096f4e 100644
--- a/drivers/acpi/nfit/core.c
+++ b/drivers/acpi/nfit/core.c
@@ -1275,7 +1275,7 @@ static ssize_t scrub_show(struct device *dev,
mutex_lock(&acpi_desc->init_mutex);
rc = sprintf(buf, "%d%s", acpi_desc->scrub_count,
- work_busy(&acpi_desc->dwork.work)
+ acpi_desc->scrub_busy
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.0-rc8 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
[51765.954914] ACPI Error: Table ffff9e021a40a1a0, Validation count is zero after increment
[51765.963935] (20160930/tbutils-423)
[51826.976007] ACPI Error: Table ffff9e021a40a1a0, Validation count is zero after increment
[51826.985033] (20160930/tbutils-423)
[51826.998320] ACPI Error: Table ffff9e021a40a1a0, Validation count is zero after increment
[51827.007341] (20160930/tbutils-423)
[51888.019000] ACPI Error: Table ffff9e021a40a1a0, Validation count is zero after increment
[51888.028024] (20160930/tbutils-423)
[51888.040907] ACPI Error: Table ffff9e021a40a1a0, Validation count is zero after increment
[51888.049923] (20160930/tbutils-423)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.11.0-rc2 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
@djbw
djbw / .config
Created April 18, 2017 22:59
v4.11-rc nfit_test config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.11.0-rc4 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"