No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Collins f9fd5b93e0 clk: qcom: clk-rcg2: correct set rate handling for FORCE_ENABLE_RCG
Currently, if clk_set_rate() is called on a disabled clock that
has flags = FORCE_ENABLE_RCG, the rate is neither physically set
nor properly cached in software.  This means that when the clock
is later enabled, its rate will not be what was previously
requested.

Change the handling of FORCE_ENABLE_RCG so that all clk_set_rate()
calls are respected regardless of a clock's enable state.  In
doing so, ensure that FORCE_ENABLE_RCG and enable_safe_config are
supported both individually and together.

Implement the following behavior:

enable_safe_config == true:
enable   - configure the RCG according to the cached current_freq
disable  - configure the RCG for CXO (safe) source
set_rate - (if prepared) configure the RCG for the requested rate
           (if not prepared) cache the rate in current_freq

flags | FORCE_ENABLE_RCG:
enable   - set ROOT_EN=1 to force the RCG to be enabled
disable  - set ROOT_EN=0
set_rate - configure the RCG for the requested rate;
           if disabled, then set ROOT_EN=1 before the
           configuration is changed and ROOT_EN=0 after

enable_safe_config && (flags | FORCE_ENABLE_RCG):
enable   - set ROOT_EN=1 and configure the RCG according to the
           cached current_freq
disable  - configure the RCG for CXO source and set ROOT_EN=0
set_rate - (if prepared) configure the RCG for the requested rate
           (if not prepared) cache the rate in current_freq

Change-Id: Ib7442e4a4b572ae7c567929044410e09a9886c76
Signed-off-by: David Collins <collinsd@codeaurora.org>
2019-08-29 16:05:07 -07:00
arch arm64: defconfig: Enable llcc perfmon drivers 2019-08-23 11:53:28 +05:30
block block, bfq: handle NULL return value by bfq_init_rq() 2019-08-08 07:31:50 -06:00
certs Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs" 2019-07-10 18:43:43 -07:00
crypto USB / PHY patches for 5.3-rc1 2019-07-11 15:40:06 -07:00
Documentation Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina 2019-08-15 09:23:09 -07:00
drivers clk: qcom: clk-rcg2: correct set rate handling for FORCE_ENABLE_RCG 2019-08-29 16:05:07 -07:00
fs Linux 5.3-rc4 2019-08-12 07:29:49 +02:00
include Merge "drivers: qcom: cmd-db: Report if command DB is initialized as standalone" 2019-08-27 16:12:16 -07:00
init Merge remote-tracking branch 'remotes/origin/tmp-1a9d915' into msm-lahaina 2019-08-02 10:55:28 -07:00
ipc Linus 5.3-rc1 2019-07-23 16:21:59 -07:00
kernel Merge "trace: rtb: add msm_rtb tracing" 2019-08-26 12:24:53 -07:00
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-06 17:11:59 -07:00
LICENSES
mm Linux 5.3-rc4 2019-08-12 07:29:49 +02:00
net Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina 2019-08-15 09:23:09 -07:00
samples treewide: remove SPDX "WITH Linux-syscall-note" from kernel-space headers again 2019-07-25 11:05:10 +02:00
scripts Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina 2019-08-15 09:23:09 -07:00
security Merge 5.3-rc3 into android-mainline 2019-08-05 05:21:19 +00:00
sound sound fixes for 5.3-rc4 2019-08-09 09:21:27 -07:00
techpack techpack: add tech package support 2019-06-18 15:04:24 -07:00
tools Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-08-10 16:19:02 -07:00
usr kbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header test 2019-07-23 10:45:46 +02:00
virt KVM/arm fixes for 5.3, take #2 2019-08-09 16:53:50 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina 2019-08-15 09:23:09 -07:00
.mailmap MAINTAINERS: Update my email address 2019-07-22 14:57:50 +01:00
abi_gki_aarch64.xml ABI file update for 5.3-rc4 2019-08-12 09:19:02 +02:00
abi_gki_aarch64_9855ec2fd422.xml ABI: aarch64: Update ABI snapshot based on v5.3-rc4 2019-08-15 09:24:20 -07:00
build.config.cuttlefish.aarch64 ANDROID: build configs: switch prebuilt path location 2019-07-23 15:15:32 +01:00
build.config.cuttlefish.x86_64 ANDROID: build configs: switch prebuilt path location 2019-07-23 15:15:32 +01:00
build.config.gki.aarch64 ANDROID: build configs: switch prebuilt path location 2019-07-23 15:15:32 +01:00
build.config.gki.x86_64 ANDROID: build configs: switch prebuilt path location 2019-07-23 15:15:32 +01:00
COPYING
CREDITS Remove references to dead website. 2019-07-19 12:22:04 -07:00
Kbuild
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS Char/misc fixes for 5.3-rc4 2019-08-10 12:24:20 -07:00
Makefile Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina 2019-08-15 09:23:09 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.