<html><body><p>taskboxtester@gmail.com liked your message with <a href=http://bxr.io/PBIGU>Boxer for Android</a>.</p></body></html><br/><div class="quote">On Sep 1, 2017 10:48 AM, Jeff Cook <jeff@jeffcook.io> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">On Wed, Aug 30, 2017, at 10:57 AM, Adam Borowski wrote:
<br>
> On Tue, Aug 29, 2017 at 08:56:15PM -0400, Jerome Glisse wrote:
<br>
> > I will wait for people to test and for result of my own test before
<br>
> > reposting if need be, otherwise i will post as separate patch.
<br>
> >
<br>
> > > But from a _very_ quick read-through this looks fine. But it obviously
<br>
> > > needs testing.
<br>
> > >
<br>
> > > People - *especially* the people who saw issues under KVM - can you
<br>
> > > try out Jérôme's patch-series? I aded some people to the cc, the full
<br>
> > > series is on lkml. Jérôme - do you have a git branch for people to
<br>
> > > test that they could easily pull and try out?
<br>
> >
<br>
> > https://cgit.freedesktop.org/~glisse/linux mmu-notifier branch
<br>
> > git://people.freedesktop.org/~glisse/linux
<br>
>
<br>
> Tested your branch as of 10f07641, on a long list of guest VMs.
<br>
> No earth-shattering kaboom.
<br>
<br>
I've been using the mmu_notifier branch @ a3d944233bcf8c for the last 36
<br>
hours or so, also without incident.
<br>
<br>
Unlike most other reporters, I experienced a similar splat on 4.12:
<br>
<br>
Aug 03 15:02:47 kvm_master kernel: ------------[ cut here ]------------
<br>
Aug 03 15:02:47 kvm_master kernel: WARNING: CPU: 13 PID: 1653 at
<br>
arch/x86/kvm/mmu.c:682 mmu_spte_clear_track_bits+0xfb/0x100 [kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: Modules linked in: vhost_net vhost
<br>
tap xt_conntrack xt_CHECKSUM iptable_mangle ipt_REJECT nf_reject_ipv4
<br>
xt_tcpudp tun ebtable_filter ebtables ip6table_filter ip6_tables
<br>
iptable_filter msr nls_iso8859_1 nls_cp437 intel_rapl ipt_
<br>
MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4
<br>
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack sb_edac
<br>
x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul
<br>
crc32_pclmul ghash_clmulni_intel input_leds pcbc aesni_intel led_class
<br>
aes_x86_6
<br>
4 mxm_wmi crypto_simd glue_helper uvcvideo cryptd videobuf2_vmalloc
<br>
videobuf2_memops igb videobuf2_v4l2 videobuf2_core snd_usb_audio
<br>
videodev media joydev ptp evdev mousedev intel_cstate pps_core mac_hid
<br>
intel_rapl_perf snd_hda_intel snd_virtuoso snd_usbmidi_lib snd_hda_codec
<br>
snd_oxygen_lib snd_hda_core
<br>
Aug 03 15:02:47 kvm_master kernel: snd_mpu401_uart snd_rawmidi
<br>
snd_hwdep snd_seq_device snd_pcm snd_timer snd soundcore i2c_algo_bit
<br>
pcspkr i2c_i801 lpc_ich ioatdma shpchp dca wmi acpi_power_meter tpm_tis
<br>
tpm_tis_core tpm button bridge stp llc sch_fq_codel virtio_pci
<br>
virtio_blk virtio_balloon virtio_net virtio_ring virtio kvm_intel kvm sg
<br>
ip_tables x_tables hid_logitech_hidpp hid_logitech_dj hid_generic
<br>
hid_microsoft usbhid hid sr_mod cdrom sd_mod xhci_pci ahci libahci
<br>
xhci_hcd libata usbcore scsi_mod usb_common zfs(PO) zunicode(PO)
<br>
zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) drm_kms_helper
<br>
syscopyarea sysfillrect sysimgblt fb_sys_fops drm vfio_pci irqbypass
<br>
vfio_virqfd vfio_iommu_type1 vfio vfat fat ext4 crc16 jbd2 fscrypto
<br>
mbcache dm_thin_pool dm_cache dm_persistent_data dm_bio_prison dm_bufio
<br>
dm_raid raid456 libcrc32c
<br>
Aug 03 15:02:47 kvm_master kernel: crc32c_generic crc32c_intel
<br>
async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq
<br>
dm_mod dax raid1 md_mod
<br>
Aug 03 15:02:47 kvm_master kernel: CPU: 13 PID: 1653 Comm: kworker/13:2
<br>
Tainted: P B D W O 4.12.3-1-ARCH #1
<br>
Aug 03 15:02:47 kvm_master kernel: Hardware name: Supermicro
<br>
SYS-7038A-I/X10DAI, BIOS 2.0a 11/09/2016
<br>
Aug 03 15:02:47 kvm_master kernel: Workqueue: events mmput_async_fn
<br>
Aug 03 15:02:47 kvm_master kernel: task: ffff9fa89751b900 task.stack:
<br>
ffffc179880d8000
<br>
Aug 03 15:02:47 kvm_master kernel: RIP:
<br>
0010:mmu_spte_clear_track_bits+0xfb/0x100 [kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: RSP: 0018:ffffc179880dbc20 EFLAGS:
<br>
00010246
<br>
Aug 03 15:02:47 kvm_master kernel: RAX: 0000000000000000 RBX:
<br>
00000009c07cce77 RCX: dead0000000000ff
<br>
Aug 03 15:02:47 kvm_master kernel: RDX: 0000000000000000 RSI:
<br>
ffff9fa82d6d6f08 RDI: fffff6e76701f300
<br>
Aug 03 15:02:47 kvm_master kernel: RBP: ffffc179880dbc38 R08:
<br>
0000000000100000 R09: 000000000000000d
<br>
Aug 03 15:02:47 kvm_master kernel: R10: ffff9fa0a56b0008 R11:
<br>
ffff9fa0a56b0000 R12: 00000000009c07cc
<br>
Aug 03 15:02:47 kvm_master kernel: R13: ffff9fa88b990000 R14:
<br>
ffff9f9e19dbb1b8 R15: 0000000000000000
<br>
Aug 03 15:02:47 kvm_master kernel: FS: 0000000000000000(0000)
<br>
GS:ffff9fac5f340000(0000) knlGS:0000000000000000
<br>
Aug 03 15:02:47 kvm_master kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
<br>
0000000080050033
<br>
Aug 03 15:02:47 kvm_master kernel: CR2: ffffd1b542d71000 CR3:
<br>
0000000570a09000 CR4: 00000000003426e0
<br>
Aug 03 15:02:47 kvm_master kernel: DR0: 0000000000000000 DR1:
<br>
0000000000000000 DR2: 0000000000000000
<br>
Aug 03 15:02:47 kvm_master kernel: DR3: 0000000000000000 DR6:
<br>
00000000fffe0ff0 DR7: 0000000000000400
<br>
Aug 03 15:02:47 kvm_master kernel: Call Trace:
<br>
Aug 03 15:02:47 kvm_master kernel: drop_spte+0x1a/0xb0 [kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: mmu_page_zap_pte+0x9c/0xe0 [kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: kvm_mmu_prepare_zap_page+0x65/0x310
<br>
[kvm]
<br>
Aug 03 15:02:47 kvm_master kernel:
<br>
kvm_mmu_invalidate_zap_all_pages+0x10d/0x160 [kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: kvm_arch_flush_shadow_all+0xe/0x10
<br>
[kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: kvm_mmu_notifier_release+0x2c/0x40
<br>
[kvm]
<br>
Aug 03 15:02:47 kvm_master kernel: __mmu_notifier_release+0x44/0xc0
<br>
Aug 03 15:02:47 kvm_master kernel: exit_mmap+0x142/0x150
<br>
Aug 03 15:02:47 kvm_master kernel: ? kfree+0x175/0x190
<br>
Aug 03 15:02:47 kvm_master kernel: ? kfree+0x175/0x190
<br>
Aug 03 15:02:47 kvm_master kernel: ? exit_aio+0xc6/0x100
<br>
Aug 03 15:02:47 kvm_master kernel: mmput_async_fn+0x4c/0x130
<br>
Aug 03 15:02:47 kvm_master kernel: process_one_work+0x1de/0x430
<br>
Aug 03 15:02:47 kvm_master kernel: worker_thread+0x47/0x3f0
<br>
Aug 03 15:02:47 kvm_master kernel: kthread+0x125/0x140
<br>
Aug 03 15:02:47 kvm_master kernel: ? process_one_work+0x430/0x430
<br>
Aug 03 15:02:47 kvm_master kernel: ? kthread_create_on_node+0x70/0x70
<br>
Aug 03 15:02:47 kvm_master kernel: ret_from_fork+0x25/0x30
<br>
Aug 03 15:02:47 kvm_master kernel: Code: ec 75 04 00 48 b8 00 00 00 00
<br>
00 00 00 40 48 21 da 48 39 c2 0f 95 c0 eb b2 48 d1 eb 83 e3 01 eb c0 4c
<br>
89 e7 e8 f7 3d fe ff eb a4 <0f> ff eb 8a 90 0f 1f 44 00 00 55 48 89 e5
<br>
53 89 d3 e8 ff 4a fe
<br>
Aug 03 15:02:47 kvm_master kernel: ---[ end trace 8710f4d700a7d36e ]---
<br>
<br>
This would typically take 36-48 hours to surface, so we're good so far,
<br>
but not completely out of the woods yet. I'm optimistic that since this
<br>
patchset changes the mmu_notifier behavior to something safer in
<br>
general, this issue will also be resolved by it.
<br>
<br>
Jeff
<br>
<br>
>
<br>
>
<br>
> Meow!
<br>
> --
<br>
> ⢀⣴⠾⠻⢶⣦⠀
<br>
> ⣾⠁⢰⠒⠀⣿⡁ Vat kind uf sufficiently advanced technology iz dis!?
<br>
> ⢿⡄⠘⠷⠚⠋⠀ -- Genghis Ht'rok'din
<br>
> ⠈⠳⣄⠀⠀⠀⠀
<br>
</p>
</blockquote></div>