From owner-soc-status@freebsd.org Mon Jul 2 17:16:27 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6917810303B0 for ; Mon, 2 Jul 2018 17:16:27 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D471671778; Mon, 2 Jul 2018 17:16:26 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: by mail-ed1-f47.google.com with SMTP id u11-v6so3178039eds.10; Mon, 02 Jul 2018 10:16:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=k+jgqU1bR0MZq4lpx3PdTalRElkI1oJnTixExiV25Ak=; b=OW0niIr4CDE6Xa7tH3pWQ7onEBXkUbYcmR+5za5XsCj7Pi4j0u9Oni1OJ31kXFPsuO oc+wkEDzQ+Q6dCcOZ2IwqsJIAbSw91H3qBf0OGbuT0ow0puzRZ4up53OZJz0/cVGshXR 7kPvlKjlOU3c0DDl+YnRZh8TYKNkmwO7y26mv5U51lbbSYfsnTyKR6mioeX9mpWOi2XE qGDEvxFwaS/j3Iasz5sa2Ha9DI3ATwYIu+L9ukqXxRSMhGg6fvLHUjBCUXQXImBqrbIk ytjol0+7P64GYwEdrFt0KjzxVL3eWEW7XndoIHD1v8RuwX2youVC6S0YNnIu1j9j73Hj V9cA== X-Gm-Message-State: APt69E0cruyUT3ce+geXFPQWttM6w4SIjuAIXfpmfo7e5piU89AWmHpx udpvVrKkcYGcn9EALsml7xk3fyTZ X-Google-Smtp-Source: AAOMgpc5yG3hk2wb0vwwZutZGd5Eno4onaj9sptjGb8OyQmFtRtbi2PuM7R/gOfz4+UgSdFsvDpivg== X-Received: by 2002:a50:9aa4:: with SMTP id p33-v6mr10121767edb.218.1530551779950; Mon, 02 Jul 2018 10:16:19 -0700 (PDT) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com. [74.125.82.41]) by smtp.gmail.com with ESMTPSA id j24-v6sm4584733edr.90.2018.07.02.10.16.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 10:16:19 -0700 (PDT) Received: by mail-wm0-f41.google.com with SMTP id n17-v6so9506017wmh.2; Mon, 02 Jul 2018 10:16:19 -0700 (PDT) X-Received: by 2002:a1c:815:: with SMTP id 21-v6mr1108161wmi.151.1530551779275; Mon, 02 Jul 2018 10:16:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5d:4151:0:0:0:0:0 with HTTP; Mon, 2 Jul 2018 10:16:18 -0700 (PDT) From: Aniket Pandey Date: Mon, 2 Jul 2018 22:46:18 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC-18] Regression Test-Suite for Audit Framework [Week-7] To: soc-status@freebsd.org Cc: George Neville-Neil , robert.watson@cl.cam.ac.uk, Alan Somers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2018 17:16:27 -0000 Hello All, This week, I primarily worked on getting the process-control system calls merged. Here is the source file for "pc" test-cases in Head [1]. There were a total of 37 auditable syscalls in this audit class out of which 34 have been merged. Out of the three, two are responsible for enforcing capability mode on the process and retrieving the capability status of the process, i.e cap_enter(2) and cap_getmode(2), while the other one is jail(2). I've developed the test-cases for cap_getmode(2) and will soon create a revision for it, however with cap_enter(2), I had trouble in the case when auditd(8) is already running. I'm currently looking into this matter and would try to resolve it as soon as possible. Also, I had somehow overlooked the "miscellaneous" (ot) audit class. This class contains audit(2), setpriority(2), sysctl(3) and sysarch(2). I'll work on testing their auditability too. I was able to get swap{on/off}(2) to work with my System Swap device, which is listed as an entry in /etc/fstab. The block device name can be obtained from the "fs_spec" member of "struct fstab" using getfsent(3) available in . However, tampering with main swap device while running Atf tests is not recommended. Thus, I'll try to replicate the device's behavior and see if it is possible to test swap{on/off}(2) that way. Overall, a total of 389 atf-c(3) and atf-sh(3) test-cases for 174 system calls and praudit(1) utility have been merged in Head. If anyone is interested, please do give these tests a run and if you notice any issues, please do inform me about it. The tests can be found here [2] (audit.4) and here [3] (praudit.1) Thank you, With best regards, Aniket Pandey Project Wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/RegressionTestSuiteForAuditFramework [1] https://github.com/freebsd/freebsd/blob/master/tests/sys/audit/process-control.c [2] https://github.com/freebsd/freebsd/blob/master/tests/sys/audit/ [3] https://github.com/freebsd/freebsd/tree/master/usr.sbin/praudit From owner-soc-status@freebsd.org Tue Jul 3 01:48:09 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E221FED4B2 for ; Tue, 3 Jul 2018 01:48:09 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6CC3849AE for ; Tue, 3 Jul 2018 01:48:08 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-oi0-f65.google.com with SMTP id s198-v6so626439oih.11 for ; Mon, 02 Jul 2018 18:48:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nKgODbtgpGneInNZBsq3VBWJRZ+Zpq9T2zppxvSP744=; b=d6si2o5AefjADJVTvOFEQjcSM/MZ5WSbgY00H0iTv5RZIFeQ1NKPHiQQCZolo34WzN WqCz2xDETA/sGC39jhieoI5LzUkQd5334Ciff3oKydKXVG4H+nLHpMqHG8Prcl9pLHLs X/u+PEncr3MfHGF2IbZf9QdW4I7ZEZG25i2by/W1vb94tDGOpdHsBQfV6JvKrQXwh/eO sVEpOwICAt/7cVSPOZsXuEjZvMide08vqeDJ19YO8b6AonB1xfQHt+C6OJFt5/6HOBwi xVsvEr2k5V9HStf2i9EVCmSo7u1vq2GhczwVCT/IlQFFHgtxmN1yxwzqTPYlcc/bKhWg fD8A== X-Gm-Message-State: APt69E0dOrldU1VzR6EwdLXG7s2J/rHvCzDln/Dndo9RpoFlX0ZWrByl ybBUSlTDngs/Sj4qMsmELJEFeI4l X-Google-Smtp-Source: AAOMgpd77FBWlN27p2Iuk2EnVzYC2m2MXLpYeqXbI2rFD38RqvAOyt3nHyFz7dK6Qgzn9XUNi6DLQQ== X-Received: by 2002:aca:2cce:: with SMTP id s197-v6mr12692140ois.125.1530580953887; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com. [209.85.218.45]) by smtp.gmail.com with ESMTPSA id x36-v6sm7624509otd.18.2018.07.02.18.22.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 18:22:33 -0700 (PDT) Received: by mail-oi0-f45.google.com with SMTP id c6-v6so589763oiy.0 for ; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) X-Received: by 2002:aca:3002:: with SMTP id w2-v6mr17172028oiw.29.1530580953347; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Kamireddy Date: Tue, 3 Jul 2018 01:22:21 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 7 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 01:48:09 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. This week I have worked on other PCI drivers. I converted et, ipw, ismt PCI drivers. I fixed numerous style issues. [1] -[3] I have added the Plug and Play information for them and found them to be used by devmatch to match them with modules automatically. I resolved all build issues. We have migrated the reviews to Phabricator and see that it is pretty cool. Phabricator reviews can be found here. [4]-[6] We need to convert the drivers in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers so as to make it easy for kldxref to find them. In a couple of drivers I have added tables and modified the probe function. At the same time, I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [7] Please find my updated project homepage here. [8] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/4 [2] https://github.com/bsdimp/freebsd/pull/6 [3] https://github.com/bsdimp/freebsd/pull/7 [4] https://reviews.freebsd.org/D15995 [5] https://reviews.freebsd.org/D15996 [6] https://reviews.freebsd.org/D15979 [7] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [8] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables From owner-soc-status@freebsd.org Tue Jul 3 10:56:15 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6A641035505 for ; Tue, 3 Jul 2018 10:56:15 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30B067A7BA for ; Tue, 3 Jul 2018 10:56:15 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id g12-v6so1290353edi.9 for ; Tue, 03 Jul 2018 03:56:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BSm5LZxoHZIvQhscYlaExm/OMZdZv3lBbfJdwC7TJds=; b=sa5LIBwWxIRCGgxb+NYZqAjdSiL49NM1gtFg9oKc3G+o7SkC9wgrX+InX5oHHS0JVy X+tMsResN7LMgTfAr6sooplZncn7P6JbVH36Nq5YFmMxJaqev+M3SOH4iAsVMo5pVI6a V3NU0G4Swa9n/TCXEkAWQkhvCqUKuWFjCcbAL0zaLcUOByxmD0DAeEHQAl4k8PkcWfDo MDbgxpy+R+1bET9TLK0Eemxq1CJDOa6Cc5Frl5FeUzWiv8TxU4QwFb5m4uBdBxqjFfaQ bPJJ018VZ5Xz1vhomIafpCJ8i0fx7BrNh1jQpcHvw3E5TekBG6Zg6VRkntRXlseTkamt KK5w== X-Gm-Message-State: APt69E1gibv9ArLUUOl+6QQKau1kdZo4E36x/FmWFIJb2l1JuSRBYlRt OCPDXeX8zR3lp4lKdrriUuCWdjBA X-Google-Smtp-Source: AAOMgpeq03RQVtF9x3h5+/7Eijtw/GBGTFzEwqXrGK3suyCIcfDxN+QfCXZpjCHtb2p51kQkO7zKOw== X-Received: by 2002:a50:b178:: with SMTP id l53-v6mr6324015edd.306.1530597293295; Mon, 02 Jul 2018 22:54:53 -0700 (PDT) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com. [209.85.208.53]) by smtp.gmail.com with ESMTPSA id p59-v6sm329048edp.54.2018.07.02.22.54.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 22:54:53 -0700 (PDT) Received: by mail-ed1-f53.google.com with SMTP id a5-v6so711292edt.5 for ; Mon, 02 Jul 2018 22:54:53 -0700 (PDT) X-Received: by 2002:a50:b178:: with SMTP id l53-v6mr6323995edd.306.1530597292945; Mon, 02 Jul 2018 22:54:52 -0700 (PDT) MIME-Version: 1.0 From: Pratyush Yadav Date: Tue, 3 Jul 2018 11:24:16 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [Week 7] Import the Xen grant-table bus_dma(9) handlers from OpenBSD To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 10:56:15 -0000 Hi, At this point, the Xen-specific bus_dma(9) implementation is nearly complete, with some minor fixes and additions required. So this last week I went through the blkfront driver, so I can understand how it works before starting to convert it to use the xen busdma. That itself raised the question, how would a driver use the xen busdma implementation, instead of the default implementation? After some help from Roger, I modified xenpv.c to return the new implementation's tag when a driver calls its bus_get_dma_tag(). Functionality to "bootstrap" the dma tag was also added to busdma_xen. This week, I will try to convert the blkfront driver to use the Xen's busdma implementation. You can check the code here [0]. I maintain a blog on Blogger where I publish my progress every few days. Check it out if you want more details on what I'm doing [1]. [0] https://pratyushgsoc.blogspot.com/ [1] https://github.com/prati0100/freebsd/tree/master -- Regards, Pratyush Yadav From owner-soc-status@freebsd.org Tue Jul 3 15:58:38 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFC98102C7F4 for ; Tue, 3 Jul 2018 15:58:38 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA3988EA1 for ; Tue, 3 Jul 2018 15:58:38 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-it0-x232.google.com with SMTP id j185-v6so3570011ite.1 for ; Tue, 03 Jul 2018 08:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=T7ZOob+UVNJmV+4LyQXsyq6STByfNtpBm296ubb85jo=; b=Og9R4hn8ODnnupVyc2Dmcy4qDxk+14IzdD2T6N5vjb/S3nvdioSwQ4t56IKFH6uA1M 3/hB17TZVUYvKEQT9Gpx/fc20H4xYB/ANY1lYMOM1LYcqqM/e8akA3CwKwdGmnEgh7YY uw6AzZs7Xk/ehNpr3kvQvYZ6f9EhhbgjHrXo45dxMlWwyRqwTE2wekVs2CDtABJ+vP10 eLxkbdS8ppmrLYnCv7+C3qMJ+trdtRvZJw4SNX2dFQwI0ogSwHwPSCc0uez+a9HoTFKs aUl+gEtgVHEJxDYfd7WMySF6KrqK2WBviBd7ZEEo3KUTn8jewFF6GRhvDr3/SlyV2743 krMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=T7ZOob+UVNJmV+4LyQXsyq6STByfNtpBm296ubb85jo=; b=PwLmwmnRUb8RAnn6zBAjb6nZopgKzQf4KrRoANs4+Lk2UGq2JmjjnPdpJxxUPAijof 9rIVEqfNx5DriBbsS2mRZKiQm8pkjyAbwSIfu3KL761IdYr5DztMWu5hz6HuUJWm0c1D fAJ17qXIudSijP837CwDTzIe963EqsF/yDNrog5B7v0+fz2AB6XyDufvw/znifaLdJYq 3Gv5paeKr8jfzpBS+zBMS7TyVrbzyWWbi56RlOH9Iev3mTOyxoV6U4hKHqMUCg7fxIgS h4nbt3ZNvER38vdOkHfA3CugttVKeHPLjXpMhlS20jfhd8zfhD5ZS2PJXyddVi/pFyys THDA== X-Gm-Message-State: APt69E3FvdbFJIBiaZKfl4JkXT7jLGwvXSEjDO8uIzvfz+aWVlKCKvQK o+u2ic5KyH5zxA1yQKPFWFBD+BR5n9fJi9htDKpMWy7y X-Google-Smtp-Source: AAOMgpeCOliJEPd6Hq+fYAOywo6sAp2JYb+1cn/RZS5o8A6zRU8qJ8ZWnCDZUimCCRgp2JABguBzZyaebJSxHBQ0ScM= X-Received: by 2002:a02:9936:: with SMTP id r51-v6mr8058540jaj.46.1530633516993; Tue, 03 Jul 2018 08:58:36 -0700 (PDT) MIME-Version: 1.0 From: Stefano Duo Date: Tue, 3 Jul 2018 17:58:28 +0200 Message-ID: Subject: Extensions to the netmap framework - Week 7 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 15:58:39 -0000 Hi, during the seventh week i focused on writing a bash library to ease the work (and lines of code) needed to write a test case. The following utilities are provided: - wrappers to start, stop and restart fd_server. - wrappers to check if a command has been executed successfully and take action if it has not. - register multiple commands that will be executed at the end of the script (it seems that bash only allows 1 per-signal). - create VALE persistent ports, and veth interfaces, that will be destroyed when the script ends. - attach an interface to a VALE bridge, that interface will be detached at the end of the script. - a function to generate random MAC addresses. - a function to parse arguments common to all test scripts. While i was writing the library i started to write some test case to check if everything worked correctly. Project wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/ExtensionsToNetmap SVN repository: https://svnweb.freebsd.org/socsvn/soc2018/sduo/ Stefano. From owner-soc-status@freebsd.org Thu Jul 5 07:08:46 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEBC5102C7E6 for ; Thu, 5 Jul 2018 07:08:46 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [IPv6:2a00:1398:9:f712::810d:e751]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A66A8C7C9; Thu, 5 Jul 2018 07:08:46 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from tr-v1239-fse.scc.kit.edu ([2a00:1398:e:28::2] helo=server-01.fs-etec.kit.edu) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1fayNe-0004dC-CB; Thu, 05 Jul 2018 09:08:44 +0200 Received: from Chris-TP.fritz.box (p200300D2EF0EC00024C8A188E2FBBF67.dip0.t-ipconnect.de [IPv6:2003:d2:ef0e:c000:24c8:a188:e2fb:bf67]) by server-01.fs-etec.kit.edu (Postfix) with ESMTPSA id 49460188F15; Thu, 5 Jul 2018 09:08:41 +0200 (CEST) Date: Thu, 5 Jul 2018 09:07:15 +0200 From: Christian =?ISO-8859-1?Q?Kr=E4mer?= To: soc-status@freebsd.org Cc: Chuck Tuffli , Luiz Otavio O Souza Subject: User space interface for GPIO interrupts / Status Report Weeks 6+7 Message-Id: <20180705090715.cd9063a3c897ed9872885ffd@student.kit.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 07:08:47 -0000 Hi all, during the last two weeks I implemented the second part of the long-term test, which is an utility that replays the same PRNG as the interrupt source and predicts when the next interrupt should occur. I also added some functions to libgpio to handle the driver and modified the configuration utility in order to use these functions instead of calling ioctl() directly. Currently I am still working on the pin distinction which requires changes to many parts of the driver, but this should be done after this week. The configuration will be sticked to the file descriptor. I also took a closer look at asynchronous I/O and did some tests, but currently only unsafe AIO is possible, because the read() syscall does always block. Due to this the implementation of the read() syscall will be changed to allow non-blocking calls also. The source code of the driver can be found in my fork of the FreeBSD src tree on GitHub [1]. The utilities for configuration and testing are located in a separate repository [2]. Regards, Chris [1] [2] From owner-soc-status@freebsd.org Thu Jul 5 13:04:46 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5341F1027520 for ; Thu, 5 Jul 2018 13:04:46 +0000 (UTC) (envelope-from sudh.cse@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C58017B24B for ; Thu, 5 Jul 2018 13:04:45 +0000 (UTC) (envelope-from sudh.cse@gmail.com) Received: by mail-it0-x232.google.com with SMTP id l16-v6so12237607ita.0 for ; Thu, 05 Jul 2018 06:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kAnHa3WNrSSR3XxHMaIpBj9dlVYTxrEg38AgOl+QVCM=; b=MVGzlBawph/RNa8lD8ZkH+l1+oEY+Eo/WdM6x2dm1TqtSzb13M7RmQyt+fHB2Ye1OS O4sDuAxZ6hraWdKuiGJes26CuabSiKYRs3uD1CNep/59tXm4QCtAnuO8hgxMStaJjN51 SiuzsEw43cWC3nvGRRYssqMClJP192C++nbs5jL7FxhGSdUfxNczLwQVINL5vTpd5VvT OBWvIrW3KD1aJ7IQw8v4plaHsylCW4HBW1r7AXZsUAj+9zwH4zbIatneg0FiCgQ+c5PL 9x55oBjhVEhPB4LjnHGWX/BQYrpjanGkHlMm0UH2XhO4T3laSsdltHPvmm8xIBWOVNDj oWtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kAnHa3WNrSSR3XxHMaIpBj9dlVYTxrEg38AgOl+QVCM=; b=onaVCN+RYNWu2RySwG7lDMGde63lPIPDzi5rzuzUwsE7iJpqH7/E6LsB3f5aYv0Be+ HrcFKP4Kmcvp7Bcryxz7L01rwLmSh6fkko5gIX5aFmKgkwfAqA4DkkIdO3QY+CHro2fA Dcs2WNaYa8aNx18H0G3UkRSgzp6fyHR+TwUjaJD8Zo/LSac3aIf2dzbueo1o8GykKQH9 yLOU59I21i0YzCciWb2m/gMd2sw4T5NOm/K3WxtPgMF4MmAi1vQPVcrs71QsdW+D1KQJ Gk8dTYkT6fgWbDHc6HuPP4BwzkNvGpimombF9DdD5N7pFxAnF8LKMvWH5AI/71s6HLGT F6PQ== X-Gm-Message-State: APt69E0VvlrnI6J4yABJZ4LweDd9eiv7XrrbYgD/vjYNrqM9j10fsN9d cS6kKJERQ7FoJ8dx/lv8XzjCKFviBVYstZBZOUXb8g== X-Google-Smtp-Source: AAOMgpfjGf6Ofx1xjkUnOYZ62zpqNaoFxaaVE7YAkj2TiLu+lN5UjQPKAmfZ+TTD277YRiDm8UHs5ZpY1iLlw2VaBDQ= X-Received: by 2002:a24:7c57:: with SMTP id a84-v6mr4758835itd.134.1530795884744; Thu, 05 Jul 2018 06:04:44 -0700 (PDT) MIME-Version: 1.0 From: Sudhanshu Saurav Date: Thu, 5 Jul 2018 18:34:33 +0530 Message-ID: Subject: Regarding Gsoc Project Status To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 13:04:46 -0000 Hi Everyone! This is Sudhanshu Saurav (capreyon) working on Google Summer of Code 2018 Project "Verification of Bhyve Instruction emulation" is nicely going on. After the mid-term evaluation, I will able to use XED as a decoder for decoding bhyve Instructions with the help of Tests. Till now tests of the following Instructions are written, decoded and verified by XED. > And r/m16, imm16 > And r/m8, imm8 > And r/m16/32, imm8 > Mov r/m8, r8 > Mov r/m16/32, r16/32 > Mov eax, moffs16/32 > Mov moffs16/32, eax > Mov r/m16, imm16 > Mov r/m32, imm32 > Mov r/m8, imm8 > MovZX r16, r/m8 (mov with zero extend) > MovZX r32, r/m8 > Mov ZX r16/32, r/m16 > MovSX r16, r/m8 (mov with sign-extension) > MovSX r32, r/m8 > MovSB m8, m8 (mov data from string to string) > MovSW m8, m8 > MovSD m32, m32 > OR r16/32, r/m 16/32 > Cmp r/m16/32, r16/32 > Cmp r16/32, r/m16/32 Now tests for Instructions STOS, SUB, Group1, BITTEST are left which will completed in this week or probably next week. After that I try to Automate it by writing make file, configure etc. You can see my progress on https://github.com/Capreyon/Test_harness Thanks and Regards, Sudhanshu From owner-soc-status@freebsd.org Thu Jul 5 20:26:04 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA704102D6B0 for ; Thu, 5 Jul 2018 20:26:03 +0000 (UTC) (envelope-from mateus@mateus.tech) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0114.outbound.protection.outlook.com [104.47.32.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA3875045; Thu, 5 Jul 2018 20:26:02 +0000 (UTC) (envelope-from mateus@mateus.tech) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mateusrodrigueslive.onmicrosoft.com; s=selector1-mateus-tech; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OLl23vVo75qzv//jmbbNe60ULvBEWdVB5eHZHrs41Fo=; b=X1+OCM4/7lByaKB8UucvxCBOBhSuc37i3Ga5TSM8YxQnPuaNIYTbY14FYrDfK4EHoaLJkV81Tizy6k2k3NK6T5PUq9eD5vBv5iEZ+/Pn+Hp0OUfRQjYlsWM2wpQkd1V4vGwLZTFrrEHhV1Tqwd/D7Ts7vUBivX4wQmh0ghuYLaI= Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM (10.171.53.11) by CP2P152MB0770.LAMP152.PROD.OUTLOOK.COM (10.171.28.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.20; Thu, 5 Jul 2018 20:26:00 +0000 Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::d54c:8928:d835:d021]) by CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::d54c:8928:d835:d021%8]) with mapi id 15.20.0930.016; Thu, 5 Jul 2018 20:25:59 +0000 From: Mateus Rodrigues de Morais To: "soc-status@freebsd.org" CC: David Naylor , "theraven@freebsd.org" Subject: [Week 7] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Topic: [Week 7] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Index: AQHUFJ0jGqXBHmm2XUus9RkzTYZpFA== Date: Thu, 5 Jul 2018 20:25:59 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mateus@mateus.tech; x-originating-ip: [2804:54:18d0:c900:93:9022:7080:ad81] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CP2P152MB0770; 7:4KQz/vAhuN62SpDgklr8BYPBvJxZG7Enek9JRXzl4baHsBjUUFVeOT4HYW1o7lbdfAoTH6IhxZy+tmp7X6BXFqewKPRCV16Df9sOi9wwJ+h4osO2G9KdhE9eSAYHOyGShiQ6RLvztutRb7mp+0umNGwHA+uQigDycdK70qTWvN2ts8jlzN8pf2BLlSDEfGazzS0xGFN3anufFuxAG8kbCO05A7wn/4f6rMWFNt4zrSnmLxii7AcH896hCuGyve/y x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f49e88a9-ecd0-4879-b5c0-08d5e2b58584 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989117)(5600053)(711020)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:CP2P152MB0770; x-ms-traffictypediagnostic: CP2P152MB0770: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(166708455590820)(21748063052155)(17755550239193); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231254)(2017060905117)(944501410)(52105095)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123558120)(2016111802025)(20161123564045)(6072148)(6043046)(201708071742011)(7699016); SRVR:CP2P152MB0770; BCL:0; PCL:0; RULEID:; SRVR:CP2P152MB0770; x-forefront-prvs: 0724FCD4CD x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(396003)(346002)(136003)(376002)(366004)(47530400004)(199004)(189003)(8676002)(53936002)(476003)(2351001)(256004)(54906003)(4326008)(25786009)(6916009)(5640700003)(486006)(6116002)(6436002)(55016002)(9686003)(6306002)(54896002)(2900100001)(68736007)(450100002)(966005)(81156014)(97736004)(478600001)(45080400002)(81166006)(14454004)(99286004)(8936002)(102836004)(52230400001)(46003)(106356001)(2501003)(2906002)(5250100002)(7696005)(7736002)(6506007)(86362001)(74316002)(33656002)(105586002)(316002)(5660300001)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:CP2P152MB0770; H:CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mateus.tech does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1hdoar0emEapU035wJecsUONGR5I9nDmXnRHnKNkRvTS68HM+DxfFHP5uOhBMrADdA4BJaxsBEr5ES3j0Q4fIx86xXi1BS5pJ78qz0Yls4lhmdsZ3oO8DXmiAhVGSO4nNkBnUCTlx7mrsu3NM2eCAXGnXHSdqdLEIcoMb28UW0+w0PthFp85FYTVnhag8b6ibUuyLNvwigmYit/2b+czuFMLxHm/zm3sNMm0d8n26N8Ct9cluRU6UMj05bj7xKNzgyY9LdcmVZOtfepBeK3qiN6+68yFCU/aLEaR21YxM8yXYAceaeJvreAmhl0eKXlbkQye4d1cRgln9jCXBWPWkdz41HJtZVTlWHQylbYvXkc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: mateus.tech X-MS-Exchange-CrossTenant-Network-Message-Id: f49e88a9-ecd0-4879-b5c0-08d5e2b58584 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2018 20:25:59.7943 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3cb2d6d7-8d6e-44b8-954d-3085729d2030 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CP2P152MB0770 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 20:26:04 -0000 During this past week I investigated the misbehaviors I encountered in Powe= rShell running on FreeBSD. I opened an issue [1] in the PowerShell GitHub r= epository, fixed all libpsl-native tests that were failing and submitted a = PR [2] and went over some of the CoreFX tests that were failing. It turns out it was a problem in the getmntinfo() function inside a CoreFX = native function that was supposed to return all mount points in the system = but wasn=92t returning any. I fixed the code and, as a result, two out of t= hree identified misbehaviors in PowerShell were fixed =96 now I=92m able to= navigate back and forth in the file system and the command prompt correctl= y shows the current working directory =96 and some of the CoreFX tests star= ted passing. The PR for this fix should be up soon, the code is in my CoreF= X fork [3]. The last misbehavior identified in PowerShell so far, which is the repeated= characters being shown, is still under investigation. [1]: https://github.com/PowerShell/PowerShell/issues/7207 [2]: https://github.com/PowerShell/PowerShell-Native/pull/2 [3]: https://github.com/mateusrodrigues/corefx/tree/freebsd-tests Best, -- Mateus de Morais mateus.tech