https://github.com/TrungNguyen1909/qemu-t8030 Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} TrungNguyen1909 / qemu-t8030 Public * Notifications * Fork 25 * Star 322 iPhone 11 emulated on QEMU View license 322 stars 25 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Discussions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Discussions * Projects * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @pm215 @TrungNguyen1909 pm215 and TrungNguyen1909 target/arm: Correct calculation of tlb range invalidate length ... a70daf0 Mar 2, 2022 target/arm: Correct calculation of tlb range invalidate length The calculation of the length of TLB range invalidate operations in tlbi_aa64_range_get_length() is incorrect in two ways: * the NUM field is 5 bits, but we read only 4 bits * we miscalculate the page_shift value, because of an off-by-one error: TG 0b00 is invalid TG 0b01 is 4K granule size == 4096 == 2^12 TG 0b10 is 16K granule size == 16384 == 2^14 TG 0b11 is 64K granule size == 65536 == 2^16 so page_shift should be (TG - 1) * 2 + 12 Thanks to the bug report submitter Cha HyunSoo for identifying both these errors. Fixes: 84940ed ("target/arm: Add support for FEAT_TLBIRANGE") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/734 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Alex Bennee Reviewed-by: Philippe Mathieu-Daude Message-id: 20211130173257.1274194-1-peter.maydell@linaro.org a70daf0 Git stats * 89,834 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Merge tag 'v6.1.0' Sep 3, 2021 .gitlab-ci.d gitlab: skip many more targets in windows cross builds Aug 11, 2021 .gitlab/issue_templates GitLab: Add "Feature Request" issue template. Jun 25, 2021 accel tcg: Increase NB_MMU_MODES limit to 32 Mar 3, 2022 audio audio: Never send migration section Aug 10, 2021 authz configure, meson: convert pam detection to meson Jun 25, 2021 backends vhost: Add Error parameter to vhost_dev_init() Jun 30, 2021 block block/export/fuse.c: fix musl build Aug 9, 2021 bsd-user tcg/plugins: implement a qemu_plugin_user_exit helper Jul 23, 2021 capstone @ f8b1b83 capstone: Update to upstream "next" branch Oct 3, 2020 chardev chardev: report a simpler error about duplicated id Aug 5, 2021 configs Kconfig and meson.build Sep 12, 2021 contrib plugins/cache: Fixed "function decl. is not a prototype" warnings Jul 23, 2021 crypto crypto: Use nettle and builtin backends only. Sep 11, 2021 disas Hexagon (disas/hexagon.c) fix memory leak for early exit cases Aug 12, 2021 docs docs/about/removed-features: Document removed machines from older QEM... Aug 11, 2021 dtc @ 85e5d83 Makefile: dtc: update, build the libfdt target Jun 16, 2020 dump Do not include cpu.h if it's not really necessary May 2, 2021 ebpf ebpf: Added eBPF RSS loader. Jun 4, 2021 fpu softfloat: Use _Generic instead of QEMU_GENERIC Jun 16, 2021 fsdev meson: Declare have_virtfs_proxy_helper in main meson.build Jan 23, 2021 gdb-xml target/riscv: Remove built-in GDB XML files for CSRs Jan 16, 2021 hw T8030: boot display Mar 3, 2022 include T8030: boot display Mar 3, 2022 io io: use GDateTime for formatting timestamp for websock headers Jul 14, 2021 libdecnumber qemu/: fix some comment spelling errors Sep 17, 2020 linux-headers linux-headers: Update Jul 9, 2021 linux-user linux-user/elfload: byteswap i386 registers when dumping core Aug 5, 2021 meson @ 776acd2 submodules: bump meson to 0.55.3 Oct 17, 2020 migration migration: clear the memory region dirty bitmap when skipping free pages Jul 26, 2021 monitor chardev: mark explicitly first argument as poisoned Aug 5, 2021 nbd nbd/server: Mark variable unused in nbd_negotiate_meta_queries Jul 26, 2021 net chardev: mark explicitly first argument as poisoned Aug 5, 2021 pc-bios pseries: Update SLOF firmware image Jul 13, 2021 plugins plugins: Fix physical address calculation for IO regions Jul 23, 2021 po configure: move gettext detection to meson.build Jan 2, 2021 python python: Configure tox to skip missing interpreters Jul 13, 2021 qapi qapi/machine.json: Remove zero value reference from SMPConfiguration ... Aug 17, 2021 qga qga: fix leak of base64 decoded data on command error Aug 10, 2021 qobject qobject: braces {} are necessary for all arms of this statement Feb 4, 2021 qom qom: use correct field name when getting/setting alias properties Jul 23, 2021 replay replay: notify CPU on event Apr 1, 2021 roms pseries: Update SLOF firmware image Jul 13, 2021 scripts Merge tag 'v6.1.0' Sep 3, 2021 scsi docs: fix references to docs/devel/tracing.rst Jun 2, 2021 semihosting Do not include cpu.h if it's not really necessary May 2, 2021 setup-ios Update documentation Aug 14, 2021 slirp @ a88d9ac Update libslirp to v4.6.1 Aug 3, 2021 softmmu softmmu/physmem: fix wrong assertion in qemu_ram_alloc_internal() Aug 17, 2021 storage-daemon storage-daemon: Add missing build dependency to the vhost-user-blk-test Aug 11, 2021 stubs meson: fix condition for io_uring stubs Jul 14, 2021 subprojects/libvhost-user libvhost-user: fix -Werror=format= warnings with __u64 fields Jul 29, 2021 target target/arm: Correct calculation of tlb range invalidate length Mar 3, 2022 tcg accel/tcg: Add CF_NO_GOTO_TB and CF_NO_GOTO_PTR Jul 21, 2021 tests tests/qtest/vhost-user-blk-test: Check whether qemu-storage-daemon is... Aug 11, 2021 tools virtiofsd: Add missing newline in error message Jul 9, 2021 trace trace: Fold mem-internal.h into mem.h Jul 21, 2021 ui ui/sdl2: Check return value from g_setenv() Aug 10, 2021 util util: fix abstract socket path copy Aug 4, 2021 .cirrus.yml cirrus: delete FreeBSD and macOS jobs Jul 14, 2021 .dir-locals.el Add .dir-locals.el file to configure emacs coding style Oct 8, 2015 .editorconfig .editorconfig: update the automatic mode setting for Emacs Mar 10, 2021 .exrc qemu: add .exrc Sep 7, 2012 .gdbinit .gdbinit: load QEMU sub-commands when gdb starts Jun 7, 2017 .gitattributes maint: Tell git that *.py files should use python diff hunks Feb 16, 2021 .gitignore gitignore: Update with some filetypes Jul 23, 2021 .gitlab-ci.yml docs: Document GitLab custom CI/CD variables Jul 29, 2021 .gitmodules gitmodules: use GitLab repos instead of qemu.org Feb 9, 2021 .gitpublish Add a git-publish configuration file Mar 5, 2018 .mailmap MAINTAINERS: Name and email address change Aug 10, 2021 .patchew.yml scripts/checkpatch: roll diff tweaking into checkpatch itself Jun 25, 2021 .readthedocs.yml readthedocs: build with Python 3.6 Oct 5, 2020 .travis.yml hw/usb/ccid: remove references to NSS Jul 14, 2021 BUILD.md BUILD.md: update build instruction Mar 3, 2022 COPYING COPYING: update from FSF Oct 12, 2008 COPYING.LIB COPYING.LIB: Synchronize the LGPL 2.1 with the version from gnu.org Jan 30, 2019 Kconfig meson: Introduce target-specific Kconfig Jul 9, 2021 Kconfig.host multi-process: Add config option for multi-process QEMU Feb 9, 2021 LICENSE tcg/LICENSE: Remove out of date claim about TCG subdirectory licensing Nov 11, 2019 MAINTAINERS MAINTAINERS: update virtio-gpu entry. Aug 11, 2021 Makefile Merge tag 'v6.1.0' Sep 3, 2021 README.rst Update documentation to refer to new location for issues Jun 21, 2021 VERSION.QEMU Merge tag 'v6.1.0' Sep 3, 2021 block.c block: Add option to use driver whitelist even in tools Jul 20, 2021 blockdev-nbd.c block/nbd: Use qcrypto_tls_creds_check_endpoint() Jun 29, 2021 blockdev.c block: Make blockdev-reopen stable API Jul 9, 2021 blockjob.c progressmeter: protect with a mutex Jun 25, 2021 configure Merge tag 'v6.1.0' Sep 3, 2021 cpu.c accel/tcg: Record singlestep_enabled in tb->cflags Jul 21, 2021 cpus-common.c overall/alpha tcg cpus|hppa: Fix Lesser GPL version number Nov 15, 2020 disas.c Do not include cpu.h if it's not really necessary May 2, 2021 gdbstub.c gdbstub: tidy away reverse debugging check into function May 25, 2021 gitdm.config contrib/gitdm: add a new interns group-map for GSoC/Outreachy work Jul 23, 2021 hmp-commands-info.hx monitor/tcg: move tcg hmp commands to accel/tcg, register them dynami... Jul 9, 2021 hmp-commands.hx netdev: add more commands to preconfig mode Jun 11, 2021 iothread.c iothread: add aio-max-batch parameter Jul 21, 2021 job-qmp.c progressmeter: protect with a mutex Jun 25, 2021 job.c progressmeter: protect with a mutex Jun 25, 2021 memory_ldst.c.inc exec/memory_ldst: Use correct type sizes May 26, 2021 meson.build Merge branch 'sprr-dev' Sep 11, 2021 meson_options.txt configure, meson: convert libxml2 detection to meson Jul 6, 2021 module-common.c all: Clean up includes Feb 4, 2016 os-posix.c remove qemu-options* from root directory May 26, 2021 os-win32.c remove qemu-options* from root directory May 26, 2021 page-vary-common.c exec: Build page-vary-common.c with -fno-lto Mar 24, 2021 page-vary.c exec: Build page-vary-common.c with -fno-lto Mar 24, 2021 qemu-bridge-helper.c qemu-bridge-helper: relocate path to default ACL Sep 30, 2020 qemu-edid.c qemu-edid: use qemu_edid_size() May 10, 2021 qemu-img-cmds.hx qemu-img: add support for rate limit in qemu-img convert Oct 27, 2020 qemu-img.c qemu-img: Add --skip-broken-bitmaps for 'convert --bitmaps' Jul 21, 2021 qemu-io-cmds.c block: Acquire AioContexts during bdrv_reopen_multiple() Jul 9, 2021 qemu-io.c monitor: hmp_qemu_io: acquire aio contex, fix crash May 14, 2021 qemu-keymap.c Include qemu-common.h exactly where needed Jun 12, 2019 qemu-nbd.c qemu-nbd: Use qcrypto_tls_creds_check_endpoint() Jun 29, 2021 qemu-options.hx qemu-options.hx: Fix formatting of -machine memory-backend option Jul 27, 2021 qemu.nsi Contiune renaming VERSION to VERSION.QEMU May 26, 2021 qemu.sasl sasl: remove comment about obsolete kerberos versions Jun 14, 2021 replication.c replication: move include out of root directory May 26, 2021 thunk.c overall usermode...: Fix Lesser GPL version number Nov 15, 2020 trace-events cpu: Add breakpoint tracepoints Jul 10, 2021 version.rc configure: remove CONFIG_FILEVERSION and CONFIG_PRODUCTVERSION Jan 2, 2021 View code QEMU README Documentation Building Submitting patches Bug reporting ChangeLog Contact README.rst QEMU README QEMU is a generic and open source machine & userspace emulator and virtualizer. QEMU is capable of emulating a complete machine in software without any need for hardware virtualization support. By using dynamic translation, it achieves very good performance. QEMU can also integrate with the Xen and KVM hypervisors to provide emulated hardware while allowing the hypervisor to manage the CPU. With hypervisor support, QEMU can achieve near native performance for CPUs. When QEMU emulates CPUs directly it is capable of running operating systems made for one machine (e.g. an ARMv7 board) on a different machine (e.g. an x86_64 PC board). QEMU is also capable of providing userspace API virtualization for Linux and BSD kernel interfaces. This allows binaries compiled against one architecture ABI (e.g. the Linux PPC64 ABI) to be run on a host using a different architecture ABI (e.g. the Linux x86_64 ABI). This does not involve any hardware emulation, simply CPU and syscall emulation. QEMU aims to fit into a variety of use cases. It can be invoked directly by users wishing to have full control over its behaviour and settings. It also aims to facilitate integration into higher level management layers, by providing a stable command line interface and monitor API. It is commonly invoked indirectly via the libvirt library when using open source applications such as oVirt, OpenStack and virt-manager. QEMU as a whole is released under the GNU General Public License, version 2. For full licensing details, consult the LICENSE file. Documentation Documentation can be found hosted online at https://www.qemu.org/ documentation/. The documentation for the current development version that is available at https://www.qemu.org/docs/master/ is generated from the docs/ folder in the source tree, and is built by Sphinx < https://www.sphinx-doc.org/en/master/>_. Building QEMU is multi-platform software intended to be buildable on all modern Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety of other UNIX targets. The simple steps to build QEMU are: mkdir build cd build ../configure make Additional information can also be found online via the QEMU website: * https://qemu.org/Hosts/Linux * https://qemu.org/Hosts/Mac * https://qemu.org/Hosts/W32 Submitting patches The QEMU source code is maintained under the GIT version control system. git clone https://gitlab.com/qemu-project/qemu.git When submitting patches, one common approach is to use 'git format-patch' and/or 'git send-email' to format & send the mail to the qemu-devel@nongnu.org mailing list. All patches submitted must contain a 'Signed-off-by' line from the author. Patches should follow the guidelines set out in the style section of the Developers Guide. Additional information on submitting patches can be found online via the QEMU website * https://qemu.org/Contribute/SubmitAPatch * https://qemu.org/Contribute/TrivialPatches The QEMU website is also maintained under source control. git clone https://gitlab.com/qemu-project/qemu-web.git * https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/ A 'git-publish' utility was created to make above process less cumbersome, and is highly recommended for making regular contributions, or even just for sending consecutive patch series revisions. It also requires a working 'git send-email' setup, and by default doesn't automate everything, so you may want to go through the above steps manually for once. For installation instructions, please go to * https://github.com/stefanha/git-publish The workflow with 'git-publish' is: $ git checkout master -b my-feature $ # work on new commits, add your 'Signed-off-by' lines to each $ git publish Your patch series will be sent and tagged as my-feature-v1 if you need to refer back to it in the future. Sending v2: $ git checkout my-feature # same topic branch $ # making changes to the commits (using 'git rebase', for example) $ git publish Your patch series will be sent with 'v2' tag in the subject and the git tip will be tagged as my-feature-v2. Bug reporting The QEMU project uses GitLab issues to track bugs. Bugs found when running code built from QEMU git or upstream released sources should be reported via: * https://gitlab.com/qemu-project/qemu/-/issues If using QEMU via an operating system vendor pre-built binary package, it is preferable to report bugs to the vendor's own bug tracker first. If the bug is also known to affect latest upstream code, it can also be reported via GitLab. For additional information on bug reporting consult: * https://qemu.org/Contribute/ReportABug ChangeLog For version history and release notes, please visit https:// wiki.qemu.org/ChangeLog/ or look at the git history for more detailed information. Contact The QEMU community can be contacted in a number of ways, with the two main methods being email and IRC * mailto:qemu-devel@nongnu.org * https://lists.nongnu.org/mailman/listinfo/qemu-devel * #qemu on irc.oftc.net Information on additional methods of contacting the community can be found online via the QEMU website: * https://qemu.org/Contribute/StartHere About iPhone 11 emulated on QEMU Topics emulator ios hypervisor qemu Resources Readme License View license Stars 322 stars Watchers 21 watching Forks 25 forks Contributors 142 * @pm215 * @TrungNguyen1909 * @philmd * @rth7680 * @stsquad * @berrange * @kraxel * @huth * @birkelund * @bonzini * @lbmeng + 131 contributors Languages * C 79.6% * C++ 13.2% * Python 3.6% * Shell 1.7% * Assembly 0.5% * Meson 0.4% * Other 1.0% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.